API:Revisions

GET request to obtain revision information of page(s).

GET request
Request above is to obtain revision data of pages with titles and

GET request
Request above is to obtain data for the last five revisions of the page  made after the 1st of July 2018, i.e. 2018-07-01 excluding changes made by the user SSethi (WMF)

GET request
Request above is to obtain revision data of the page , following any redirects.

Since  redirects to , it will actually return revision data for .

Additional notes

 * Pages are specified either by   or   parameter. Individual revisions are specified by   parameter.  See <tvar|1></>.


 * can be specified with the <tvar|2> </> parameter. When the parameter is not present, the API will only return information about the main slot.


 * When using parameters marked as (enum), <tvar|1> </> must have only one title listed.


 * This module couldn't be used as a generator prior to version 1.25.


 * Diff functionality of this module was deprecated in version 1.30 and got moved to <tvar|1></>.


 * The code for this query is located on the git repository at <tvar|1> </>.

Parameter history

 * v1.32: Introduced <tvar|1>, </> Deprecated <tvar|1> </>
 * v1.30: Deprecated <tvar|1>, , , , , , </>
 * v1.27: Introduced <tvar|1> </>
 * v1.26: Introduced <tvar|1> </> Deprecated <tvar|1> </>
 * v1.24: Deprecated <tvar|1> </>
 * v1.21: Introduced <tvar|1>, </>
 * v1.19: Introduced <tvar|1>, </>
 * v1.17: Introduced <tvar|1>, </>
 * v1.16: Introduced <tvar|1>, , , </>
 * v1.15: Introduced <tvar|1>, </>
 * v1.14: Introduced <tvar|1> </>
 * v1.13: Introduced <tvar|1> </>
 * v1.12: Introduced <tvar|1>, </>
 * v1.11: Introduced <tvar|1>, , , , </>