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)

(main | query | allcategories)
  • This module requires read rights.
  • This module can be used as a generator.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Loetle kõik kategooriad.

Parameters:
acfrom

Kategooria, millest alates loetleda.

accontinue

Kui saadaval on rohkem tulemusi, kasuta seda jätkamiseks. Täpsema teabe päringute jätkamise kohta leiad mediawiki.org-ist

acto

Kategooria, milleni loetleda.

acprefix

Search for all category titles that begin with this value.

acdir

Järjestuse suund.

One of the following values: ascending, descending
Default: ascending
acmin

Only return categories with at least this many members.

Type: integer
acmax

Only return categories with at most this many members.

Type: integer
aclimit

Kui palju kategooriaid tagastada.

Type: integer or max
The value must be between 1 and 500.
Default: 10
acprop

Millised atribuudid hankida:

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)
Examples:
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]