r60118 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60117‎ | r60118 | r60119 >
Date:10:41, 16 December 2009
Author:overlordq
Status:deferred
Tags:
Comment:
Dont forget to make sure you can actually see the variables, test before commit next time
Modified paths:
  • /trunk/extensions/googleAnalytics/googleAnalytics.php (modified) (history)

Diff [purge]

Index: trunk/extensions/googleAnalytics/googleAnalytics.php
@@ -24,7 +24,7 @@
2525 $wgGoogleAnalyticsIgnoreBots = true;
2626
2727 function efGoogleAnalyticsASAC( &$parser, &$text ) {
28 - global $wgOut;
 28+ global $wgOut, $wgGoogleAnalyticsAccount, $wgGoogleAnalyticsAddASAC;
2929
3030 if( !empty($wgGoogleAnalyticsAccount) && $wgGoogleAnalyticsAddASAC ) {
3131 $wgOut->addScript('<script>window.google_analytics_uacct = "' . $wgGoogleAnalyticsAccount . '";</script>');

Status & tagging log