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
Specific parameters:
Other general parameters are available.
- gaprop
(no description)
- id
- (no description)
- metadata
- (no description)
- desc
- (no description)
- Values (separate with | or alternative): desc, id, metadata
- Default: id|metadata
- gacategories
(no description)
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- gaids
(no description)
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- gaallowedonly
(no description)
- Type: boolean (details)
- gaenabledonly
(no description)
- 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]