Extension:EditCountNeue

The EditCountNeue extension allows wikis to display the number of edits of a user, via a special page or a parser function. It is inspired by, and is rewritten to have more functionality and better support for newer versions of MediaWiki. ''' EditCountNeue is a replacement of Editcount, please disable or remove Editcount before enabling EditCountNeue. '''

Special page
EditCountNeue adds a special page called under  group. Select a user and click to see the the number of edits of the user. It can also be accessed from.

Parser function
EditCountNeue also adds a parser function to retrieve the number of edits of a user. The syntax is:

is required and is the name of the target user.

,  and so on are all optional and are the namespace names or namespace numbers of your need. If specified, the function returns the edit number of the specified namespaces. If omitted, returns the edit number of all namespaces.

An invalid username causes the function to return 0 as the result. An invalid namespace behaves as though that namespace argument does not exist. If all specified namespaces are invalid, the function returns 0.

API
EditCountNeue adds one API module for query number of edits via API.


 * Parameters
 * - The users to retrieve number of edits for.
 * - Only list number of edits in these namespaces.

api.php?action=query&list=editcount&ecuser=Example
 * Example