Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4070791
KonkaniTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
603 B
Referenced Files
None
Subscribers
None
KonkaniTest.php
View Options
<?php
use
MediaWiki\MediaWikiServices
;
/**
* @coversNothing
*/
class
KonkaniTest
extends
MediaWikiIntegrationTestCase
{
public
function
testKonkani
()
{
// Test that the Konkani localisation, which we handle with a weird alias (T347625), works correctly.
$lang
=
MediaWikiServices
::
getInstance
()->
getLanguageFactory
()->
getLanguage
(
'gom'
);
$tsTime
=
new
MWTimestamp
(
'20121006173100'
);
$currentTime
=
new
MWTimestamp
(
'20121006173200'
);
$this
->
assertEquals
(
'1 मिन्टां आदीं'
,
$lang
->
getHumanTimestamp
(
$tsTime
,
$currentTime
),
'1 minute ago'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 17 2026, 01:48 (11 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f6/15/ed75f2da6a521027cb6012d480da
Default Alt Text
KonkaniTest.php (603 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment