|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onMarkPatrolled ( $rcid, $user, $wcOnlySysopsCanPatrol, $auto, &$tags) | |
| This hook is called before an edit is marked patrolled. | |
Stable to implement.
Definition at line 11 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.