Last modified: 2007-01-26 05:47:23 UTC
If you set $wgGroupPermissions['*' ]['read'] = false; then anonymous users have to login to view any pages not on the whitelist. If they attempt to access a page that is not on the whitelist then they are given a notice that they need to login, and after about 10 seconds the page redirects to the Main Page. However, if the Main Page is not on the whitelist, then this results in repeated reloading of the same page. The software should detect this condition and only redirect if the destination is in the whitelist.
Are you sure this is still a current problem? I seem to recall adding an explicit check to that code to prevent an unhelpful "return to" in response to an almost identical bug report.
No, actually. I will check it against HEAD and let you know.
Found the following at line 871 of OutputPage.php, in function loginToUse() # Don't return to the main page if the user can't read it # otherwise we'll end up in a pointless loop $mainPage = Title::newMainPage(); if( $mainPage->userCanRead() ) $this->returnToMain( true, $mainPage ); So I guess it's already fixed!