r65349 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65348‎ | r65349 | r65350 >
Date:22:43, 20 April 2010
Author:siebrand
Status:deferred
Tags:
Comment:
(bug 23214) Remove deprecated function in Google's Tracking API. Contributed by Solitarius.

http://code.google.com/apis/analytics/docs/gaJS/gaJSApiBasicConfiguration.html#_gat.GA_Tracker_._initData : "initData() now executes automatically in the ga.js tracking code."
Modified paths:
  • /trunk/extensions/googleAnalytics/googleAnalytics.php (modified) (history)

Diff [purge]

Index: trunk/extensions/googleAnalytics/googleAnalytics.php
@@ -49,7 +49,6 @@
5050 </script>
5151 <script type="text/javascript">
5252 var pageTracker = _gat._getTracker("{$wgGoogleAnalyticsAccount}");
53 -pageTracker._initData();
5453 pageTracker._trackPageview();
5554 </script>
5655 GASCRIPT;

Status & tagging log