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: Iaa9265112da0bd65bfb6d74996a1ac67a1c28b5d
---
M SpecialWebFonts.php
M WebFonts.php
2 files changed, 4 insertions(+), 1 deletion(-)

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



diff --git a/SpecialWebFonts.php b/SpecialWebFonts.php
index 66431b4..e1f64d9 100644
--- a/SpecialWebFonts.php
+++ b/SpecialWebFonts.php
@@ -72,4 +72,8 @@
                        $download .
                        Html::closeElement( 'div' );
        }
+
+       protected function getGroupName() {
+               return 'wiki';
+       }
 }
diff --git a/WebFonts.php b/WebFonts.php
index 0af5efc..8dacdf9 100644
--- a/WebFonts.php
+++ b/WebFonts.php
@@ -46,7 +46,6 @@
 $wgWebFontsEnabledByDefault = true;
 
 $wgSpecialPages['WebFonts'] = 'SpecialWebFonts';
-$wgSpecialPageGroups['WebFonts'] = 'wiki';
 
 $wgResourceModules['ext.webfonts.init'] = array(
        'scripts' => 'resources/ext.webfonts.init.js',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa9265112da0bd65bfb6d74996a1ac67a1c28b5d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WebFonts
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>
Gerrit-Reviewer: Legoktm <legoktm.wikipe...@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