[Mediawiki-l] Forbidding anonymous edits in MediaWiki?

Brion Vibber brion at pobox.com
Thu Apr 1 22:49:23 UTC 2004


On Apr 1, 2004, at 13:49, Dan Carlson wrote:
> I'd like to know if it's possible under the current system to require 
> contributors to register a user account before they may make edits to 
> any pages.  I realize that this isn't exactly in the spirit of the 
> wiki system, but we've had a problem with a user lately who hasn't 
> been paying attention to our repeated requests to follow the rules.  
> One of the options we'd like to consider is requiring contributors to 
> register first.
>
> But, is that possible using the current software?  How could I set 
> that up?  I've taken a look at DefaultSettings.php, and I see the 
> variable $wgWhitelistEdit and the array $wgWhitelistAccount, and I was 
> wondering if those have anything to do with what I'm looking for.

Yep. Set $wgWhitelistEdit = true; in LocalSettings.php to require 
logins.

-- brion vibber (brion @ pobox.com)




More information about the MediaWiki-l mailing list