Preventing new user creation

From Useful Data
Revision as of 18:35, 15 June 2017 by Simon (talk | contribs) (Recreated page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To prevent new user creation in your wiki - thereby stopping random strangers from mucking it up - do this:

  • edit LocalSettings.php in the root path of your MediaWiki installation and add the following to the end.
# Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false;

Taken from here.