API:Patrol

POST request to patrol a page or a revision.

Example
Patrolling a request is a multi-step process:   Log in, via one of the methods described on .   GET a. This token is the same for all pages, but changes at every login.   Send a POST request, with the patrol token, to patrol a request.  

The sample code below covers the final step in detail.

Sample code
patrol.py

Possible errors
In addition to :

Parameter history

 * v1.27: Introduced  
 * v1.22: Introduced  

Additional notes

 * For MediaWiki versions earlier than 1.17, the patrol token is the same the edit token.


 *   rights are required in order to use this module.


 * <tvar|1> </> and <tvar|2> </> may be obtained through <tvar|3></>.