API:Mergehistory

POST request to merge page histories.

Example
Making any POST request is a multi-step process:

  Log in, via one of the methods described on .   GET an 1>Special:MyLanguage/Manual:Edit token|edit/CSRF token as shown here    Send a POST request, with the CSRF token, to merge page histories.  

The sample codes below cover these steps.

Additional notes

 * Special:MergeHistory - a 1>Special:MyLanguage/Help:Special pages|special page that makes it possible to automatically merge the history of two pages. However, this feature is only accessible for users with the   2>Special:MyLanguage/Manual:User rights</>|user right.