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=reviewedpages (rp)
- This module requires read rights.
- This module can be used as a generator.
- Source: Flagged Revisions
- License: GPL-2.0-or-later
Enumerates pages that have a reviewed version.
Parameters:
- rpstart
Start listing at this page ID.
- Type: integer
- rpend
Stop listing at this page ID.
- Type: integer
- rpdir
In which direction to enumerate:
- newer
- List oldest first. Note: rpstart has to be before rpend.
- older
- List newest first (default). Note: rpstart has to be later than rpend.
- One of the following values: newer, older
- Default: newer
- rpnamespace
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 *.
- Default: 0
- rpfilterredir
How to filter for redirects
- One of the following values: all, nonredirects, redirects
- Default: all
- rpfilterlevel
How to filter by quality (0=checked, 1=quality).
- Type: integer
- The value must be between 0 and 2.
- rplimit
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 reviewed pages
- api.php?action=query&list=reviewedpages&rpnamespace=0&rpfilterlevel=0 [open in sandbox]
- Show info about some reviewed pages
- api.php?action=query&generator=reviewedpages&grplimit=4&prop=info [open in sandbox]