MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
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 | Always false |
bool | $auto | Always false |
string[] | &$tags | Tags to be applied to the patrol log entry |
Implemented in MediaWiki\HookContainer\HookRunner.