MedijaViki API pagalba
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=allcategories (ac)
- This module requires read rights.
- This module can be used as a generator.
- Šaltinis: OOJSPlus
- Licencija: GPL-3.0-only
Enumerate all categories.
Parametrai:
Other general parameters are available.
- acfrom
The category to start enumerating from.
- accontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- acto
The category to stop enumerating at.
- acprefix
Search for all category titles that begin with this value.
- acdir
Rūšiavimo kryptis.
- One of the following values: ascending, descending
- Default: ascending
- acmin
Gražinti tik kategorijas, kuriuose yra bent tiek narių.
- Type: integer
- acmax
Gražinti tik kategorijas, kuriuose yra iki tiek narių.
- Type: integer
- aclimit
Kiek kategorijų gražinti.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- acprop
Kurias savybes gauti:
- size
- Prideda puslapių kategorijoje skaičių.
- hidden
- Pažymi kategorijas, kurios yra paslėptos, su
__HIDDENCAT__
.
- Values (separate with | or alternative): hidden, size
- Numatytasis: (tuščia)
- accontains
Search for all category titles that contain this value.
Pavyzdžiai:
- List categories with information on the number of pages in each.
- api.php?action=query&list=allcategories&acprop=size [open in sandbox]
- Retrieve info about the category page itself for categories beginning List.
- api.php?action=query&generator=allcategories&gacprefix=List&prop=info [open in sandbox]