Last modified: 2012-04-12 13:55:22 UTC
When the createaccount right has been reserved for sysops, regular users only see the 'login' link when they arrive at the wiki, not the 'login/create account' link. I have encountered situations (not sure why, don't care much why either) in which some cookies lingered after a session expired. In particular, for a user with sysop rights the UserName and UserID cookies remained, while the session and Token cookies had disappeared. The problem here is the UserID cookie: whenever that cookie is present, the (now anonymous!) user is greeted with a 'login/create account' link instead of only a 'login' link. Steps to reproduce: 0. Set $wgGroupPermissions['*']['createaccount'] = false; result: anonymous user sees "Login" link instead of "Login/Create account" 1. Log in as a user with sysop rights 2. Delete the "session" and "Token" cookies from your system. Ensure the "UserID" cookie remains. 3. Refresh the page (F5) result: the (now anonymous) user sees "Login/Create account" link. Should be "Login". Note that, even though the wrong link is displayed, the user is still not able to create an account. 4. Delete the "UserID" cookie 5. Refresh the page (F5) result: the (still anonymous) user correctly sees only the "Login" link again.
Did you upgrade to 1.16.5 which fixes known related problems?
No, I did not. I'll report back once I've tried.
1.16.5 fixes this issue. Thanks!
*** This bug has been marked as a duplicate of bug 28639 ***