r60119 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60118‎ | r60119 | r60120 >
Date:11:27, 16 December 2009
Author:overlordq
Status:deferred
Tags:
Comment:
Required tag attrib
Modified paths:
  • /trunk/extensions/googleAnalytics/googleAnalytics.php (modified) (history)

Diff [purge]

Index: trunk/extensions/googleAnalytics/googleAnalytics.php
@@ -27,7 +27,7 @@
2828 global $wgOut, $wgGoogleAnalyticsAccount, $wgGoogleAnalyticsAddASAC;
2929
3030 if( !empty($wgGoogleAnalyticsAccount) && $wgGoogleAnalyticsAddASAC ) {
31 - $wgOut->addScript('<script>window.google_analytics_uacct = "' . $wgGoogleAnalyticsAccount . '";</script>');
 31+ $wgOut->addScript('<script type="text/javascript">window.google_analytics_uacct = "' . $wgGoogleAnalyticsAccount . '";</script>');
3232 }
3333
3434 return true;

Status & tagging log