MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=gadgets (ga)
- Dieses Modul erfordert Leserechte.
- Quelle: Gadgets
- Lizenz: GPL-2.0-or-later
Parameter:
- gaprop
- ⧼apihelp-query+gadgets-param-prop⧽
- Werte (mit | trennen oder Alternative): desc, id, metadata
- Standard: id|metadata
- gacategories
- ⧼apihelp-query+gadgets-param-categories⧽
- Werte mit | trennen oder Alternative.
- Die maximale Anzahl von Werten beträgt 50 (500 für Clients, die höhere Limits erlauben).
- gaids
- ⧼apihelp-query+gadgets-param-ids⧽
- Werte mit | trennen oder Alternative.
- Die maximale Anzahl von Werten beträgt 50 (500 für Clients, die höhere Limits erlauben).
- gaallowedonly
- ⧼apihelp-query+gadgets-param-allowedonly⧽
- Type: boolean (details)
- gaenabledonly
- ⧼apihelp-query+gadgets-param-enabledonly⧽
- Type: boolean (details)
Beispiele:
- ⧼apihelp-query+gadgets-example-1⧽
- api.php?action=query&list=gadgets&gaprop=id|desc [in Spielwiese öffnen]
- ⧼apihelp-query+gadgets-example-2⧽
- api.php?action=query&list=gadgets&gaprop=id|metadata|desc [in Spielwiese öffnen]
- ⧼apihelp-query+gadgets-example-3⧽
- api.php?action=query&list=gadgets&gacategories=foo [in Spielwiese öffnen]
- ⧼apihelp-query+gadgets-example-4⧽
- api.php?action=query&list=gadgets&gaids=foo|bar&gaprop=id|desc|metadata [in Spielwiese öffnen]
- ⧼apihelp-query+gadgets-example-5⧽
- api.php?action=query&list=gadgets&gaenabledonly [in Spielwiese öffnen]