Page MenuHomeWickedGov Phorge

KonkaniTest.php
No OneTemporary

Size
603 B
Referenced Files
None
Subscribers
None

KonkaniTest.php

<?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

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)

Event Timeline