MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

list=oldreviewedpages (or)

(main | query | oldreviewedpages)
  • This module requires read rights.
  • This module can be used as a generator.
  • Source: Flagged Revisions
  • License: GPL-2.0+

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.

The value must be no less than 0.
Type: integer
orfilterwatched

How to filter for pages on your watchlist.

One of the following values: watched, all
Default: all
ornamespace

The namespaces to enumerate.

Values (separate with |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Default: 0
orcategory

Show pages only in the given category.

orfilterredir

How to filter for redirects.

One of the following values: redirects, nonredirects, all
Default: all
orlimit

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 pending unreviewed changes
api.php?action=query&list=oldreviewedpages&ornamespace=0
Show info about some old reviewed pages
api.php?action=query&generator=oldreviewedpages&gorlimit=4&prop=info