Extension:Usage Statistics
From MediaWiki.org
|
Usage Statistics Release status: stable |
|
|---|---|
| Implementation | Special page, Database |
| Description | View usage statistics on per user basis and the site as a whole |
| Author(s) | Paul Grinberg |
| Version | v1.7 (May 2, 2008) |
| MediaWiki | 1.9.3+ |
| Download | Download here |
Contents |
[edit] 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.
[edit] Installation Instructions
[edit] Step 1
Download the extension code (all three files) from SVN and place it in the extensions/UsageStatistics/ directory.
[edit] Step 2
Add the following text to your LocalSettings.php
require_once( "$IP/extensions/UsageStatistics/SpecialUserStats.php" );
[edit] Step 3
Follow the installation instructions to install the GNUPlot extension.
[edit] Step 4
Make sure that your MediaWiki:Common.js and MediaWiki:Common.css pages contain a section on Dynamic Navigation Bars. If it does not, or if that page simply does not exist, then make sure to get those pages from Wikipedia (wikipedia:MediaWiki:Common.js and wikipedia:MediaWiki:Common.css).
[edit] 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.

[edit] Revisions
- v1.7
- fixed a bug in generating day names
- updated translations
- 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

