Merge "List special pages under appropriate sections on Special:SpecialPages"

This commit is contained in:
jenkins-bot 2023-03-28 11:05:40 +00:00 committed by Gerrit Code Review
commit 65691d1334
3 changed files with 21 additions and 0 deletions

View file

@ -34,6 +34,13 @@ class DisableOATHForUser extends FormSpecialPage {
$this->userFactory = $userFactory;
}
/**
* @inheritDoc
*/
protected function getGroupName() {
return 'users';
}
public function doesWrites() {
return true;
}

View file

@ -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

View file

@ -39,6 +39,13 @@ class VerifyOATHForUser extends FormSpecialPage {
$this->userFactory = $userFactory;
}
/**
* @inheritDoc
*/
protected function getGroupName() {
return 'users';
}
public function doesWrites() {
return true;
}