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)

(main | query | configuredpages)
  • 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.

Specific parameters:
Other general parameters are available.
cpstart

Start listing at this page ID.

Type: integer
cpend

Stop listing at this page ID.

Type: integer
cpdir

In which direction to enumerate:

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, 828, 829
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]