mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki
synced 2024-11-24 06:24:16 +00:00
Replace deprecated $wgSpecialPageGroups
$wgSpecialPageGroups is deprecated since 1.21 override SpecialPage::getGroupName instead Change-Id: I512120e9cf7245dbe2225c6bc5cc20549745ef04
This commit is contained in:
parent
dd9db2c416
commit
53cd67a722
|
@ -482,6 +482,10 @@ class SpecialInterwiki extends SpecialPage {
|
|||
$args = func_get_args();
|
||||
$this->getOutput()->wrapWikiMsg( "<p class='error'>$1</p>", $args );
|
||||
}
|
||||
|
||||
protected function getGroupName() {
|
||||
return 'wiki';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -45,9 +45,6 @@
|
|||
"localBasePath": "",
|
||||
"remoteExtPath": "Interwiki"
|
||||
},
|
||||
"SpecialPageGroups": {
|
||||
"Interwiki": "wiki"
|
||||
},
|
||||
"SpecialPages": {
|
||||
"Interwiki": "SpecialInterwiki"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue