Add loading of messages using $wgMessagesDirs
Change-Id: Ib7beb523d5765cba0743eb46fc4e5bd67860130a
This commit is contained in:
committed by
Siebrand
parent
c960d44888
commit
d219528467
@@ -25,7 +25,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
|||||||
/**
|
/**
|
||||||
* Version number used in extension credits and in other placed where needed.
|
* 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(
|
$GLOBALS['wgExtensionCredits']['other'][] = array(
|
||||||
'path' => __FILE__,
|
'path' => __FILE__,
|
||||||
@@ -183,6 +183,7 @@ $GLOBALS['wgULSFontRepositoryBasePath'] = false;
|
|||||||
$GLOBALS['wgULSCompactLinks'] = false;
|
$GLOBALS['wgULSCompactLinks'] = false;
|
||||||
|
|
||||||
// Internationalization
|
// Internationalization
|
||||||
|
$GLOBALS['wgMessagesDirs']['UniversalLanguageSelector'] = __DIR__ . '/i18n';
|
||||||
$GLOBALS['wgExtensionMessagesFiles']['UniversalLanguageSelector'] =
|
$GLOBALS['wgExtensionMessagesFiles']['UniversalLanguageSelector'] =
|
||||||
__DIR__ . '/UniversalLanguageSelector.i18n.php';
|
__DIR__ . '/UniversalLanguageSelector.i18n.php';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user