Last modified: 2009-03-18 00:55:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T17642, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15642 - Remove ability to block other users whilst blocked
Remove ability to block other users whilst blocked
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-18 18:47 UTC by Al Tally
Modified: 2009-03-18 00:55 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Al Tally 2008-09-18 18:47:19 UTC
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.
Comment 1 Chad H. 2008-09-18 18:55:14 UTC
cf: bug 15641
Comment 2 Chad H. 2008-09-21 13:16:16 UTC
Done in r41108
Comment 3 Misza 2008-09-27 19:34:26 UTC
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.
Comment 4 Alexandre Emsenhuber [IAlex] 2008-09-27 20:05:21 UTC
Fixed in r41314.
Comment 5 charitwo 2009-03-18 00:44:31 UTC
A blocked sysop can still unblock themselves, and then block other users.
Comment 6 Chad H. 2009-03-18 00:55:41 UTC
Reclosing. Sysops are supposed to be able to unblock themselves.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links