Extension:EditPageTracking

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
EditPageTracking

Release status:Extension status unmaintained

ImplementationTemplate:Extension#type User activity
DescriptionTemplate:Extension#description Records the first time new users view the edit page
Author(s)Template:Extension#username Andrew Garrett (Werdnatalk)
MediaWikiTemplate:Extension#mediawiki 1.17+
Database changesTemplate:Extension#needs-updatephp Yes
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
ParametersTemplate:Extension#parameters
  • $wgEditPageTrackingRegistrationCutoff
Hooks usedTemplate:Extension#hook
LoadExtensionSchemaUpdatesManual:Hooks/LoadExtensionSchemaUpdates
User

Translate the EditPageTracking extension if it is available at translatewiki.net

Check usage and version matrix.

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

Installation[edit]

  • Download and place the file(s) in a directory called EditPageTracking in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/EditPageTracking/EditPageTracking.php";
    $wgEditPageTrackingRegistrationCutoff = '20110721103700'; // Replace with the time you installed the extension. Format: YYYYMMDDHHMMSS
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration =[edit]

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