Jump to content

Manual talk:$wgBlockDisablesLogin

Add topic
From mediawiki.org
Latest comment: 12 years ago by Jasper Deng in topic Just want to report a bug

Checkbox on block form?

[edit]

It would be nice if this were a settable option on the block form. That would be useful for completely nullifying sockpuppets.Jasper Deng 02:30, 15 January 2012 (UTC)Reply

Just want to report a bug

[edit]

On private wiki, when I blocked a user using this parameter, the user if logged in will turned into anonymous user with the ability to read and write. (NOTE THAT THIS IS A PRIVATE LOGGING IN REQUIRED, ANONYMOUSE DISABLED WIKI). I believe this is a bug.

  • Did you set:
$wgGroupPermissions['*']['read']=false;
$wgGroupPermissions['*']['edit']=false;
$wgGroupPermissions['*']['createaccount']=false;

? My own unofficial solution is to set the above and:

$wgGroupPermissions['user']['read']=false;
$wgGroupPermissions['wikireader']['read']=true;
$wgAddGroups['sysop']=array('wikireader');
$wgRemoveGroups['sysop']=array('wikireader'); #Give sysops ability to change this userright.

followed by assigning all legitimate users the 'wikireader' userright. If I want to block a user, I simply remove them from this usergroup.Jasper Deng (talk) 04:38, 16 March 2012 (UTC)Reply