From 74d59bf3066717e786f5b63eb5e8189fce101fa5 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Fri, 16 Feb 2018 16:32:59 +0100 Subject: [PATCH] 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 --- resources/js/ext.uls.i18n.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/resources/js/ext.uls.i18n.js b/resources/js/ext.uls.i18n.js index 5f4b6459..71905944 100644 --- a/resources/js/ext.uls.i18n.js +++ b/resources/js/ext.uls.i18n.js @@ -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' )