MediaWiki REL1_35
MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledRCIDHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledRCIDHook:

Public Member Functions

 onDifferenceEngineMarkPatrolledRCID (&$rcid, $differenceEngine, $change, $user)
 Use this hook to possibly change the rcid parameter.

Detailed Description

Stable to implement.

Definition at line 13 of file DifferenceEngineMarkPatrolledRCIDHook.php.

Member Function Documentation

◆ onDifferenceEngineMarkPatrolledRCID()

MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledRCIDHook::onDifferenceEngineMarkPatrolledRCID ( $rcid,

Use this hook to possibly change the rcid parameter.

For example the rcid might be set to zero due to the user being the same as the performer of the change but an extension might still want to show it under certain conditions.

int&$rcidrc_id of the change or 0
User$userCurrent user
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: