|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onSpecialLogGetSubpagesForPrefixSearch (IContextSource $context, array &$subpages) | |
| Hook for intercepting and changing the list of suggested log types when typing "Special:Log" in the search box. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialLogGetSubpagesForPrefixSearch" to register handlers implementing this interface.
Definition at line 15 of file SpecialLogGetSubpagesForPrefixSearchHook.php.
| MediaWiki\Hook\SpecialLogGetSubpagesForPrefixSearchHook::onSpecialLogGetSubpagesForPrefixSearch | ( | IContextSource | $context, |
| array & | $subpages ) |
Hook for intercepting and changing the list of suggested log types when typing "Special:Log" in the search box.
The common use case for this hook is to include aliases for the log type in the suggestions.
| IContextSource | $context | Request context |
| string[] | &$subpages | Log subpages currently known |
Implemented in MediaWiki\HookContainer\HookRunner.