Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5988057
ServiceWiring.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
647 B
Referenced Files
None
Subscribers
None
ServiceWiring.php
View Options
<?php
namespace
MediaWiki\Extension\Scribunto
;
use
MediaWiki\Config\ServiceOptions
;
use
MediaWiki\MediaWikiServices
;
// PHP unit does not understand code coverage for this file
// as the @covers annotation cannot cover a specific file
// This is fully tested in ScribuntoServiceWiringTest.php
// @codeCoverageIgnoreStart
/**
* Scribunto wiring for MediaWiki services.
*/
return
[
'Scribunto.EngineFactory'
=>
static
function
(
MediaWikiServices
$services
):
EngineFactory
{
return
new
EngineFactory
(
new
ServiceOptions
(
EngineFactory
::
CONSTRUCTOR_OPTIONS
,
$services
->
getMainConfig
()
),
);
},
];
// @codeCoverageIgnoreEnd
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Oct 4, 00:40 (2 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ee/18/78451d97ce7b76a8a4d414f1f085
Default Alt Text
ServiceWiring.php (647 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment