Index: trunk/extensions/CentralNotice/SpecialBannerController.php |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | 'loadBanner': function( bannerName ) { |
56 | 56 | // Get the requested banner |
57 | 57 | var bannerPageQuery = $.param( { 'banner': bannerName, 'userlang': wgUserLanguage, 'db': wgDBname, 'sitename': wgSiteName, 'country': Geo.country } ); |
58 | | - var bannerPage = 'Special:BannerLoader?' + bannerPageQuery; |
| 58 | + var bannerPage = '?title=Special:BannerLoader&' + bannerPageQuery; |
59 | 59 | EOT; |
60 | 60 | $js .= "\n\t\t\t\tvar bannerScript = '<script type=\"text/javascript\" src=\"".Xml::escapeJsString( $wgCentralPagePath )."' + bannerPage + '\"></script>';\n"; |
61 | 61 | $js .= <<<EOT |