mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-24 00:05:33 +00:00
Replace deprecated $wgSpecialPageGroups
$wgSpecialPageGroups is deprecated since 1.21 override SpecialPage::getGroupName instead Change-Id: Ia23a52accbaa19b0d451bb0941facc765b4a6db1
This commit is contained in:
parent
421c492ab1
commit
9983344e93
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,9 +32,6 @@
|
|||
"localBasePath": "",
|
||||
"remoteExtPath": "Nuke"
|
||||
},
|
||||
"SpecialPageGroups": {
|
||||
"Nuke": "pagetools"
|
||||
},
|
||||
"GroupPermissions": {
|
||||
"sysop": {
|
||||
"nuke": true
|
||||
|
|
Loading…
Reference in a new issue