API:Revisions

Returns revisions for a given page, or the latest revision for each of several pages. Pages are specified either by  or   parameter; individual revisions are specified by   parameter (see API:Query). Slots can be specified with the  parameter; when the parameter is not present, the API will only return information about the main slot. When using parameters marked as (enum),  must have only one title listed. Prior to version 1.25, this module could not be used as a generator. Version 1.30 deprecated the diffing functionality of this module, and moved it to API:Compare. The code for this query is located on the git repository at.

Possible warnings

 * Couldn't diff to r######: content is hidden
 * Thrown when the revision has been hidden (e.g., using RevisionDelete or Oversight).
 * Conversion to XML is supported for wikitext only, title uses content model content model
 * Thrown when the  property or   parameter is used and the content model (as returned by the   property) is not set to
 * Template expansion is supported for wikitext only, title uses content model content model
 * Thrown when the  parameter is used and the content model (as returned by the   property) is not set to
 * The requested format contentFormat is not supported for content model model used by name
 * Thrown when the content of either the current revision or one being diffed to is not supported (typically, not text).
 * Action ' action ' is not allowed for the current user
 * Thrown when a token is requested that the current user isn't allowed to use