diff --git a/ContributionScores.php b/ContributionScores.php index 587089e..d53b00f 100644 --- a/ContributionScores.php +++ b/ContributionScores.php @@ -31,7 +31,6 @@ $wgContribScoreDisableCache = false; // Set to true to disable cache for parser $wgAutoloadClasses['ContributionScores'] = $dir . 'ContributionScores_body.php'; $wgSpecialPages['ContributionScores'] = 'ContributionScores'; -$wgSpecialPageGroups['ContributionScores'] = 'wiki'; $wgMessagesDirs['ContributionScores'] = __DIR__ . '/i18n'; $wgExtensionMessagesFiles['ContributionScores'] = $dir . 'ContributionScores.i18n.php'; diff --git a/ContributionScores_body.php b/ContributionScores_body.php index 4528b25..36dfd06 100644 --- a/ContributionScores_body.php +++ b/ContributionScores_body.php @@ -248,4 +248,8 @@ class ContributionScores extends IncludableSpecialPage { $out->addHTML( $this->genContributionScoreTable( $days, $revs ) ); } } + + protected function getGroupName() { + return 'wiki'; + } }