MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onMarkPatrolled ( $rcid, $user, $wcOnlySysopsCanPatrol, $auto, &$tags) | |
This hook is called before an edit is marked patrolled. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "MarkPatrolled" to register handlers implementing this interface.
Definition at line 14 of file MarkPatrolledHook.php.
MediaWiki\Hook\MarkPatrolledHook::onMarkPatrolled | ( | $rcid, | |
$user, | |||
$wcOnlySysopsCanPatrol, | |||
$auto, | |||
& | $tags ) |
This hook is called before an edit is marked patrolled.
int | $rcid | ID of the revision to be marked patrolled |
User | $user | User marking the revision as patrolled |
bool | $wcOnlySysopsCanPatrol | Config setting indicating whether the user needs to be a sysop in order to mark an edit patrolled |
bool | $auto | True if the edit is being marked as patrolled automatically |
string[] | &$tags | Tags to be applied to the patrol log entry |
Implemented in MediaWiki\HookContainer\HookRunner.