Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7411190
LanguageFallbackIntegrationTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
838 B
Referenced Files
None
Subscribers
None
LanguageFallbackIntegrationTest.php
View Options
<?php
use
MediaWiki\Languages\LanguageFallback
;
use
MediaWiki\MainConfigNames
;
/**
* @group Language
* @covers \MediaWiki\Languages\LanguageFallback
*/
class
LanguageFallbackIntegrationTest
extends
MediaWikiIntegrationTestCase
{
use
LanguageFallbackTestTrait
;
private
function
getCallee
(
array
$options
=
[]
)
{
if
(
isset
(
$options
[
'siteLangCode'
]
)
)
{
$this
->
overrideConfigValue
(
MainConfigNames
::
LanguageCode
,
$options
[
'siteLangCode'
]
);
}
if
(
isset
(
$options
[
'fallbackMap'
]
)
)
{
$this
->
setService
(
'LocalisationCache'
,
$this
->
getMockLocalisationCache
(
1
,
$options
[
'fallbackMap'
]
)
);
}
return
$this
->
getServiceContainer
()->
getLanguageFallback
();
}
private
function
getMessagesKey
()
{
return
LanguageFallback
::
MESSAGES
;
}
private
function
getStrictKey
()
{
return
LanguageFallback
::
STRICT
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 23:27 (1 d, 22 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a9/5d/d6ba7e992173970723a1bf639b3e
Default Alt Text
LanguageFallbackIntegrationTest.php (838 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment