User:Myshiftingstuff

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

$wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['user']['read'] = true;
 * 1) Disallow anonymous viewing as well!

$wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['sysop']['createaccount'] = true;
 * 1) And don't let users create their own accounts!