mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 00:05:24 +00:00
Merge "List special pages under appropriate sections on Special:SpecialPages"
This commit is contained in:
commit
65691d1334
|
@ -34,6 +34,13 @@ class DisableOATHForUser extends FormSpecialPage {
|
|||
$this->userFactory = $userFactory;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function getGroupName() {
|
||||
return 'users';
|
||||
}
|
||||
|
||||
public function doesWrites() {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -84,6 +84,13 @@ class OATHManage extends SpecialPage {
|
|||
$this->authUser = $this->userRepo->findByUser( $this->getUser() );
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function getGroupName() {
|
||||
return 'login';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param null|string $subPage
|
||||
* @return void
|
||||
|
|
|
@ -39,6 +39,13 @@ class VerifyOATHForUser extends FormSpecialPage {
|
|||
$this->userFactory = $userFactory;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function getGroupName() {
|
||||
return 'users';
|
||||
}
|
||||
|
||||
public function doesWrites() {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue