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

Check usage (experimental)

Contents

[edit] What can this extension do?

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.

[edit] Download instructions

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.

[edit] Installation

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

[edit] Configuration parameters

$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.

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox