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 | // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName |
4 | |
5 | namespace MobileFrontend\Hooks; |
6 | |
7 | use MediaWiki\Context\IContextSource; |
8 | |
9 | /** |
10 | * This is a hook handler interface, see docs/Hooks.md in core. |
11 | * Use the hook name "SpecialMobileEditWatchlist::images" to register handlers implementing this interface. |
12 | * |
13 | * @stable to implement |
14 | * @ingroup Hooks |
15 | */ |
16 | interface SpecialMobileEditWatchlistImagesHook { |
17 | /** |
18 | * @param IContextSource $context |
19 | * @param string[][] &$watchlist Array of ns => Array of dbkeys |
20 | * @param string[][] &$images Array of ns => Array of dbkeys for files |
21 | * @return bool|void True or no return value to continue or false to abort |
22 | */ |
23 | public function onSpecialMobileEditWatchlist__images( IContextSource $context, array &$watchlist, array &$images ); |
24 | } |