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=gadgetcategories (gc)
- This module requires read rights.
- Lähde: Gadgets
- Lisenssi: GPL-2.0-or-later
Antaa listan pienoisohjelmien luokista.
Parametrit:
- gcprop
What gadget category information to get:
- name
- Internal category name.
- title
- Category title.
- members
- Number of gadgets in category.
- Values (separate with | or alternative): members, name, title
- Default: name
- gcnames
Haettavien luokkien nimet.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
esimerkkiä:
- Hanki lista olemassa olevista pienoisohjelmaluokista
- api.php?action=query&list=gadgetcategories [avaa hiekkalaatikossa]
- Get all information about categories named "foo" and "bar"
- api.php?action=query&list=gadgetcategories&gcnames=foo|bar&gcprop=name|title|members [avaa hiekkalaatikossa]