Wikimedia prevent user registration

From D3xt3r01.tk
Jump to navigationJump to search

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;

Other Useful links

http://www.mediawiki.org/wiki/Manual:Preventing_access