r75849 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75848‎ | r75849 | r75850 >
Date:01:00, 2 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
last part for fixing bug 25564
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialBannerController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialBannerController.php
@@ -54,7 +54,7 @@
5555 'loadBanner': function( bannerName ) {
5656 // Get the requested banner
5757 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;
5959 EOT;
6060 $js .= "\n\t\t\t\tvar bannerScript = '<script type=\"text/javascript\" src=\"".Xml::escapeJsString( $wgCentralPagePath )."' + bannerPage + '\"></script>';\n";
6161 $js .= <<<EOT

Status & tagging log