Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5991439
HookRunner.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
928 B
Referenced Files
None
Subscribers
None
HookRunner.php
View Options
<?php
namespace
MediaWiki\Extension\ReplaceText\Hooks
;
use
MediaWiki\HookContainer\HookContainer
;
/**
* This is a hook runner class, see docs/Hooks.md in core.
* @internal
*/
class
HookRunner
implements
FilterPageTitlesForEditHook
,
FilterPageTitlesForRenameHook
{
private
HookContainer
$hookContainer
;
/**
* Constructor.
* @param HookContainer $hookContainer
*/
public
function
__construct
(
HookContainer
$hookContainer
)
{
$this
->
hookContainer
=
$hookContainer
;
}
/**
* @inheritDoc
*/
public
function
onReplaceTextFilterPageTitlesForEdit
(
array
&
$filteredTitles
)
{
return
$this
->
hookContainer
->
run
(
'ReplaceTextFilterPageTitlesForEdit'
,
[
&
$filteredTitles
]
);
}
/**
* @inheritDoc
*/
public
function
onReplaceTextFilterPageTitlesForRename
(
array
&
$filteredTitles
)
{
return
$this
->
hookContainer
->
run
(
'ReplaceTextFilterPageTitlesForRename'
,
[
&
$filteredTitles
]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 01:53 (4 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
82/cd/21243f11fa382f73efa60aaba4c2
Default Alt Text
HookRunner.php (928 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment