mediawiki-extensions-Editcount/SpecialEditcount.php
Jon Harald Søby 181f258ab4 * Adding special page alias in Editcount, EditUser, EmailArticle, Eval, GlobalBlocking and ImportUsers
* Fixing error I added in r37418 (AdvancedRandom)
* Adding alias files for Editcount, EditUser, EmailArticle, Eval, GlobalBlocking and ImportUsers to aliases.txt in Translate
2008-07-09 18:40:42 +00:00

31 lines
1.1 KiB
PHP

<?php
if (!defined('MEDIAWIKI')) die();
/**
* A Special Page extension that displays edit counts.
*
* This page can be accessed from Special:Editcount[/user] as well as being
* included like {{Special:Editcount/user[/namespace]}}
*
* @addtogroup Extensions
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
*/
$wgExtensionCredits['specialpage'][] = array(
'name' => 'Editcount',
'svn-date' => '$LastChangedDate$',
'svn-revision' => '$LastChangedRevision$',
'author' => 'Ævar Arnfjörð Bjarmason',
'description' => 'Displays [[Special:Editcount|edit count]] of a user',
'descriptionmsg' => 'editcount-desc',
'url' => 'http://www.mediawiki.org/wiki/Extension:Editcount',
);
$dir = dirname(__FILE__) . '/';
$wgExtensionMessagesFiles['Editcount'] = $dir . 'SpecialEditcount.i18n.php';
$wgExtensionAliasesFiles['Editcount'] = $dir . 'SpecialEditcount.alias.php';
$wgAutoloadClasses['Editcount'] = $dir . 'SpecialEditcount_body.php';
$wgSpecialPages['Editcount'] = 'Editcount';