mediawiki-extensions-Contri.../ContributionScores.php
Siebrand Mazeland 837816d6f2 * Fix 'Non-static method ContributionScores::loadMessages() cannot be called statically'
* Using $wgExtensionMessagesFiles now
* Added 4 messages
* update indentation and such
2007-11-27 13:38:37 +00:00

24 lines
783 B
PHP

<?php
/** \file
* \brief Contains setup code for the Contribution Scores Extension.
*/
# Not a valid entry point, skip unless MEDIAWIKI is defined
if (!defined('MEDIAWIKI')) {
echo "Contribution Scores extension";
exit(1);
}
$wgExtensionCredits['specialpage'][] = array(
'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'
);
$dir = dirname(__FILE__) . '/';
$wgExtensionMessagesFiles['ContributionScores'] = $dir . 'ContributionScores.i18n.php';
$wgAutoloadClasses['ContributionScores'] = $dir . 'ContributionScores_body.php';
$wgSpecialPages['ContributionScores'] = 'ContributionScores';