From ac50f27d2de38efeecd9e813b3ee170daa206417 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Thu, 27 Feb 2014 15:18:13 +0530 Subject: [PATCH] Fix: Live preview of languages removes labels from the language panel MW ULS uses its api to load the localization. Avoid the conflict with i18n.load method. Directly use the i18n message stores load method Bug: 61990 Change-Id: I7ea7e7fc31a0831ae2b2c4b4301fbe81109fdf9d --- resources/js/ext.uls.i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/ext.uls.i18n.js b/resources/js/ext.uls.i18n.js index a11b662a..e854c197 100644 --- a/resources/js/ext.uls.i18n.js +++ b/resources/js/ext.uls.i18n.js @@ -51,7 +51,7 @@ if ( i18n.messageStore.messages[locale] ) { return $.Deferred().resolve(); } - return i18n.load( + return i18n.messageStore.load( mw.util.wikiScript( 'api' ) + '?' + $.param( { action: 'ulslocalization', language: locale