MediaWiki REL1_35
MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledLinkHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 11 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: