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.
  • 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
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: sysop, none
cplimit

How many total pages to return.

No more than 500 (5,000 for bots) allowed.
Type: integer or max
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]