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: Ic93915eaf68c9f36ff0f139068a8d95951db42aa --- M Moodle.php M SpecialMoodleWS.php 2 files changed, 4 insertions(+), 1 deletion(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/Moodle.php b/Moodle.php index 09813e3..6c83ecd 100644 --- a/Moodle.php +++ b/Moodle.php @@ -14,7 +14,6 @@ $wgExtensionMessagesFiles[ 'MoodleWSAlias' ] = __DIR__ . '/MoodleWS.alias.php'; # Location of an aliases file (Tell MediaWiki to load this file) $wgSpecialPages[ 'MoodleWS' ] = 'SpecialMoodleWS'; # Tell MediaWiki about the new special page and its class name -$wgSpecialPageGroups[ 'MoodleWS' ] = 'other'; /* Complex loading $wgMyExtensionIncludes = __DIR__ . '/includes'; diff --git a/SpecialMoodleWS.php b/SpecialMoodleWS.php index 2bfaea4..3b9592f 100644 --- a/SpecialMoodleWS.php +++ b/SpecialMoodleWS.php @@ -200,4 +200,8 @@ return $out; } + + protected function getGroupName() { + return 'other'; + } } -- To view, visit https://gerrit.wikimedia.org/r/220234 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic93915eaf68c9f36ff0f139068a8d95951db42aa Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Moodle 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