MediaWiki REL1_35
MediaWiki\Hook\MarkPatrolledCompleteHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\MarkPatrolledCompleteHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 11 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$wcOnlySysopsCanPatrolConfig setting indicating whether the user must be a sysop to patrol the edit
bool$autoTrue if the edit is being marked as patrolled automatically
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: