Last modified: 2010-05-15 15:56:51 UTC
If I set $wgGroupPermissions['*' ]['createaccount'] = false; in LocalSettings.php I cannot access Spezial:Userlogin (german) This seems a little strange for me, becaus I just wanted to disable the creation of new accounts (techs intranet). * MediaWiki: 1.6.6 * PHP: 5.1.2 (apache) * MySQL: 4.1.12 Bug? Regards Raphael Becker
Works for me. * MediaWiki: 1.6.6 * PHP: 5.1.2 (apache2handler) * MySQL: 5.0.21-Debian_3ubuntu1-log Shouldn't have to do anything with mysql. Do you have made any changes to any config which could be interesting?
var_dump($wgGroupPermissions) and tell us the results.
Just re-testet from my Home-Office with another Browser, here's var_dump: array(6) { ["*"]=> array(5) { ["createaccount"]=> bool(false) ["read"]=> bool(false) ["edit"]=> bool(false) ["createpage"]=> bool(false) ["createtalk"]=> bool(false) } ["user"]=> array(9) { ["move"]=> bool(true) ["read"]=> bool(true) ["edit"]=> bool(true) ["createpage"]=> bool(true) ["createtalk"]=> bool(true) ["upload"]=> bool(true) ["reupload"]=> bool(true) ["reupload-shared"]=> bool(true) ["minoredit"]=> bool(true) } ["autoconfirmed"]=> array(1) { ["autoconfirmed"]=> bool(true) } ["bot"]=> array(2) { ["bot"]=> bool(true) ["autoconfirmed"]=> bool(true) } ["sysop"]=> array(16) { ["block"]=> bool(true) ["createaccount"]=> bool(true) ["delete"]=> bool(true) ["deletedhistory"]=> bool(true) ["editinterface"]=> bool(true) ["import"]=> bool(true) ["importupload"]=> bool(true) ["move"]=> bool(true) ["patrol"]=> bool(true) ["protect"]=> bool(true) ["rollback"]=> bool(true) ["upload"]=> bool(true) ["reupload"]=> bool(true) ["reupload-shared"]=> bool(true) ["unwatchedpages"]=> bool(true) ["autoconfirmed"]=> bool(true) } ["bureaucrat"]=> array(1) { ["userrights"]=> bool(true) } }
Screenshot shows, what I see, if I click the link "anmelden" (="login") http://rabe.uugrn.org/bilder/Computer/Screenshots/pinteam_wiki_no_login.png (~660k) Setting $wgGroupPermissions['*' ]['createaccount'] = true/false toggles this behaviour. Repeatable with different Clients (FF/WinXP, FF/FreeBSD).
You have disabled the ability of non-logged-in users to access pages on the wiki. You must add Spezial:Userlogin to the read whitelist. *** This bug has been marked as a duplicate of 5122 ***