Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5958813
SearchAfterNoDirectMatchHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
782 B
Referenced Files
None
Subscribers
None
SearchAfterNoDirectMatchHook.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 "SearchAfterNoDirectMatch" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SearchAfterNoDirectMatchHook
{
/**
* This hook is called if there was no match for the exact result. This
* runs before lettercase variants are attempted, whereas 'SearchGetNearMatch'
* runs after.
*
* @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
onSearchAfterNoDirectMatch
(
$term
,
&
$title
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 06:02 (2 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fc/d9/6663888464b7733c22500bfcaa14
Default Alt Text
SearchAfterNoDirectMatchHook.php (782 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment