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=configuredpages (cp)
- This module requires read rights.
- This module can be used as a generator.
- Source: Flagged Revisions
- License: GPL-2.0-or-later
Enumerate all pages that have custom review configurations.
Parameters:
- cpstart
Start listing at this page ID.
- Type: integer
- cpend
Stop listing at this page ID.
- Type: integer
- 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 of the following values: newer, older
- Default: newer
- cpnamespace
The namespaces to enumerate.
- Values (separate with | or alternative): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 420, 421, 430, 431, 1198, 1199
- To specify all values, use *.
- cpdefault
The default page view version.
- One of the following values: latest, stable
- cpautoreview
Review/autoreview restriction level.
- One of the following values: none, sysop
- cplimit
How many total pages to return.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
Examples:
- Show a list of pages with custom review configurations
- api.php?action=query&list=configuredpages&cpnamespace=0 [open in sandbox]
- Get some info about pages with custom review configurations
- api.php?action=query&generator=configuredpages&gcplimit=4&prop=info [open in sandbox]