This patch is a quick fix for REL1_18 branch.
For later:
We should not have hack in Title.php to allow some specific special pages
this should be made possible using SpecialPage. Would make code cleaner.
# Always grant access to the login page.
# Even anons need to be able to log in.
- if ( $this->isSpecial( 'Userlogin' ) || $this->isSpecial( 'ChangePassword' ) ) {
+ if ( $this->isSpecial( 'Userlogin' )
+ || $this->isSpecial( 'ChangePassword' )
+ || $this->isSpecial( 'PasswordReset' )
+ ) {
return $errors;
}