Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5962040
SearchGetNearMatchCompleteHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
695 B
Referenced Files
None
Subscribers
None
SearchGetNearMatchCompleteHook.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 "SearchGetNearMatchComplete" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SearchGetNearMatchCompleteHook
{
/**
* Use this hook to modify exact-title-matches in "go" searches.
*
* @since 1.35
*
* @param string $term Search term
* @param Title|null &$title Current Title object that is being returned (null if none found)
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSearchGetNearMatchComplete
(
$term
,
&
$title
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 08:35 (1 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a0/b5/b4f1b2abf62a6a4c356897c62f9b
Default Alt Text
SearchGetNearMatchCompleteHook.php (695 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment