Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4081207
SpecialSearchPowerBoxHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
863 B
Referenced Files
None
Subscribers
None
SpecialSearchPowerBoxHook.php
View Options
<?php
namespace
MediaWiki\Search\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialSearchPowerBox" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SpecialSearchPowerBoxHook
{
/**
* Use this hook to modify advanced search profile forms.
* This hook is equivalent to SpecialSearchProfileForm for
* the advanced form, also know as power search box.
*
* @since 1.35
*
* @param string[] &$showSections Array to add values with more options to
* @param string $term Search term (not a title object)
* @param string[] &$opts Array of hidden options (containing 'redirs' and 'profile')
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSpecialSearchPowerBox
(
&
$showSections
,
$term
,
&
$opts
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 05:57 (7 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
58/1d/85c05261a370e3f12311c940f612
Default Alt Text
SpecialSearchPowerBoxHook.php (863 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment