Extension:SpecialUserScore

User Score
For a smaller installation of MediaWiki it may be useful to watch who are the most active users. This special page shows the list of users sorted by the number of contributions.


 * MediaWiki Version:
 * The code was written for MediaWiki 1.6.3
 * should work with 1.5.x.
 * successfully tested in MediaWiki 1.9.0 and 1.10.0
 * Unsuccessfully tested in MediaWiki 1.13.4, PHP 5.1.6(apache2handler) MySQL 5.0.22
 * Tested successfully on 1.15.1; instructions below were inaccurate (includes/specials, not includes)
 * MediaWiki 1.18.0: A version that works with 1.18.0 has been imported into GitHub

Security
The access to this page should be restricted to those who are managing the user accounts. This is done in the registration of the extension.

Installation
Note: As of MediaWiki 1.18.0, the version below does not work due to several breaking changes. A version that works with 1.18.0 has been imported into GitHub

The installation follows the common way for adding special pages.

Changing Configuration
Add the following line to the end of LocalSettings.php:

Register Special Page
Add the new file SpecialUserScore.php into the directory extensions:

Source Code
Note, the extension did not work on 1.15.1 with the file in includes; hence these instructions have been modified: Add the new file SpecialUserScore.php into the directory includes/specials with this code:

Room for Improvement

 * Language support: Page header and report should use the translation function. Current code is in english.
 * SQL: For large databases an index on  should be added on the table.
 * Make into a proper extension that doesn't require copying the special page into the "includes" directory and modifying core files that will get changed in the next MediaWiki version.
 * Add % of total wiki edits.
 * Add option for filtering by certain time frames, IE past 30 days
 * Improving editcount by counting each edit
 * Add in other main content namespaces besides just the main namespace

Similar Extensions

 * Contribution Scores