Add loading of messages using $wgMessagesDirs

Change-Id: Ib7beb523d5765cba0743eb46fc4e5bd67860130a
This commit is contained in:
Siebrand Mazeland
2014-04-03 12:07:25 +02:00
committed by Siebrand
parent c960d44888
commit d219528467

View File

@@ -25,7 +25,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
/**
* Version number used in extension credits and in other placed where needed.
*/
define( 'ULS_VERSION', '2014-03-31' );
define( 'ULS_VERSION', '2014-04-03' );
$GLOBALS['wgExtensionCredits']['other'][] = array(
'path' => __FILE__,
@@ -183,6 +183,7 @@ $GLOBALS['wgULSFontRepositoryBasePath'] = false;
$GLOBALS['wgULSCompactLinks'] = false;
// Internationalization
$GLOBALS['wgMessagesDirs']['UniversalLanguageSelector'] = __DIR__ . '/i18n';
$GLOBALS['wgExtensionMessagesFiles']['UniversalLanguageSelector'] =
__DIR__ . '/UniversalLanguageSelector.i18n.php';