Index: trunk/extensions/CentralNotice/SpecialBannerController.php |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | 'fn': { |
57 | 57 | 'loadBanner': function( bannerName ) { |
58 | 58 | // 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; |
60 | 60 | EOT; |
61 | 61 | $js .= "\n\t\t\t\tvar bannerScript = '<script type=\"text/javascript\" src=\"".Xml::escapeJsString( $wgCentralPagePath )."' + bannerPage + '\"></script>';\n"; |
62 | 62 | $js .= <<<EOT |