Replace deprecated $wgSpecialPageGroups

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

Change-Id: Ia23a52accbaa19b0d451bb0941facc765b4a6db1
This commit is contained in:
umherirrender 2015-05-15 21:49:35 +02:00
parent 421c492ab1
commit 9983344e93
2 changed files with 4 additions and 3 deletions

View file

@ -314,4 +314,8 @@ class SpecialNuke extends SpecialPage {
$this->getOutput()->addHTML( "<ul>\n<li>" . implode( "</li>\n<li>", $res ) . "</li>\n</ul>\n" );
$this->getOutput()->addWikiMsg( 'nuke-delete-more' );
}
protected function getGroupName() {
return 'pagetools';
}
}

View file

@ -32,9 +32,6 @@
"localBasePath": "",
"remoteExtPath": "Nuke"
},
"SpecialPageGroups": {
"Nuke": "pagetools"
},
"GroupPermissions": {
"sysop": {
"nuke": true