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 Wikimedia\Rdbms\SelectQueryBuilder; |
6 | |
7 | /** |
8 | * This is a hook handler interface, see docs/Hooks.md. |
9 | * Use the hook name "SpecialPrefixIndexQuery" to register handlers implementing this interface. |
10 | * |
11 | * @stable to implement |
12 | * @ingroup Hooks |
13 | */ |
14 | interface SpecialPrefixIndexQueryHook { |
15 | /** |
16 | * Use this hook to modify the query used by Special:PrefixIndex. |
17 | * |
18 | * @since 1.42 |
19 | * |
20 | * @param array $fieldData |
21 | * @param SelectQueryBuilder $queryBuilder Query builder for altering the query being run |
22 | * |
23 | * @return void Un-abortable hook |
24 | */ |
25 | public function onSpecialPrefixIndexQuery( array $fieldData, SelectQueryBuilder $queryBuilder ); |
26 | } |