Extension:Cheevos

From Gamepedia Help Wiki
Jump to: navigation, search
Cheevos
Version 1.0.1
Author(s)  • Hydra Wiki Platform Team
Extension link GitLab
Description
Awards achievements to editors for varying levels of accomplishments.

Cheevos is a MediaWiki extension that tracks a user's progress as a wiki editor and awards achievement icons, badges, and points when meeting certain criteria. It works primarily against the MediaWiki system of hooks to link into the core and other extensions.

To see general information about achievements on Gamepedia including a full list and a guide for creating/editing achievements, please see Achievements.

Usage[edit | edit source]

The list of visible achievements can be viewed at Special:Achievements. Administrators are able to view secret achievements and make changes through the same interface. Achievements can be made to award based on MediaWiki Hooks and require other achievements as prerequisites.

WikiPoints[edit | edit source]

WikiPoints tabulates and awards points for wiki editors based on the size and breadth of their contributions. A single edit could earn a different amount of points from wiki to wiki and from day to day depending on how much editing activity has happened over the past week. Point rewards drop as an editor's activity spikes, and rewards go up as editing activity dries up. Editors who meet a certain threshold are considered active editors and given free Gamepedia PRO as a thank you.

Special Pages[edit | edit source]

WikiPoints adds two special pages to a wiki:

  • Special:WikiPoints is available to everyone and displays the top editors from the current wiki (made obsolete by the parser function below).
  • Special:WikiPointsAdmin is available only to users in the sysop group and provides point moderation functionality. The initial page shows points earned from recent edits. A user can be looked up by user name, and points can be revoked per edit if they are found to be abusing the system.

Points Parser Function[edit | edit source]

A single parser function allows you to display the points earned by a specific editor, or the top X editors from any wiki on the gamepedia platform. Up to three arguments may be specified:

  • (Optional) Specify an user name to pull back only that user in the format of User:Example
  • (Optional) Maximum number of users to return. Defaults to 25 Maximum of 200
  • (Optional) Wiki context - Omit to show only the current wiki, use all to list per wiki, or use global to list an aggregate of all wikis per user.

Examples[edit | edit source]

Default: {{#Points:}} (displays the top 25 editors for the current wiki)

Rank User Score
1 Game widow (talk | contribs) 29198
2 Pcj (talk | contribs) 17792
3 Alianin (talk | contribs) 15041
4 Xbony2 (talk | contribs) 10194
5 RheingoldRiver (talk | contribs) 9293
6 BaRaN6161TURK (talk | contribs) 7800
7 Madminecrafter12 (talk | contribs) 7799
8 AttemptToCallNil (talk | contribs) 6991
9 MarkusRost (talk | contribs) 5417
10 Nivmizzetreborn (talk | contribs) 5364
11 Frisk (talk | contribs) 5185
12 Mr Pie 5 (talk | contribs) 5070
13 Mistastinky (talk | contribs) 4917
14 SBEyes (talk | contribs) 4896
15 Kittymmeow (talk | contribs) 4850
16 CrsBenjamin (talk | contribs) 4489
17 DSquirrelGM (talk | contribs) 4441
18 Encredechine (talk | contribs) 4327
19 Fadyblok240 (talk | contribs) 4055
20 Smokie (talk | contribs) 4046
21 Sonicwave (talk | contribs) 3952
22 Magiczocker (talk | contribs) 3926
23 Harry granger (talk | contribs) 3925
24 呼儿 (talk | contribs) 3852
25 Jack McKalling (talk | contribs) 3829

Top 10: {{#Points:|10}}

Rank User Score
1 Game widow (talk | contribs) 29198
2 Pcj (talk | contribs) 17792
3 Alianin (talk | contribs) 15041
4 Xbony2 (talk | contribs) 10194
5 RheingoldRiver (talk | contribs) 9293
6 BaRaN6161TURK (talk | contribs) 7800
7 Madminecrafter12 (talk | contribs) 7799
8 AttemptToCallNil (talk | contribs) 6991
9 MarkusRost (talk | contribs) 5417
10 Nivmizzetreborn (talk | contribs) 5364

Top 10 across Gamepedia per wiki: {{#Points:|10|all}}

Rank UserWikiScore
No results found.

Top 10 across Gamepedia per wiki: {{#Points:|10|global}}

Rank User Score
1 Game widow (talk | contribs) 4407811
2 Tagaziel (talk | contribs) 3058951
3 RheingoldRiver (talk | contribs) 3048542
4 Morderi (talk | contribs) 2516968
5 SandovalCurse (talk | contribs) 2232907
6 Wagnike2 (talk | contribs) 2078582
7 Hawchang (talk | contribs) 1741209
8 Nivmizzetreborn (talk | contribs) 1726181
9 PeterWind (talk | contribs) 1666159
10 Mistastinky (talk | contribs) 1626230

Single user, current wiki: {{#Points:User:Game_widow}}

Rank User Score
1 Game widow (talk | contribs) 29198

Single user across Gamepedia per wiki: {{#Points:User:Game_widow|5|all}}

Rank UserWikiScore
1 Game widow (talk | contribs)b9f797679fdef3a64f17fb7c85101a1b758930
2 Game widow (talk | contribs)Skyrim Wiki (DE)229121
3 Game widow (talk | contribs)Sorceleur Wiki (FR)223441
4 Game widow (talk | contribs)6d5d30f9ab44435631f414712e9da656194459
5 Game widow (talk | contribs)Witcher Wiki (IT)186117

Single user across Gamepedia: {{#Points:User:Game_widow|1|global}}

Rank User Score
1 Game widow (talk | contribs) 4407811

Hooks[edit | edit source]

WikiPointsSave[edit | edit source]

  • Arguments: $editId, $userId, $articleId, $score, $calculationInfo, $reason = ''
  • Define: static public function onWikiPointsSave($editId, $userId, $articleId, $score, $calculationInfo, $reason = '') { ... }
  • Attach: $wgHooks['WikiPointsSave'][] = 'MyExtensionHooks::onWikiPointsSave';

External links[edit | edit source]