On Thu, Sep 4, 2008 at 7:01 PM, lists.filbranden@idilia.com wrote:
This are the variables that I added to DefaultSettings.php:
/**
- Set the $wgRedirectMustLogin flag to skip the "You must log in to
- view other pages." notice when you do not have enough rights to view
- the page. Set the $wgRedirectLoggedIn flag to skip the "You are now
- logged in to ..." notice after you log in successfully.
- These are convenient in a private Wiki, if you also set
- $wgGroupPermissions['*']['read'], ['edit'] and
- ['createaccount'] to false.
*/ $wgRedirectMustLogin = false; $wgRedirectLoggedIn = false;
Unless anyone can come up with a use case where these would be handy, I'd say they should both be removed, and the features always enabled.
I am sending the patch attached with this e-mail. I created the patch with a "svn diff" on the trunk of phase3. I tested it against MediaWiki 1.13, it applies cleanly and it works.
As Thomas Dalton says, this list doesn't accept attachments. Please post the patch to some relevant bug on Bugzilla, such as https://bugzilla.wikimedia.org/show_bug.cgi?id=10868, and post here saying which bug you've put the patch on. I'd be willing to review, and commit if appropriate.