MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

list=configuredpages (cp)

(main | query | configuredpages)
  • This module requires read rights.
  • This module can be used as a generator.

Enumerate all pages that have custom review configurations.

Параметры:
cpstart

Start listing at this page ID.

cpend

Stop listing at this page ID.

cpdir

In which direction to enumerate:

newer
List oldest first. Note: cpstart has to be before cpend.
older
List newest first (default). Note: cpstart has to be later than cpend.
One value: newer, older
По умолчанию: newer
cpnamespace

The namespaces to enumerate.

Values (separate with |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 420, 421, 828, 829, 1198, 1199
cpdefault

The default page view version.

One value: latest, stable
cpautoreview

Review/autoreview restriction level.

One value: sysop, none
cplimit

How many total pages to return.

No more than 500 (5000 for bots) allowed.
По умолчанию: 10
Примеры:
Show a list of pages with custom review configurations
api.php?action=query&list=configuredpages&cpnamespace=0
Get some info about pages with custom review configurations
api.php?action=query&generator=configuredpages&gcplimit=4&prop=info