Index: branches/wmf/1.16wmf4/extensions/CentralNotice/SpecialBannerController.php |
— | — | @@ -55,7 +55,8 @@ |
56 | 56 | 'fn': { |
57 | 57 | 'loadBanner': function( bannerName ) { |
58 | 58 | // Get the requested banner |
59 | | - var bannerPage = 'Special:BannerLoader?banner='+bannerName+'&userlang='+wgUserLanguage+'&db='+wgDBname+'&sitename='+wgSiteName+'&country='+Geo.country; |
| 59 | + var bannerPageQuery = $.param( { 'banner': bannerName, 'userlang': wgUserLanguage, 'db': wgDBname, 'sitename': wgSiteName, 'country': Geo.country } ); |
| 60 | + var bannerPage = '?title=Special:BannerLoader&' + bannerPageQuery; |
60 | 61 | EOT; |
61 | 62 | $js .= "\n\t\t\t\tvar bannerScript = '<script type=\"text/javascript\" src=\"".Xml::escapeJsString( $wgCentralPagePath )."' + bannerPage + '\"></script>';\n"; |
62 | 63 | $js .= <<<EOT |
Property changes on: branches/wmf/1.16wmf4/extensions/CentralNotice |
___________________________________________________________________ |
Modified: svn:mergeinfo |
63 | 64 | Merged /trunk/extensions/CentralNotice:r75849 |