From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎português • ‎português do Brasil • ‎sicilianu • ‎中文
MediaWiki extensions manual
Crystal Clear action run.png

Release status: unmaintained

Implementation API, Page action
Description Stores daily user contributions as they are made
Author(s) Nimish Gautam, Trevor Parscal
Latest version 0.2.0 (2010-09-21)
MediaWiki 1.16+
Database changes Yes
License GNU General Public License 2.0 or later
Hooks used


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

Check usage and version matrix; code metrics

The UserDailyContribs extension was developed specifically to be run as part of the Beta rollout (of the Vector skin and page editor enhancements in 2010) on Wikimedia wikis; it may or may not be useful to third-party users.

This extension was formerly installed on Wikimedia wikis (phab:T85984).

The extension can of course be run on non-WMF wikis, but documentation is very limited.

This extension does the following:

  • Adds a table user_daily_contribs, which it updates on ArticleSaveComplete.
  • Provides getUserEditCountSince function. Extension:ClickTrackingExtension:ClickTracking uses this to log user edits in the last 1, 3, and 6 months.
  • Provides an API to get edit statistics for a user, described in #API section below.

Installation[edit | edit source]

  • Download and place the file(s) in a directory called UserDailyContribs in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/UserDailyContribs/UserDailyContribs.php";
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

API[edit | edit source]

Module "userdailycontribs" not found.