r73980 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73979‎ | r73980 | r73981 >
Date:20:16, 29 September 2010
Author:kaldari
Status:ok
Tags:
Comment:
forgot the last part of fix for Bug 25031
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='+wgSiteName;
 59+ var bannerPage = 'Special:BannerLoader?banner='+bannerName+'&userlang='+wgUserLanguage+'&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