Extension:Contributions
From MediaWiki.org
|
Contributions Release status: experimental |
|||
|---|---|---|---|
| Implementation | User activity, Page action, Special page | ||
| Description | Polls wiki database for author contributions | ||
| Author(s) | Tian Ming | ||
| Last version | 1.0 (2011-09-08) | ||
| MediaWiki | 1.10+ | ||
| PHP | 5.0+ | ||
| License | GPL License | ||
| Download | Project page Download snapshot Subversion [Help] Browse source code |
||
|
|||
| Check usage and version matrix | |||
Contents |
What can this extension do? [edit]
This extension is based on Extension:Contribution Scores for polling the Wiki Database to measure the contributions of individual athors. We determine six metrics in the light of related research’s findings to measure author contribution namely: number of pages, number of edits, number of words, number of views, edit longevity and user ratings. Finally, you will have a new Special Page titled "Contributions".
The Contributions extension is still working in progress. It depends on Extension:AjaxRatingScript.
Usage [edit]
- Follow Installation
Download instructions [edit]
The extension is available here: version1.0
Installation [edit]
- Make sure you have Extension:AjaxRatingScript installed
- Download the files and place them under $IP/extensions/Contributions
- Add the required tables and corresponding initialization to the database: EditDistance.sql (your designated database user needs to have CREATE rights on your MediaWiki database)
- Add the following code to your LocalSettings.php (at the bottom)
- Installation can be verified through Special:Version
require_once( "$IP/extensions/Contributions/Contributions.php" ); $wgContribScoreIgnoreBots = true; // Exclude Bots from the reporting - Can be omitted. $wgContribScoreIgnoreBlockedUsers = true; // Exclude Blocked Users from the reporting - Can be omitted. $wgContribScoreDisableCache = false; // Set to true to disable cache for parser function and inclusion of table $wgContribScoreReports = array( array(7,50), array(30,50), array(0,50));