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 | |
3 | namespace MediaWiki\Hook; |
4 | |
5 | use EnhancedChangesList; |
6 | use RecentChange; |
7 | |
8 | /** |
9 | * This is a hook handler interface, see docs/Hooks.md. |
10 | * Use the hook name "EnhancedChangesListModifyBlockLineData" to register handlers implementing this interface. |
11 | * |
12 | * @stable to implement |
13 | * @ingroup Hooks |
14 | */ |
15 | interface EnhancedChangesListModifyBlockLineDataHook { |
16 | /** |
17 | * Use this hook to alter data used to build a non-grouped recent change line in |
18 | * EnhancedChangesList. |
19 | * |
20 | * @since 1.35 |
21 | * |
22 | * @param EnhancedChangesList $changesList |
23 | * @param array &$data Array of components that will be joined in order to create the line |
24 | * @param RecentChange $rc RecentChange object for this line |
25 | * @return bool|void True or no return value to continue or false to abort |
26 | */ |
27 | public function onEnhancedChangesListModifyBlockLineData( $changesList, &$data, |
28 | $rc |
29 | ); |
30 | } |