Extension talk:ClickTracking

From MediaWiki.org
Jump to: navigation, search
  • on 1.17 : Call to undefined function strptime() in \pathto\ClickTracking\SpecialClickTracking.php on line 564
    • 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...

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox