r73558 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73557‎ | r73558 | r73559 >
Date:18:50, 22 September 2010
Author:nimishg
Status:resolved (Comments)
Tags:
Comment:
clarified how to use this extension
Modified paths:
  • /trunk/extensions/ClickTracking/README (modified) (history)

Diff [purge]

Index: trunk/extensions/ClickTracking/README
@@ -5,6 +5,9 @@
66
77 # Example LocalSettings.php additions
88
 9+# to track a dynamic action, be sure that $j.trackAction("something to identify action") is called in JS
 10+# to track an action that has state information associated with it, fire $j.trackActionWithInfo("action", "state information");
 11+
912 require_once("$IP/extensions/UsabilityInitiative/ClickTracking/ClickTracking.php");
1013 // Track 1 in every 10 clicks; set to 1 to track all clicks, -1 to disable
1114 $wgClickTrackThrottle = 10;
\ No newline at end of file

Follow-up revisions

RevisionCommit summaryAuthorDate
r74200ClickTracking: follow-up to r73558: use $ instead of $j in example jQuery cod...ashley11:27, 3 October 2010

Comments

#Comment by Catrope (talk | contribs)   20:31, 1 October 2010

We use $ now instead of $j in the New World of the Resource Loader.

Status & tagging log