Manual:Configuration tips and tricks


 * In order to prevent new user registrations, the following line could be added to the LocalSettings.php file:


 * $wgWhitelistAccount = array ( "sysop" => 1, "developer" => 1 );


 * Note: New users will still be able to be created by sysops.


 * By adding the following line to LocalSettings.php, it is possible to entirely disable anonymous editions:


 * $wgWhitelistEdit = true;