Manual:Hooks/MarkPatrolledComplete

From MediaWiki.org
Jump to: navigation, search
MarkPatrolledComplete
Available from version 1.6.0
Called after an edit is marked patrolled

*Define function:
function fnMyHook( $rcid, $user, $wcOnlySysopsCanPatrol ) { ... }

*Attach hook:
$wgHooks['MarkPatrolledComplete'][] = 'MyExtensionHooks::someExample';
Called from: RecentChange.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:MarkPatrolledComplete extensions.


[edit] Details

  • $rcid: ID of the revision marked as patrolled
  • $user: user (object) who marked the edit patrolled
  • $wcOnlySysopsCanPatrol: config setting indicating whether the user must be a sysop to patrol the edit
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox