MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
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, 102, 103, 106, 107, 108, 109, 112, 113, 114, 115, 274, 275, 828, 829, 1504, 1505, 1506, 1507, 2300, 2301, 2302, 2303, 3000, 3001, 3004, 3005, 3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017, 3018, 3019, 3020, 3021, 3022, 3023, 3024, 3025, 3026, 3027, 3028, 3029, 3030, 3031
- Maximum number of values is 50 (500 for bots).
- 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]