Extension talk:ClickTracking
Latest comment: 11 years ago by Steven (WMF) in topic Privacy?
undefined function strptime()
edit- on 1.17 : Call to undefined function strptime() in \pathto\ClickTracking\SpecialClickTracking.php on line 564
- I don't think this applies to latest code. -- SPage (WMF) (talk) 03:34, 26 July 2012 (UTC)
undefined function getUserEditCountSince()
edit- I'm also getting this error but with function getUserEditCountSince(), in 1.18, after having upgraded the database.
- I found a hack to get past the error; in ApiClickTracking.php comment out this (by placing '//' at the start of each line):
// $granularity1 = $isLoggedIn ? // $this->getUserEditCountSince( $now - $wgClickTrackContribGranularity1 ) : 0; // $granularity2 = $isLoggedIn ? // $this->getUserEditCountSince( $now - $wgClickTrackContribGranularity2 ) : 0; // $granularity3 = $isLoggedIn ? // $this->getUserEditCountSince( $now - $wgClickTrackContribGranularity3 ) : 0;
Check out the source of this article to see the spacing.
Then, under it, place this:
$granularity1 = $granularity2 = $granularity3 = 0;
Note that using this probably breaks some features of the extension...
- Me too. I think getUserEditCountSince() is implemented by another extension, Extension:UserDailyContribs. The idea of this very hard-coded trio of measurements is to provide a sense of user "involvement" from edits over time. -- SPage (WMF) (talk) 03:34, 26 July 2012 (UTC)
Privacy?
editHey, where's the debate about this extension? I noticed that the cookie is not cleared after a user logs out. The same issue affects centralauth and mediawiki-core, so don't take it personally ;) But, I see no need to keep the cookie around if it's not gonna get used for anything legitimate.
Adamw (talk) 00:24, 15 December 2012 (UTC)
- Just FYI: hopefully we'll be officially deprecating ClickTracking in favor of Extension:EventLogging soon. We're slowly but surely trying to remove dependency on it. Steven Walling (WMF) • talk 23:53, 16 December 2012 (UTC)