MediaWiki master
MediaWiki\Hook\SpecialPrefixIndexQueryHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSpecialPrefixIndexQuery (array $fieldData, SelectQueryBuilder $queryBuilder)
 Use this hook to modify the query used by Special:PrefixIndex.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SpecialPrefixIndexQuery" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file SpecialPrefixIndexQueryHook.php.

Member Function Documentation

◆ onSpecialPrefixIndexQuery()

MediaWiki\Hook\SpecialPrefixIndexQueryHook::onSpecialPrefixIndexQuery ( array $fieldData,
SelectQueryBuilder $queryBuilder )

Use this hook to modify the query used by Special:PrefixIndex.

Since
1.42
Parameters
array$fieldData
SelectQueryBuilder$queryBuilderQuery builder for altering the query being run
Returns
void Un-abortable hook

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: