mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-23 23:24:09 +00:00
Replace deprecated $wgSpecialPageGroups
$wgSpecialPageGroups is deprecated since 1.21
override SpecialPage::getGroupName instead
Change-Id: I34c23170b839ac876bcdf5b384d4a14a9c5f7f02
(cherry picked from commit 9198c04a02
)
This commit is contained in:
parent
2220263fb0
commit
e3b3585517
|
@ -60,6 +60,10 @@ class SpecialCiteThisPage extends SpecialPage {
|
|||
Xml::closeElement( 'form' )
|
||||
);
|
||||
}
|
||||
|
||||
protected function getGroupName() {
|
||||
return 'pagetools';
|
||||
}
|
||||
}
|
||||
|
||||
class CiteThisPageOutput {
|
||||
|
|
|
@ -33,9 +33,6 @@
|
|||
"localBasePath": "modules",
|
||||
"remoteExtPath": "CiteThisPage/modules"
|
||||
},
|
||||
"SpecialPageGroups": {
|
||||
"CiteThisPage": "pagetools"
|
||||
},
|
||||
"SpecialPages": {
|
||||
"CiteThisPage": "SpecialCiteThisPage"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue