Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/220230

Change subject: Replace deprecated $wgSpecialPageGroups
......................................................................

Replace deprecated $wgSpecialPageGroups

$wgSpecialPageGroups is deprecated since 1.21
override SpecialPage::getGroupName instead

Change-Id: Ia83d3bc0e39bf5d9ea49969c495b81b522e876db
---
M ContributionScores_body.php
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContributionScores 
refs/changes/30/220230/1

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: newchange
Gerrit-Change-Id: Ia83d3bc0e39bf5d9ea49969c495b81b522e876db
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContributionScores
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to