Wikimedia prevent user registration

From D3xt3r01.tk
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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