Knowledge Base Article

How to protect MediaWiki so only registered members can read?

If you want to set up MediaWiki in a way that only registered members can read, you have to edit the following lines in your LocalSettings.php file:

$wgWhitelistRead = array("Special:Userlogin", "-", "MediaWiki:Monobook.css" );
$wgGroupPermissions['*']['read'] = false;



Rating

Please indicate if this article was helpful for you.

rating :  4.4 from 5
views :  443
votes :  8

Valid XHTML 1.0 Strict Valid CSS!