MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=askargs

(main | askargs)
  • This module requires read rights.
  • Source: Semantic MediaWiki
  • License: GPL-2.0-or-later

API module to query Semantic MediaWiki using the ask language as list of conditions, printouts and parameters.

Parameters:
conditions

The query conditions, i.e. the requirements for a subject to be included

This parameter is required.
Separate values with |. Maximum number of values is 50 (500 for bots).
printouts

The query printouts, i.e. the properties to show per subject

Separate values with |. Maximum number of values is 50 (500 for bots).
Default: (empty)
parameters

The query parameters, i.e. all non-condition and non-printout arguments

Separate values with |. Maximum number of values is 50 (500 for bots).
Default: (empty)
api_version

Output formatting:

2
Backwards-compatible format using {} for the result list.
3
Experimental format using [] as result list.
One of the following values: 2, 3
Default: 2