MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

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

Enumerate all series.

Parameters:
acfrom

The series to start enumerating from.

accontinue

When more results are available, use this to continue.

acto

The series to stop enumerating at.

acprefix

Search for all series titles that begin with this value.

acdir

Direction to sort in.

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

Only return series with at least this many members.

Type: integer
acmax

Only return series with at most this many members.

Type: integer
aclimit

How many series to return.

No more than 500 (5,000 for bots) allowed.
Type: integer or max
Default: 10
acprop

Which properties to get:

size
Adds number of pages in the series.
hidden
Tags series that are hidden with __HIDDENCAT__.
Values (separate with | or alternative): size, hidden
Default: (empty)
Examples:
List series with information on the number of pages in each.
api.php?action=query&list=allcategories&acprop=size [open in sandbox]
Retrieve info about the series page itself for series beginning List.
api.php?action=query&generator=allcategories&gacprefix=List&prop=info [open in sandbox]