2005-07-14 17:53:27 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
*
|
2010-06-06 15:12:22 +00:00
|
|
|
* @file
|
|
|
|
* @ingroup 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
|
|
|
|
*/
|
|
|
|
|
2014-06-18 14:50:48 +00:00
|
|
|
if ( !defined( 'MEDIAWIKI' ) ) {
|
|
|
|
die();
|
|
|
|
}
|
|
|
|
|
2005-07-14 17:53:27 +00:00
|
|
|
$wgExtensionCredits['specialpage'][] = array(
|
2009-04-27 03:15:19 +00:00
|
|
|
'path' => __FILE__,
|
2005-07-14 17:53:27 +00:00
|
|
|
'name' => 'Editcount',
|
2007-01-11 06:28:30 +00:00
|
|
|
'author' => 'Ævar Arnfjörð Bjarmason',
|
2008-02-06 13:51:26 +00:00
|
|
|
'descriptionmsg' => 'editcount-desc',
|
2011-12-13 23:49:33 +00:00
|
|
|
'url' => 'https://www.mediawiki.org/wiki/Extension:Editcount',
|
2005-07-14 17:53:27 +00:00
|
|
|
);
|
|
|
|
|
2014-03-31 12:37:42 +00:00
|
|
|
$wgMessagesDirs['Editcount'] = __DIR__ . '/i18n';
|
2014-06-16 05:49:51 +00:00
|
|
|
$wgExtensionMessagesFiles['Editcount'] = __DIR__ . '/Editcount.i18n.php';
|
|
|
|
$wgExtensionMessagesFiles['EditcountAliases'] = __DIR__ . '/Editcount.alias.php';
|
|
|
|
$wgAutoloadClasses['Editcount'] = __DIR__ . '/Editcount_body.php';
|
2008-01-11 08:09:43 +00:00
|
|
|
$wgSpecialPages['Editcount'] = 'Editcount';
|