Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/303437
Change subject: AuthManager: Always whitelist some special pages ...................................................................... AuthManager: Always whitelist some special pages Special:UserLogout should be whitelisted, if Special:UserLogin is whitelisted, as otherwise the user is able to login, but not able to logout anymore (given, that the sys-admin hasn't change the $wgWhitelistRead config variable). Also, Special:ChangePassword redirects to Special:ChangeCredentials, which means, that this page has to be whitelisted, instead of Special:ChangePassword. Change-Id: I271efb517bf0ec0022e6fe29673570ca08e8fe1a --- M includes/Title.php 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/37/303437/1 diff --git a/includes/Title.php b/includes/Title.php index ea42768..e135ab0 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2319,8 +2319,9 @@ # If the user is allowed to read pages, he is allowed to read all pages $whitelisted = true; } elseif ( $this->isSpecial( 'Userlogin' ) - || $this->isSpecial( 'ChangePassword' ) + || $this->isSpecial( 'ChangeCredentials' ) || $this->isSpecial( 'PasswordReset' ) + || $this->isSpecial( 'UserLogout' ) ) { # Always grant access to the login page. # Even anons need to be able to log in. -- To view, visit https://gerrit.wikimedia.org/r/303437 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I271efb517bf0ec0022e6fe29673570ca08e8fe1a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits