Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4091614
SpecialSearchProfileFormHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
821 B
Referenced Files
None
Subscribers
None
SpecialSearchProfileFormHook.php
View Options
<?php
namespace
MediaWiki\Search\Hook
;
use
MediaWiki\SpecialPage\SpecialPage
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialSearchProfileForm" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SpecialSearchProfileFormHook
{
/**
* Use this hook to modify search profile forms.
*
* @since 1.35
*
* @param SpecialPage $search
* @param string &$form Form HTML
* @param string $profile Current search profile
* @param string $term Search term
* @param string[] $opts Key => value of hidden options for inclusion in custom forms
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSpecialSearchProfileForm
(
$search
,
&
$form
,
$profile
,
$term
,
$opts
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 11:48 (5 w, 13 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
55/39/919fd88481b29eb8cfa9530b393e
Default Alt Text
SpecialSearchProfileFormHook.php (821 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment