r73983 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73982‎ | r73983 | r73984 >
Date:21:12, 29 September 2010
Author:kaldari
Status:ok
Tags:
Comment:
adding in some extra params for analytics, see bug 25360
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='+wgUserLanguage+'&sitename='+wgSiteName;
 59+ var bannerPage = 'Special:BannerLoader?banner='+bannerName+'&userlang='+wgUserLanguage+'&contentlang='+wgContentLanguage+'&sitename='+wgSiteName+'&country='+Geo.country;
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