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

Public Member Functions | |
| onSpecialSearchResultsPrepend ( $specialSearch, $output, $term) | |
| This hook is called immediately before returning HTML on the search results page. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialSearchResultsPrepend" to register handlers implementing this interface.
Definition at line 15 of file SpecialSearchResultsPrependHook.php.
| MediaWiki\Hook\SpecialSearchResultsPrependHook::onSpecialSearchResultsPrepend | ( | $specialSearch, | |
| $output, | |||
| $term ) |
This hook is called immediately before returning HTML on the search results page.
Useful for including an external search provider. To disable the output of MediaWiki search output, return false.
| SpecialSearch | $specialSearch | SpecialSearch object ($this) |
| OutputPage | $output | $wgOut |
| string | $term | Search term specified by the user |
Implemented in MediaWiki\HookContainer\HookRunner.