From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎português • ‎português do Brasil • ‎中文
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 is deprecated on Wikimedia wikis and we plan to uninstall it (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]


(main | userdailycontribs)
  • This module is deprecated.
  • This module requires read rights.
  • Source: User Daily Contributions
  • License: GPL-2.0+

Get the total number of user edits, time of registration, and edits in a given timeframe.


Username to query.

Type: user name

Number of edits since this many days ago.

The value must be no less than 0.
Type: integer

Date from which daysago will be calculated, instead of "today". The count returned in timeFrameEdits will be the edit count between this date and the date "daysago" from it.

Type: timestamp (allowed formats)
Get edit statistics for User:WikiSysop over the past 5 days