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=oldreviewedpages (or)
- 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 changes pending review.
Parameters:
- orstart
Start listing at this timestamp.
- Type: timestamp (allowed formats)
- orend
Stop listing at this timestamp.
- Type: timestamp (allowed formats)
- ordir
In which direction to enumerate:
- newer
- List oldest first. Note: orstart has to be before orend.
- older
- List newest first (default). Note: orstart has to be later than orend.
- One of the following values: newer, older
- Default: newer
- ormaxsize
Maximum character count change size.
- Type: integer
- The value must be no less than 0.
- orfilterwatched
How to filter for pages on your watchlist.
- One of the following values: all, watched
- Default: all
- ornamespace
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
- orcategory
Show pages only in the given category.
- orfilterredir
How to filter for redirects.
- One of the following values: all, nonredirects, redirects
- Default: all
- orlimit
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 pending unreviewed changes
- api.php?action=query&list=oldreviewedpages&ornamespace=0 [open in sandbox]
- Show info about some old reviewed pages
- api.php?action=query&generator=oldreviewedpages&gorlimit=4&prop=info [open in sandbox]