API:Deletedrevs


 * NOTE: This module's behavior was changed significantly in MediaWiki 1.15. Some of the features described here are not available in MediaWiki 1.14 and earlier.

List deleted revisions. You need the  right to use this module. This module cannot be used as a generator. This module can be used in one of three modes: Some parameters are restricted to certain modes only, and are marked accordingly. For instance, a parameter marked (1,2) only applies to modes 1 and 2 and is ignored in mode 3.
 * 1) List deleted revisions for the given titles (through   or a generator), sorted by timestamp
 * 2) List deleted contributions for a certain user, sorted by timestamp (  set, no titles given)
 * 3) List all deleted revisions in a certain namespace (  not set, no titles given)

Parameters

 * : Maximum number of revisions to list (10 by default)
 * : Only list revisions by this user
 * : Don't list revisions by this user
 * : The timestamp to start listing from (optional). If not specified, all revisions before drend will be listed. (1,2)
 * : The timestamp to end listing at (optional). If not specified, all revisions later than drstart will be listed. (1,2)
 * : Direction to list in. (1,2)
 * : List newest revisions first (default). Note: drstart has to be later than drend.
 * : List oldest revisions first. Note: drstart has to be before drend.
 * : List all deleted revisions in this namespace (3)
 * : List only one revision for each page (3)
 * : Start listing at this title (3)
 * : When more results are available, use this to continue (3)
 * : Which properties to get
 * : Revision ID
 * : User who made the edit (default)
 * : Edit comment (default)
 * : Whether the edit was minor
 * : Revision size
 * : Revision content. You need the  right to use this option
 * : Undelete token

Error Codes

 * code: drpermissiondenied
 * info: You don't have permission to view deleted revision information
 * On most wikis, viewing deleted revisions is restricted to sysops, but other wikis may have stricter rules.
 * code: drpermissiondenied
 * info: You don't have permission to view deleted revision content