Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4083994
HookRunner.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
892 B
Referenced Files
None
Subscribers
None
HookRunner.php
View Options
<?php
namespace
MediaWiki\Extension\Scribunto\Hooks
;
use
MediaWiki\HookContainer\HookContainer
;
/**
* This is a hook runner class, see docs/Hooks.md in core.
* @internal
*/
class
HookRunner
implements
ScribuntoExternalLibrariesHook
,
ScribuntoExternalLibraryPathsHook
{
private
HookContainer
$hookContainer
;
public
function
__construct
(
HookContainer
$hookContainer
)
{
$this
->
hookContainer
=
$hookContainer
;
}
/**
* @inheritDoc
*/
public
function
onScribuntoExternalLibraries
(
string
$engine
,
array
&
$extraLibraries
)
{
return
$this
->
hookContainer
->
run
(
'ScribuntoExternalLibraries'
,
[
$engine
,
&
$extraLibraries
]
);
}
/**
* @inheritDoc
*/
public
function
onScribuntoExternalLibraryPaths
(
string
$engine
,
array
&
$extraLibraryPaths
)
{
return
$this
->
hookContainer
->
run
(
'ScribuntoExternalLibraryPaths'
,
[
$engine
,
&
$extraLibraryPaths
]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 07:29 (7 w, 21 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
31/d4/24004219b55d266bb5731c6a2e43
Default Alt Text
HookRunner.php (892 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment