Extension:EditPageTracking

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
EditPageTracking

Release status: beta

Implementation User activity
Description Records the first time new users view the edit page
Author(s) Andrew Garrett (Werdnatalk)
MediaWiki 1.17wmf1
Database changes yes
License GPL
Download
Parameters

$wgEditPageTrackingRegistrationCutoff

Hooks used
LoadExtensionSchemaUpdates

User

Translate the EditPageTracking extension if possible

Check usage and version matrix; code metrics

What can this extension do?[edit | edit source]

EditPageTracking records the time new users first visited an edit page, for statistical and behavioural purposes. It is currently used in MoodBar to determine whether or not to show the MoodBar to a new user.

Download instructions[edit | edit source]

Download the extension from this site and extract it into your extensions/ directory.

Make sure you run update.php after you do so, to apply database schema modifications.

Installation[edit | edit source]

To install this extension, add the following to LocalSettings.php:

require_once("$IP/extensions/EditPageTracking/EditPageTracking.php");
$wgEditPageTrackingRegistrationCutoff = '20110721103700'; // Replace with the time you installed the extension. Format: YYYYMMDDHHMMSS

Configuration parameters[edit | edit source]

$wgEditPageTrackingRegistrationCutoff is the timestamp when the extension takes effect. Users registered before this time will not have data recorded, because it would be incorrect. It is a standard MediaWiki 14-character timestamp: a four-digit year, and two digits each of month, day, hour, minute and second.