Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4087041
SpecialSearchNogomatchHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
810 B
Referenced Files
None
Subscribers
None
SpecialSearchNogomatchHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Title\Title
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialSearchNogomatch" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SpecialSearchNogomatchHook
{
/**
* This hook is called when the 'Go' feature is triggered and the target doesn't exist.
*
* This generally comes from autocomplete search other than the main bar on Special:Search.
* Full text search results are generated after this hook is called.
*
* @since 1.35
*
* @param Title &$title Title object generated from the text entered by the user
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSpecialSearchNogomatch
(
&
$title
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 09:20 (6 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2d/f2/bb663de263d9acf1aaf4c26bdf85
Default Alt Text
SpecialSearchNogomatchHook.php (810 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment