Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4073528
SearchGetNearMatchHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
687 B
Referenced Files
None
Subscribers
None
SearchGetNearMatchHook.php
View Options
<?php
namespace
MediaWiki\Search\Hook
;
use
MediaWiki\Title\Title
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SearchGetNearMatch" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SearchGetNearMatchHook
{
/**
* Use this hook to perform exact-title-matches in "go" searches
* if nothing was found.
*
* @since 1.35
*
* @param string $term Search term
* @param Title &$title Outparam; set to $title object and return false for a match
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSearchGetNearMatch
(
$term
,
&
$title
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 17 2026, 11:28 (11 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b4/49/b777f406f2f4f6adf1ef9ea025cd
Default Alt Text
SearchGetNearMatchHook.php (687 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment