2007-08-22 19:25:22 +00:00
|
|
|
<?php
|
2007-08-26 14:39:17 +00:00
|
|
|
/** \file
|
|
|
|
* \brief Contains setup code for the Contribution Scores Extension.
|
|
|
|
*/
|
|
|
|
|
2007-08-22 19:25:22 +00:00
|
|
|
# Not a valid entry point, skip unless MEDIAWIKI is defined
|
|
|
|
if (!defined('MEDIAWIKI')) {
|
2007-11-27 13:38:37 +00:00
|
|
|
echo "Contribution Scores extension";
|
|
|
|
exit(1);
|
2007-08-22 19:25:22 +00:00
|
|
|
}
|
2007-11-27 13:38:37 +00:00
|
|
|
|
2007-08-22 19:25:22 +00:00
|
|
|
$wgExtensionCredits['specialpage'][] = array(
|
2007-11-27 13:38:37 +00:00
|
|
|
'name'=>'Contribution Scores',
|
|
|
|
'url'=>'http://www.mediawiki.org/wiki/Extension:Contribution_Scores',
|
|
|
|
'author'=>'Tim Laqua, Siebrand Mazeland',
|
|
|
|
'description'=>'Polls wiki database for highest user contribution volume',
|
|
|
|
'version'=>'1.5'
|
2007-08-22 19:25:22 +00:00
|
|
|
);
|
2007-11-27 13:38:37 +00:00
|
|
|
|
|
|
|
$dir = dirname(__FILE__) . '/';
|
|
|
|
$wgExtensionMessagesFiles['ContributionScores'] = $dir . 'ContributionScores.i18n.php';
|
|
|
|
$wgAutoloadClasses['ContributionScores'] = $dir . 'ContributionScores_body.php';
|
|
|
|
|
2007-08-22 19:25:22 +00:00
|
|
|
$wgSpecialPages['ContributionScores'] = 'ContributionScores';
|