Wikimedia prevent user registration

From D3xt3r01.tk
Revision as of 23:22, 25 June 2009 by Admin (talk | contribs) (New page: ==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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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