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\Hook;
4
5// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6use EnhancedChangesList;
7use RecentChange;
8
9/**
10 * This is a hook handler interface, see docs/Hooks.md.
11 * Use the hook name "EnhancedChangesList::getLogText" to register handlers implementing this interface.
12 *
13 * @stable to implement
14 * @ingroup Hooks
15 */
16interface EnhancedChangesList__getLogTextHook {
17    /**
18     * Use this hook to alter, remove, or add to the links of a group of changes in
19     * EnhancedChangesList.
20     *
21     * @since 1.35
22     *
23     * @param EnhancedChangesList $changesList
24     * @param string[] &$links Links generated by EnhancedChangesList
25     * @param RecentChange[] $block RecentChange objects in that block
26     * @return bool|void True or no return value to continue, or false to omit
27     *   this line from recentchanges
28     */
29    public function onEnhancedChangesList__getLogText( $changesList, &$links,
30        $block
31    );
32}