Merge "Encode URL parameter"

This commit is contained in:
jenkins-bot authored and Gerrit Code Review committed 2014-02-10 12:38:32 +00:00
commit ab83208b60
1 file changed
+4 -1
+4 -1
View File
@@ -52,7 +52,10 @@
return $.Deferred().resolve();
}
return i18n.load(
mw.util.wikiScript( 'api' ) + '?action=ulslocalization&language=' + locale,
mw.util.wikiScript( 'api' ) + '?' + $.param( {
action: 'ulslocalization',
language: locale
} ),
locale
);
};