Manual:Hooks/MarkPatrolled

Details

 * $rcid: ID of the revision to be marked patrolled
 * $user: the user (object) marking the revision as patrolled
 * $wcOnlySysopsCanPatrol: config setting indicating whether the user needs to be a sysop in order to mark an edit patrolled