Encode URL parameter
Change-Id: I2eaf564b35624c8441cb8f54f6ab166f5d1762a2
This commit is contained in:
committed by
[[mw:User:Fomafix]]
parent
4b3f2a9f10
commit
d50ca14543
@@ -53,7 +53,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
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user