Remove window.pluralRuleParser
The module 'jquery.i18n' was removed in 1312b905f2 because it is
already in core. The mapping from mw.libs.pluralRuleParser to
window.pluralRuleParser is not needed here anymore.
Change-Id: I00993d43578368ba3ebc1f4055cabf4904e45783
This commit is contained in:
@@ -22,10 +22,6 @@
|
|||||||
|
|
||||||
mw.uls = mw.uls || {};
|
mw.uls = mw.uls || {};
|
||||||
|
|
||||||
// jquery.i18n has CLDRPluralRuleParser but MediaWiki also has the same
|
|
||||||
// parser. Reuse it by aliasing it to window.pluralRuleParser
|
|
||||||
window.pluralRuleParser = mw.libs.pluralRuleParser;
|
|
||||||
|
|
||||||
// JavaScript side i18n initialization
|
// JavaScript side i18n initialization
|
||||||
$.i18n( {
|
$.i18n( {
|
||||||
locale: mw.config.get( 'wgUserLanguage' )
|
locale: mw.config.get( 'wgUserLanguage' )
|
||||||
|
|||||||
Reference in New Issue
Block a user