Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7418720
SpecialSearchResultsPrependHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
930 B
Referenced Files
None
Subscribers
None
SpecialSearchResultsPrependHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Output\OutputPage
;
use
MediaWiki\Specials\SpecialSearch
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialSearchResultsPrepend" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SpecialSearchResultsPrependHook
{
/**
* This hook is called immediately before returning HTML on the search results page.
*
* Useful for including an external search provider.
* To disable the output of MediaWiki search output, return false.
*
* @since 1.35
*
* @param SpecialSearch $specialSearch SpecialSearch object ($this)
* @param OutputPage $output $wgOut
* @param string $term Search term specified by the user
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSpecialSearchResultsPrepend
(
$specialSearch
,
$output
,
$term
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 04:04 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d1/be/04bc11229674acfd82759432d908
Default Alt Text
SpecialSearchResultsPrependHook.php (930 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment