API:Patrol

Patrolling changes are a feature of MediaWiki. See here for more details.

Token
To patrol a request, a patrol token is required. This token is equal to the edit token and the same for all pages, but changes at every login. A patrol token can be obtained as follows:

Patrolling changes
You can patrol changes using action=patrol.

Parameters

 * : Recentchanges ID to patrol
 * : The token obtained in the previous request. Take care to encode the  as

Possible errors
In addition to the usual stuff:
 * code: nosuchrcid
 * info: There is no change with rcid ``id ''
 * code: patroldisabled
 * info: Patrolling is disabled on this wiki
 * code: noautopatrol
 * info: You don't have permission to patrol your own changes
 * Only users with the  right can do this