Extension:Usage Statistics

Description
It is usually interesting to find out how you, as a user of the wiki have been performing over time. Just as interesting for wiki admins, is to find out how the wiki has been growing over time. This extension provide the capability to view this data in a graphical form. Note: currently, this extension has the limitation of being a bit slow in processing the data which may cause it to time out in cases of >100k pages.

Step 1
Download the extension code (all three files) from SVN and place it in the extensions/UsageStatistics/ directory.

Step 2
Add the following text to your LocalSettings.php

Step 3
Follow the installation instructions to install the GNUPlot extension.

Step 4
Make sure that your MediaWiki:Common.js page contains a section on Dynamic Navigation Bars. If it does not, or if that page simply does not exist, then make sure to get that section of javascript code from Wikipedia.

Usage
There should now be a new Special Page in your Special:Specialpages list called Usage Statistics. Go to this page. Select a Start Date, End Date, the interval, and the type (cumulative or incremental) of usage extraction.

Click the Generate Statistics button and voila. The output page will contain a graph of usage statistics for the logged in user.

If the logged in user has the viewsystemstats user right (by default, only members of the sysop and manager groups do), then in addition to their personal statistics, they will also see the usage statistics for the entire wiki both in graphical form and CSV raw data form.

Revisions

 * v1.6 - February 29, 2008
 * Internationalized month names and weekday names in calendar lookup
 * improved the way detailed statistics are displayed
 * v1.5 - February 20, 2008
 * use wfLoadExtensionMessages only if it is available and if not (as is the case on some older MW installations), revert back to the old fashioned method of loading messages
 * use a new userright called 'viewsystemstats' to determine with system wide statistics should be displayed
 * v1.4 - February 17, 2008 - uses wfLoadExtensionMessages now for better fallback support and standardised i18n implementation for extensions
 * v1.3 - February 10, 2008 - added more i18n content
 * v1.2 - September 29, 2007 - fixed a bug where MySQL query would get too long when viewing stats for a large number of intervals. Added page statistics to graphs as second Y axis.
 * v1.1 - September 21, 2007 - fixed a bug where the wgDBprefix was hardcoded.
 * v1.0 - September 21, 2007 - published on MediaWiki