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\GlobalUserPage\Hooks; |
4 | |
5 | /** |
6 | * This is a hook handler interface, see docs/Hooks.md in core. |
7 | * Use the hook name "GlobalUserPageWikis" to register handlers implementing this interface. |
8 | * |
9 | * @stable to implement |
10 | * @ingroup Hooks |
11 | */ |
12 | interface GlobalUserPageWikisHook { |
13 | /** |
14 | * Return a list of enabled wikis |
15 | * |
16 | * @param array &$list |
17 | * @return bool Return false when list gets set |
18 | */ |
19 | public function onGlobalUserPageWikis( array &$list ): bool; |
20 | } |