MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=askargs

(main | askargs)
  • This module requires read rights.
  • Font : Semantic MediaWiki
  • Licéncia : GPL-2.0-or-later

Mòdul API per fer consultes a Semantic MediaWiki utilitzant el llenguatge Ask com una llista de condicions, impressions i paràmetres.

Paramètres :
Other general parameters are available.
conditions

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

Cal aquest paràmetre.
Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
printouts

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

Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Default: (empty)
parameters

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

Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Default: (empty)
api_version

Format de sortida:

2
Compatibilitat enrere fent servir {} per a la llista de resultats.
3
Format experimental que utilitza [] per a la llista de resultats.
One of the following values: 2, 3
Per defecte: 2
Example:
Example showing how to query pages with a Modification date condition, include Modification date as a printout, and sort results by Modification date in descending order.
api.php?action=askargs&conditions=Modification%20date::%2B&printouts=Modification%20date&parameters=|sort%3DModification%20date|order%3Ddesc [open in sandbox]