[Mediawiki-l] Control User Registrations

andyc at andy-yvonne.demon.co.uk andyc at andy-yvonne.demon.co.uk
Tue Sep 13 14:06:53 UTC 2005


>>>>> "Ira" == Ira Goldstein <igoldste at gw.neric.org> writes:

    Ira> I know that by setting "$wgWhitelistEdit = true;" in
    Ira> LocalSettings.php I can limit edits to registered users.
    Ira> However, we have a need to control new accounts.  Is there a
    Ira> way to allow just sysops to create user accounts for others?
    Ira> Ideally the special page "Create an account or log in" would be
    Ira> split into a "log in" page available to anyone and a "Create an
    Ira> account" page available only to sysops.

$wgWhitelistAccount = array ( 'sysop' => 1); 

in LocalSettings.php should do the trick.  (This is for 1.4, I believe
it's different for 1.5, but I haven't played with 1.5 yet).

Andy


-- 
Andy Cunningham    -- www.vehicle-diagnostics.co.uk
SQUAWK! Pieces of eight.
SQUAWK! Pieces of eight.
SQUAWK! Pieces of nine$#$#@@System halted: parroty error
	-- Anon



More information about the MediaWiki-l mailing list