Extension:MW-EditCount: Difference between revisions
m different extension |
it isn't mw-editcount... it's just Editcount |
||
| Line 11: | Line 11: | ||
|mediawiki = at least 1.6.10 |
|mediawiki = at least 1.6.10 |
||
|license = GPL |
|license = GPL |
||
|download = {{WikimediaDownload| |
|download = {{WikimediaDownload|Editcount}} or [http://www.sourceforge.net/projects/mw-editcount from SourceForge] for old code |
||
|description = Displays a detailed edit count of users. |
|description = Displays a detailed edit count of users. |
||
|example = [http://desciclopedia.org/wiki/Predefinição:UB/Editcount template] |
|example = [http://desciclopedia.org/wiki/Predefinição:UB/Editcount template] |
||
Revision as of 03:34, 11 April 2011
Release status: stable |
|
|---|---|
| File:EditCount.png | |
| Implementation | Parser function, Special page, User activity |
| Description | Displays a detailed edit count of users. |
| Author(s) | Fahad Sadah |
| Latest version | 1.2.9 (2008-01-11) |
| MediaWiki | at least 1.6.10 |
| Licence | GNU General Public License (any version) |
| Download | or from SourceForge for old code |
| Example | template |
| Translate the MW-EditCount extension if it is available at translatewiki.net | |
Note: This is not the extension found in MediaWiki Subversion (or Wikia).
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 was formerly hosted at SourceForge, but has been moved to Wikimedia's svn.
Old installations and the old code was intended to be placed in the EditCount directory, however in svn it is located in mw-editcount as the extension would conflict with the Editcount extension in svn. When upgrading from the old code it's recommended to add the new code in the new directory, change your include line, and delete the old code.
Once you download it, and decompress it to the extensions directory. Add the following line to LocalSettings.php (old code uses EditCount instead of mw-editcount):
require_once("$IP/extensions/mw-editcount/EditCount.php");
- MediaWiki versions
- Unsuccessfully tested in MediaWiki 1.13.4 PHP 5.1.6(apache2handler) MySQL 5.0.22
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 fahadsadah@gmail.com. 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 |
Feedback and bugs
To report bugs or give feedback, please leave a message on the talk page.
