< Manual:Hooks
| This feature was removed completely in version 1.24.0. |
| SpecialSearchGo | |
|---|---|
| Available from version 1.17.0 Removed in version 1.24.0 | |
| Define function: | public static function onSpecialSearchGo( &$title ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"SpecialSearchGo": "MyExtensionHooks::onSpecialSearchGo"
}
}
|
| Called from: | File(s): specials/SpecialSearch.php |
| Interface: | SpecialSearchGoHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SpecialSearchGo extensions.
Details
$title will be the Title object of the page searched for if it exists. This hook only runs if the page being searched for exists.
See also
- SpecialSearchNogomatch
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.