Wikimedia prevent user registration
From D3xt3r01.tk
Why
Because I don't trust romanians .. I don't want them to be able to register and mess up all my work ...
How
Just put the code in LocalSettings.php
Restrict anonymous editing
$wgGroupPermissions['*']['edit'] = false;
Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false;
Anonymous users can't create pages
$wgGroupPermissions['*']['createpage'] = false;