Wiki - Account Self-Creation
When you run a public-facing Wiki, it's kinda handy to let users create their own accounts.
But...
You need to control what they can do.
Enabling the "Create Account" link for non logged-in users.
sudo vi LocalSettings.php
:
Set:
$wgGroupPermissions['*']['createaccount'] = true;
Enforcing email authentication
$wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['emailconfirmed']['edit'] = true;
The first linebasically adds anyone whose email address has been confirmed to the "emailconfirmed" group.
The second line means EVERYBODY is prohibited from editing.
The third line means the same, but for Registered Users.
The fourth line means "OK... If your email has been confirmed, you can edit after all.
(You'll want to have email set up, of course...)
What's next?
Need to take it one step further.
Set up a mechanism for registered & confirmed users to request "Editor" status?