MediaWiki master
MediaWiki\Hook\MarkPatrolledCompleteHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onMarkPatrolledComplete ( $rcid, $user, $wcOnlySysopsCanPatrol, $auto)
 This hook is called after an edit is marked patrolled.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "MarkPatrolledComplete" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file MarkPatrolledCompleteHook.php.

Member Function Documentation

◆ onMarkPatrolledComplete()

MediaWiki\Hook\MarkPatrolledCompleteHook::onMarkPatrolledComplete ( $rcid,
$user,
$wcOnlySysopsCanPatrol,
$auto )

This hook is called after an edit is marked patrolled.

Since
1.35
Parameters
int$rcidID of the revision marked as patrolled
User$userUser who marked the edit patrolled
bool$wcOnlySysopsCanPatrolAlways false
bool$autoAlways false
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: