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:
Fomafix
2018-02-16 16:32:59 +01:00
parent 8706925f5f
commit 74d59bf306

View File

@@ -22,10 +22,6 @@
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
$.i18n( {
locale: mw.config.get( 'wgUserLanguage' )