How to protect MediaWiki so only registered members can read?
Apply the following change in your LocalSettings.php file accordingly:
$wgWhitelistRead = array(“Special:Userlogin”, “-“, “MediaWiki:Monobook.css” );
$wgGroupPermissions[‘*’][‘read’] = false;