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=allcategories (ac)
- Ta modul zahteva pravice branja.
- This module can be used as a generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate all categories.
Specifični parametri:
Na voljo so tudi drugi splošni parametri.
- acfrom
The category to start enumerating from.
- accontinue
Ko bo na voljo več rezultatov, uporabite to za nadaljevanje. Podrobnejše informacije o nadaljevanju poizvedb lahko najdete na mediawiki.org.
- acto
The category to stop enumerating at.
- acprefix
Search for all category titles that begin with this value.
- acdir
Direction to sort in.
- One of the following values: ascending, descending
- Privzeto: ascending
- acmin
Only return categories with at least this many members.
- Vtipkajte: celo število
- acmax
Only return categories with at most this many members.
- Vtipkajte: celo število
- aclimit
How many categories to return.
- Type: integer or max
- Vrednost mora biti med 1 in 500.
- Privzeto: 10
- acprop
Katere lastnosti naj se pridobijo:
- size
- Adds number of pages in the category.
- hidden
- Tags categories that are hidden with
__HIDDENCAT__
.
- Values (separate with | or alternative): hidden, size
- Default: (empty)
Zgleda:
- 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]