MediaWiki:Wikia.css

$wgGroupPermissions['*']['read'] = true;
 * 1) Disable reading by anonymous users

$wgGroupPermissions['*']['edit'] = false;
 * 1) Disable anonymous editing

$wgGroupPermissions['*']['createaccount'] = false;
 * 1) Prevent new user registrations except by sysops