MediaWiki fundraising/REL1_35
|
Stable to implement. More...
Public Member Functions | |
onSpecialSearchResultsPrepend ( $specialSearch, $output, $term) | |
This hook is called immediately before returning HTML on the search results page. | |
Stable to implement.
Definition at line 12 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.