Extension:ClickTracking

From MediaWiki.org
Jump to: navigation, search



Warning Warning: This extension has been superseded by Extension:EventLogging
MediaWiki extensions manual - list
Crystal Clear action run.png
ClickTracking

Release status: stable

Implementation API
Description Track user clicks on JavaScript items
Author(s) Nimish Gautam, Trevor Parscal
MediaWiki 1.19.1
License GPL v2
Download
README
Hooks used
LoadExtensionSchemaUpdates

BeforePageDisplay
MakeGlobalVariablesScript
ParserTestTables
EditPage::showEditForm:fields
ArticleSave
ArticleSaveComplete

Check usage and version matrix
Bugs: list open list all report

This feature is used to track users' navigation around the wiki by logging each click they make. It has a couple of API modules.

ClickTracking was developed specifically to be run as part of the Beta rollout (of the Vector skin and Enhanced editing toolbar in 2010) on Wikimedia wikis; it may or may not be useful to third-party users. The extension can of course be run on non-WMF wikis, but documentation is very limited.

ClickTracking logs the user's edit counts using functionality and a database table implemented by Extension:UserDailyContribs, so you need to install that as well.

This extension was migrated from Extension:UsabilityInitiative. During this migration this extension was ported to make use of ResourceLoader functionality, making it only compatible with MediaWiki 1.17+.

If you are upgrading from the UsabilityInitiative (MediaWiki 1.16 compatible) version, you may need to pay attention to the change in naming for configuration variables.

See README for an example.

Installation [edit]

  1. Get the extension with distributor or git and drop it into MediaWiki directory /extensions
  2. Setup your LocalSettings.php:
require_once( "$IP/extensions/UserDailyContribs/UserDailyContribs.php" );
require_once( "$IP/extensions/ClickTracking/ClickTracking.php" );

for more details about the settings see the README file.

  1. Run php maintenance/update.php from the command line (see update.php and also here)