r73573 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73572‎ | r73573 | r73574 >
Date:21:15, 22 September 2010
Author:kaldari
Status:ok
Tags:
Comment:
using correct global var for site name
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialBannerController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialBannerController.php
@@ -55,7 +55,7 @@
5656 'fn': {
5757 'loadBanner': function( bannerName ) {
5858 // Get the requested banner
59 - var bannerPage = 'Special:BannerLoader?banner='+bannerName+'&userlang='+wgContentLanguage+'&sitename='+wgNoticeProject;
 59+ var bannerPage = 'Special:BannerLoader?banner='+bannerName+'&userlang='+wgContentLanguage+'&sitename='+wgSiteName;
6060 EOT;
6161 $js .= "\n\t\t\t\tvar bannerScript = '<script type=\"text/javascript\" src=\"".Xml::escapeJsString( $wgCentralPagePath )."' + bannerPage + '\"></script>';\n";
6262 $js .= <<<EOT

Status & tagging log