Jump to content

Extension:MW-EditCount: Difference between revisions

From mediawiki.org
Content deleted Content added
No edit summary
No edit summary
Line 90: Line 90:
== Where used ==
== Where used ==


:* [[http://www.capital-market-wiki.org/wiki/index.php?title=User:Ccfa Capital Market Wiki]]: See infobox on user page.
:* [[http://www.capital-market-wiki.org/wiki/index.php?title=User:Ccfa Capital Market Wiki]]: See infobox on user page with edit statistics by namespace.


==Feedback and bugs==
==Feedback and bugs==

Revision as of 19:44, 9 March 2009

MediaWiki extensions manual
EditCount
Release status: stable
File:EditCount.png
Implementation Parser function , Special page , User activity
Description Displays a detailed edit count of users.
Author(s) Benjamin Peterson
Latest version 1.2.9 (2008-01-11)
MediaWiki at least 1.6.10
Licence No licence specified
Download from SourceForge
Example template

Note: This is not the extension found in MediaWiki Subversion (or Wikia).

I am currently looking for a new maintainer for this extension. Please email me if you are interested.

What can this extension do?

This extension creates a special page where one can view the edit count of a user per namespace. It includes the percent of edits that user made in certain namespace as well as total edits. As of version 1.1.0, it includes a parser function which can inline a users edit count. After the name of the user, in 1.2.0, you can put the number or name of a namespace (0 for Main) and get that EditCount.

Parser function examples

Shows the count of the user Benjamin
{{#ec:Benjamin}}

in the 4 namespace
{{#ec:Benjamin|4}}

in the main namespace
{{#ec:Benjamin|0}}

and in the Talk namespace
{{#ec:Benjamin|Talk}}

Installation

This extension is hosted at SourceForge.

Once you download it, de-compress it and add the EditCount directory to the extension directory of your MediaWiki installation. Add the following line to LocalSettings.php:

require_once("$IP/extensions/EditCount/EditCount.php");

Configuration

Remember: Change these only in your LocalSettings.php!

/**
 * True to turn on parser function and false to not
 */
$egECParserFunction = true;

/**
 * An array of the names of the parser functions
 * 
 * This array of parser function names must be single words (can have - and _).
They are not case sensitive.
These will have "#" appended to the front of them in wikimarkup.
 * @var array
 */
$egECParserFunctionNames = array("editcount", "ec");

/**
 * True to enable the Special:EditCount page
 */
$egECEnableSpecialPage = true;

If you want to help

EditCount needs translators. Feel free to download it and translate it into your native (or non-native) language. Then email the .i18.php file to gutworth at users.sourceforge.net. See the language table for more information.

Language information

Language Translated by Other notes
Brazilian Portuguese SoQuadrinhos  
Dutch warddr  
English -  
Finnish Drall  
French BigSmooth  
German Mooncrater  
Polish Mori Akaice  

Where used

Feedback and bugs

To report bugs or give feedback, please leave a message on the talk page.