mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-12-18 02:00:40 +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' )
|
Xml::closeElement( 'form' )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function getGroupName() {
|
||||||
|
return 'pagetools';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class CiteThisPageOutput {
|
class CiteThisPageOutput {
|
||||||
|
|
|
@ -33,9 +33,6 @@
|
||||||
"localBasePath": "modules",
|
"localBasePath": "modules",
|
||||||
"remoteExtPath": "CiteThisPage/modules"
|
"remoteExtPath": "CiteThisPage/modules"
|
||||||
},
|
},
|
||||||
"SpecialPageGroups": {
|
|
||||||
"CiteThisPage": "pagetools"
|
|
||||||
},
|
|
||||||
"SpecialPages": {
|
"SpecialPages": {
|
||||||
"CiteThisPage": "SpecialCiteThisPage"
|
"CiteThisPage": "SpecialCiteThisPage"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue