API:Deletedrevs

Prefix: dr Required Rights: None POST Only? No  List deleted revisions. This module operates in three modes: 1) List deleted revisions for the given title(s), sorted by timestamp 2) List deleted contributions for the given user, sorted by timestamp (no titles specified) 3) List all deleted revisions in the given namespace, sorted by title and timestamp (no titles specified, druser not set) Certain parameters only apply to some modes and are ignored in others. For instance, a parameter marked (1) only applies to mode 1 and is ignored in modes 2 and 3

Parameters

 * continue – When more results are available, use this to continue (3) . Type: string
 * dir – The direction in which to enumerate (1,2).
 * Type: one of newer, older

revid         - Adds the revision id of the deleted revision user          - Adds the user who made the revision userid        - Adds the user id whom made the revision comment       - Adds the comment of the revision parsedcomment - Adds the parsed comment of the revision minor         - Tags if the revision is minor len           - Adds the length of the revision content       - Adds the content of the revision token         - Gives the edit token.
 * end – The timestamp to stop enumerating at (1,2) . Type: timestamp
 * excludeuser – Don't list revisions by this user . Type: user
 * from – Start listing at this title (3) . Type: string
 * limit – The maximum amount of revisions to list . Type: limit
 * namespace – Only list pages in this namespace (3) . Type: namespace
 * prop – Which properties to get
 * Type: one of revid, user, userid, comment, parsedcomment, minor, len</tt>, content</tt>, token</tt>


 * start – The timestamp to start enumerating from (1,2) . Type: timestamp
 * unique – List only one revision for each page (3) . Type: bool
 * user – Only list revisions by this user . Type: user

Errors Codes

 * badcontinue – Invalid continue param. You should pass the original value returned by the previous query.
 * badparams – user and excludeuser cannot be used together.
 * invalidtitle – Bad title ``key''.
 * invalidtitle – Bad title ``title''.
 * permissiondenied – You don't have permission to view deleted revision content.
 * permissiondenied – You don't have permission to view deleted revision information.
 * readapidenied – You need read permission to use this module.