Extension:Contribution Scores/cs

The Contribution Scores extension polls the wiki database to locate contributors with the highest contribution volume – it is also in stable use on a high-volume wiki such as translatewiki.net. The extension is intended to add a fun metric for contributors to see how much they are helping out.

The score is defined as (number of unique pages edited) + 2 * square root ((number of edits) - (number of unique pages edited)).

Contribution score
The contribution score is computed using the following SQL formula:

Appearance
The following CSS classes are used, but NOT defined - you can define them in your "MediaWiki:Common.css" article:

Adding a link to in the sidebar
Edit MediaWiki:Sidebar and add the line

** Special:Contributionscores|contributionscores

Special Page
You will have a new Special Page titled "Contribution Scores"

Inclusion/Transclusion
You can include this special page in to other pages using the following wikitext:


 * 10 top contributors from the last 5 days
 * 10 top contributors since the beginning of wiki
 * 15 top contributors from the last 7 days, no tool links
 * 15 top contributors from the last 3 days, not sortable and no tool links

Parser Function Examples
Contribution Score for Tim Laqua Changes Made for Tim Laqua Unique Pages Edited for Tim Laqua