jenkins-bot has submitted this change and it was merged.
Change subject: Replace deprecated $wgSpecialPageGroups
......................................................................
Replace deprecated $wgSpecialPageGroups
$wgSpecialPageGroups is deprecated since 1.21
override SpecialPage::getGroupName instead
Change-Id: Ia83d3bc0e39bf5d9ea49969c495b81b522e876db
---
M ContributionScores.php
M ContributionScores_body.php
2 files changed, 4 insertions(+), 1 deletion(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ContributionScores.php b/ContributionScores.php
index 587089e..d53b00f 100644
--- a/ContributionScores.php
+++ b/ContributionScores.php
@@ -31,7 +31,6 @@
$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 @@
$out->addHTML( $this->genContributionScoreTable( $days,
$revs ) );
}
}
+
+ protected function getGroupName() {
+ return 'wiki';
+ }
}
--
To view, visit https://gerrit.wikimedia.org/r/220230
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia83d3bc0e39bf5d9ea49969c495b81b522e876db
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ContributionScores
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits