Page MenuHomePhabricator

Add a system variable for only WikiSysop to be able to create accounts only
Closed, DeclinedPublic

Description

Author: david_q_zhang

Description:
It is good for users themselves to be able to create an account.
However, sometimes, it is desirable to disable this feature and to give
the account creation capabiblity to WikiSysop only. Hope
there will be a system variable to control the switch between the two modes.


Version: 1.7.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz7159

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:25 PM
bzimport set Reference to bz7159.
bzimport added a subscriber: Unknown Object (MLST).

david_q_zhang wrote:

Further info: it is very desirable for WikiSysop to be able to
edit and delete user accounts.

robchur wrote:

This case warrants a bit of STFW, to be frank.

dto wrote:

For renaming users, check out the Renameuser extension ([[Special:Version]]).

For the permissions deal, modify $wgGroupPermissions as appropriate. See the
comments in includes/DefaultSettings.php.

leon wrote:

Just add these lines to LocalSettings.php:

$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['user' ]['createaccount'] = false;

That works fine.

mmodell changed the task status from Resolved to Declined.Oct 25 2015, 4:25 PM
mmodell claimed this task.