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: Ia1932fba3d1c8092078c62529a54972e4e72a227
---
M SpecialTranslateNewSVG.php
M TranslateSvg.php
2 files changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/SpecialTranslateNewSVG.php b/SpecialTranslateNewSVG.php
index 53e77b7..4a79566 100644
--- a/SpecialTranslateNewSVG.php
+++ b/SpecialTranslateNewSVG.php
@@ -88,4 +88,8 @@
        function getDescription() {
                return $this->msg( 'translate-svg-new-title' )->text();
        }
+
+       protected function getGroupName() {
+               return 'wiki';
+       }
 }
diff --git a/TranslateSvg.php b/TranslateSvg.php
index 4e604cb..92e5de0 100644
--- a/TranslateSvg.php
+++ b/TranslateSvg.php
@@ -99,7 +99,6 @@
 $wgHooks['UnitTestsList'][] = 'TranslateSvgHooks::onUnitTestsList';
 
 $wgSpecialPages['TranslateNewSVG'] = 'SpecialTranslateNewSVG';
-$wgSpecialPageGroups['TranslateNewSVG'] = 'wiki';
 $wgTranslateMessageNamespaces[] = NS_FILE;
 
 /**

-- 
To view, visit https://gerrit.wikimedia.org/r/220809
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia1932fba3d1c8092078c62529a54972e4e72a227
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TranslateSvg
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>
Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to