API:Patrol

Token
To patrol a request, a patrol token is required. Since MediaWiki 1.17, the patrol token has no longer been the same as the edit token. The patrol token is the same for all pages, but changes at every login. Patrol tokens can be obtained via action=tokens with type=patrol (MW 1.20+), or by using the following method:

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