MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onDifferenceEngineMarkPatrolledRCID (&$rcid, $differenceEngine, $change, $user) | |
Use this hook to possibly change the rcid parameter. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "DifferenceEngineMarkPatrolledRCID" to register handlers implementing this interface.
Definition at line 16 of file DifferenceEngineMarkPatrolledRCIDHook.php.
MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledRCIDHook::onDifferenceEngineMarkPatrolledRCID | ( | & | $rcid, |
$differenceEngine, | |||
$change, | |||
$user ) |
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 | &$rcid | rc_id of the change or 0 |
DifferenceEngine | $differenceEngine | |
RecentChange | null | $change | |
User | $user | Current user |
Implemented in MediaWiki\HookContainer\HookRunner.