mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 00:05:24 +00:00
Replace deprecated $wgSpecialPageGroups
$wgSpecialPageGroups is deprecated since 1.21 override SpecialPage::getGroupName instead Change-Id: I131cc6af6dd4a668426d47132a5fd1d3331766a2
This commit is contained in:
parent
dfa0b83f81
commit
633472edf8
|
@ -53,7 +53,6 @@ $wgAutoloadClasses['Base32'] = $dir . 'lib/base32.php';
|
|||
$wgAutoloadClasses['OATHUser'] = $dir . 'OATHUser.php';
|
||||
$wgAutoloadClasses['SpecialOATH'] = $dir . 'special/SpecialOATH.php';
|
||||
$wgSpecialPages['OATH'] = 'SpecialOATH';
|
||||
$wgSpecialPageGroups['OATH'] = 'oath';
|
||||
|
||||
$wgResourceModules['ext.oathauth'] = array(
|
||||
'scripts' => array(
|
||||
|
|
|
@ -444,4 +444,7 @@ class SpecialOATH extends UnlistedSpecialPage {
|
|||
return true;
|
||||
}
|
||||
|
||||
protected function getGroupName() {
|
||||
return 'oath';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue