2005-07-14 17:53:27 +00:00
|
|
|
<?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
|
2005-08-26 14:20:43 +00:00
|
|
|
* included like {{Special:Editcount/user[/namespace]}}
|
2005-07-14 17:53:27 +00:00
|
|
|
*
|
2007-01-20 15:10:35 +00:00
|
|
|
* @addtogroup Extensions
|
2005-07-14 17:53:27 +00:00
|
|
|
*
|
|
|
|
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
|
2005-09-27 19:50:49 +00:00
|
|
|
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
|
2005-07-14 17:53:27 +00:00
|
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
|
|
|
|
*/
|
|
|
|
|
|
|
|
$wgExtensionCredits['specialpage'][] = array(
|
|
|
|
'name' => 'Editcount',
|
2008-05-06 11:59:58 +00:00
|
|
|
'svn-date' => '$LastChangedDate$',
|
|
|
|
'svn-revision' => '$LastChangedRevision$',
|
2007-01-11 06:28:30 +00:00
|
|
|
'author' => 'Ævar Arnfjörð Bjarmason',
|
|
|
|
'description' => 'Displays [[Special:Editcount|edit count]] of a user',
|
2008-02-06 13:51:26 +00:00
|
|
|
'descriptionmsg' => 'editcount-desc',
|
2008-01-11 08:09:43 +00:00
|
|
|
'url' => 'http://www.mediawiki.org/wiki/Extension:Editcount',
|
2005-07-14 17:53:27 +00:00
|
|
|
);
|
|
|
|
|
2008-01-11 08:09:43 +00:00
|
|
|
$dir = dirname(__FILE__) . '/';
|
2008-07-09 18:40:42 +00:00
|
|
|
$wgExtensionMessagesFiles['Editcount'] = $dir . 'SpecialEditcount.i18n.php';
|
|
|
|
$wgExtensionAliasesFiles['Editcount'] = $dir . 'SpecialEditcount.alias.php';
|
2008-01-11 08:09:43 +00:00
|
|
|
$wgAutoloadClasses['Editcount'] = $dir . 'SpecialEditcount_body.php';
|
|
|
|
$wgSpecialPages['Editcount'] = 'Editcount';
|