r77613 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77612‎ | r77613 | r77614 >
Date:23:08, 2 December 2010
Author:nimishg
Status:deferred
Tags:
Comment:
switched virt code to real code for OWA
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/owa.tracker-combined-min.js (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php
@@ -664,7 +664,7 @@
665665
666666 protected function loadOwaJs() {
667667 global $wgOut, $wgScriptPath;
668 - $wgOut->addHeadItem('owa_tracker_verts', '<script type="text/javascript" src="http://owa.tesla.usability.wikimedia.org/owa/modules/base/js/owa.tracker-combined-min.js"></script>');
 668+ $wgOut->addHeadItem('owa_tracker', '<script type="text/javascript" src="http://owa.wikimedia.org/owa/modules/base/js/owa.tracker-combined-min.js"></script>');
669669
670670 $wgOut->addHeadItem( 'owa_get_info', '<script type="text/javascript" src="' .
671671 $wgScriptPath .
Index: trunk/extensions/DonationInterface/payflowpro_gateway/owa.tracker-combined-min.js
@@ -8,12 +8,12 @@
99 //<![CDATA[
1010 //OWA.setSetting('debug', true);
1111 // Set base URL
12 -OWA.setSetting('baseUrl', 'http://owa.tesla.usability.wikimedia.org/owa/');
 12+OWA.setSetting('baseUrl', 'http://owa.wikimedia.org/owa/');
1313 //OWA.setApiEndpoint('http://analytics.tesla.usability.wikimedia.org/wiki/d/index.php?action=owa&owa_specialAction');
1414 // Create a tracker
1515 OWATracker = new OWA.tracker();
16 -OWATracker.setEndpoint('http://owa.tesla.usability.wikimedia.org/owa/');
17 -OWATracker.setSiteId('75af9f1681f6a30265361e3a951fa331');
 16+OWATracker.setEndpoint('http://owa.wikimedia.org/owa/');
 17+OWATracker.setSiteId('d41d8cd98f00b204e9800998ecf8427e');
1818 OWATracker.trackPageView();
1919 OWATracker.trackClicks();
2020 //just track pageviews and clicks for now

Follow-up revisions

RevisionCommit summaryAuthorDate
r77614merged r77613 OWA changesnimishg23:12, 2 December 2010

Status & tagging log