Internationalize ULS
* Integrate jquery.i18n * Update jquery.uls from upstream and use the build version Change-Id: I523444b1f6b177f14a4799a455a16a14649b0e1b
This commit is contained in:
@@ -90,6 +90,7 @@ $wgResourceModules['ext.uls.init'] = array(
|
||||
'mediawiki.Uri',
|
||||
'jquery.tipsy',
|
||||
'jquery.uls',
|
||||
'jquery.i18n',
|
||||
'ext.uls.displaysettings',
|
||||
),
|
||||
'position' => 'top',
|
||||
@@ -138,40 +139,27 @@ $wgResourceModules['ext.uls.displaysettings'] = array(
|
||||
'localBasePath' => $dir,
|
||||
'dependencies' => array(
|
||||
'ext.uls.languagesettings',
|
||||
'ext.uls.webfonts'
|
||||
'ext.uls.webfonts',
|
||||
'jquery.i18n',
|
||||
),
|
||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||
);
|
||||
|
||||
$wgResourceModules['jquery.uls'] = array(
|
||||
'scripts' => array(
|
||||
'lib/jquery.uls/src/jquery.uls.core.js',
|
||||
'lib/jquery.uls/src/jquery.uls.languagefilter.js',
|
||||
'lib/jquery.uls/src/jquery.uls.regionfilter.js',
|
||||
'lib/jquery.uls/src/jquery.uls.lcd.js',
|
||||
'lib/jquery.uls/jquery.uls.js',
|
||||
),
|
||||
'styles' => array(
|
||||
'lib/jquery.uls/css/jquery.uls.css',
|
||||
'lib/jquery.uls/css/jquery.uls.grid.css',
|
||||
'lib/jquery.uls/css/jquery.uls.lcd.css',
|
||||
),
|
||||
'localBasePath' => $dir,
|
||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||
'dependencies' => array(
|
||||
'jquery.uls.data',
|
||||
'jquery.i18n',
|
||||
),
|
||||
'position' => 'top',
|
||||
);
|
||||
|
||||
$wgResourceModules['jquery.uls.data'] = array(
|
||||
'scripts' => array(
|
||||
'lib/jquery.uls/src/jquery.uls.data.js',
|
||||
'lib/jquery.uls/src/jquery.uls.data.utils.js',
|
||||
),
|
||||
'localBasePath' => $dir,
|
||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||
);
|
||||
|
||||
$wgResourceModules['jquery.webfonts'] = array(
|
||||
'scripts' => 'lib/jquery.webfonts.js',
|
||||
'localBasePath' => $dir,
|
||||
@@ -183,3 +171,9 @@ $wgResourceModules['ext.uls.webfonts.repository'] = array(
|
||||
'localBasePath' => $dir,
|
||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||
);
|
||||
|
||||
$wgResourceModules['jquery.i18n'] = array(
|
||||
'scripts' => 'lib/jquery.i18n.js',
|
||||
'localBasePath' => $dir,
|
||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||
);
|
||||
Reference in New Issue
Block a user