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
list=gadgets (ga)
- This module requires read rights.
- Source: Gadgets
- License: GPL-2.0-or-later
Parameters:
- gaprop
- ⧼apihelp-query+gadgets-param-prop⧽
- Values (separate with | or alternative): desc, id, metadata
- Default: id|metadata
- gacategories
- ⧼apihelp-query+gadgets-param-categories⧽
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- gaids
- ⧼apihelp-query+gadgets-param-ids⧽
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- gaallowedonly
- ⧼apihelp-query+gadgets-param-allowedonly⧽
- Type: boolean (details)
- gaenabledonly
- ⧼apihelp-query+gadgets-param-enabledonly⧽
- Type: boolean (details)
Examples:
- ⧼apihelp-query+gadgets-example-1⧽
- api.php?action=query&list=gadgets&gaprop=id|desc [open in sandbox]
- ⧼apihelp-query+gadgets-example-2⧽
- api.php?action=query&list=gadgets&gaprop=id|metadata|desc [open in sandbox]
- ⧼apihelp-query+gadgets-example-3⧽
- api.php?action=query&list=gadgets&gacategories=foo [open in sandbox]
- ⧼apihelp-query+gadgets-example-4⧽
- api.php?action=query&list=gadgets&gaids=foo|bar&gaprop=id|desc|metadata [open in sandbox]
- ⧼apihelp-query+gadgets-example-5⧽
- api.php?action=query&list=gadgets&gaenabledonly [open in sandbox]