Page MenuHomePhabricator

Remove ability to block other users whilst blocked
Closed, ResolvedPublic

Description

Author: majorly.wiki

Description:
It seems that admins can block other editors, whilst they're still blocked themselves. This serves no purpose, and could possibly be damaging, so please remove that ability. Thanks.


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/w/index.php?title=Special:Log&offset=20080918182600&limit=4&type=block&user=Misza13

Details

Reference
bz15642

Event Timeline

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

misza wrote:

I may be dumb or something, but I just made up a private wiki based on the trunk and blocked myself. Then,

  1. when trying to block myself again, I got the "You cannot block other users while you are blocked" error,
  2. I have managed to block, for example, 127.0.0.1 and a second attempt failed with the usual "is already blocked" error.

After I modifed the "$wgUser->getId" thing to "$wgUser->getId()" (I believe getId is a method, not a property), further self-blocks fail with "already blocked", but I'm still unrestricted in blocking IPs.

A blocked sysop can still unblock themselves, and then block other users.

Reclosing. Sysops are supposed to be able to unblock themselves.