|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

Public Member Functions | |
| onMarkPatrolledComplete ( $rcid, $user, $wcOnlySysopsCanPatrol, $auto) | |
| This hook is called after an edit is marked patrolled. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "MarkPatrolledComplete" to register handlers implementing this interface.
Definition at line 14 of file MarkPatrolledCompleteHook.php.
| MediaWiki\Hook\MarkPatrolledCompleteHook::onMarkPatrolledComplete | ( | $rcid, | |
| $user, | |||
| $wcOnlySysopsCanPatrol, | |||
| $auto ) |
This hook is called after an edit is marked patrolled.
| int | $rcid | ID of the revision marked as patrolled |
| User | $user | User who marked the edit patrolled |
| bool | $wcOnlySysopsCanPatrol | Config setting indicating whether the user must be a sysop to patrol the edit |
| bool | $auto | True if the edit is being marked as patrolled automatically |
Implemented in MediaWiki\HookContainer\HookRunner.