For privacy I recently made my wiki (Mediawiki 1.7) private and disabled new account creations. To do this I opened LocalSettings.php and added:
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['read'] = false;
The problem is this prevents users logging in. I finally figured out I need to make the login page an exception for anonymous users with:
$wgWhitelistRead = array("Special:Userlogin");
No comments:
Post a Comment