MediaWiki REL1_37
MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledLinkHook Interface Reference

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

Inheritance diagram for MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledLinkHook:

Public Member Functions

 onDifferenceEngineMarkPatrolledLink ( $differenceEngine, &$markAsPatrolledLink, $rcid)
 Use this hook to change the "mark as patrolled" link which is shown both on the diff header as well as on the bottom of a page, usually wrapped in a span element which has class="patrollink".
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file DifferenceEngineMarkPatrolledLinkHook.php.

Member Function Documentation

◆ onDifferenceEngineMarkPatrolledLink()

MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledLinkHook::onDifferenceEngineMarkPatrolledLink (   $differenceEngine,
$markAsPatrolledLink,
  $rcid 
)

Use this hook to change the "mark as patrolled" link which is shown both on the diff header as well as on the bottom of a page, usually wrapped in a span element which has class="patrollink".

Since
1.35
Parameters
DifferenceEngine$differenceEngine
string&$markAsPatrolledLink"Mark as patrolled" link HTML
int$rcidRecent change ID (rc_id) for this change
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: