Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace MediaWiki\Diff\Hook;
4
5use DifferenceEngine;
6
7/**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "DifferenceEngineMarkPatrolledLink" to register handlers implementing this interface.
10 *
11 * @stable to implement
12 * @ingroup Hooks
13 */
14interface DifferenceEngineMarkPatrolledLinkHook {
15    /**
16     * Use this hook to change the "mark as patrolled" link which is shown both
17     * on the diff header as well as on the bottom of a page, usually wrapped in
18     * a span element which has class="patrollink".
19     *
20     * @since 1.35
21     *
22     * @param DifferenceEngine $differenceEngine
23     * @param string &$markAsPatrolledLink "Mark as patrolled" link HTML
24     * @param int $rcid Recent change ID (rc_id) for this change
25     * @return bool|void True or no return value to continue or false to abort
26     */
27    public function onDifferenceEngineMarkPatrolledLink( $differenceEngine,
28        &$markAsPatrolledLink, $rcid
29    );
30}