Last modified: 2011-05-15 10:06:25 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 T25408, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23408 - Prevent administrators from blocking themselves?
Prevent administrators from blocking themselves?
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
1.17.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 15810
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-04 20:41 UTC by Happy-melon
Modified: 2011-05-15 10:06 UTC (History)
4 users (show)

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


Attachments

Description Happy-melon 2010-05-04 20:41:17 UTC
Allowing admins to block themselves tends to result in them doing it, almost invariably by mistake (http://en.wikipedia.org/wiki/?oldid=359971907).  Are there any legitimate usecases where we'd want to allow admins to block themselves?
Comment 1 Casey Brown 2010-05-04 21:11:29 UTC
(In reply to comment #0)
> Are there any legitimate usecases where we'd want to allow admins
> to block themselves?

Political reasons (i.e. "protesting" some action) or because they don't want to edit for a while, so they want to "enforce a wikibreak".
Comment 2 Huib abigor Laurens 2010-05-04 21:17:19 UTC
It sounds to me that when we make something to prevent people to block them self we are trying to fix a human bug, not a mediawiki bug but a human error, people should double check before blocking. 


I have seen people block them selfs because they where also involved in a edit war or to stop discussions about actions that they did. I think its a rather good function that people can block themself.
Comment 3 Casey Brown 2010-05-04 21:31:05 UTC
Maybe a warning message would be good?  Or like a checkbox that comes up?  "Are you really sure that you want to block yourself?"  I think we have something like that when we move pages to titles that already exist.
Comment 4 Bawolff (Brian Wolff) 2010-05-05 06:12:23 UTC
I've blocked my self before to test what the block message looked like (I think due to someone complaining it was broken, can't remember for sure, was a while ago). Since it is really easy to unblock one self, I don't see any harm, and probably sends a good message to new admins to read the instructions before hitting the shiny button.
Comment 5 Huib abigor Laurens 2010-05-05 06:27:48 UTC
I just tested it on my wiki-farm thats running 1.17svn but I cant unblock myself, I guess somebody changed the block function...

In that case it could be good to have a warning before blocking yourself.
Comment 6 Happy-melon 2010-05-05 07:46:14 UTC
(In reply to comment #5)
> I just tested it on my wiki-farm thats running 1.17svn but I cant unblock
> myself, I guess somebody changed the block function...

That was me, in r64228.  You now need the 'unblockself' permission to do that.  Admins should have it by default, though...
 
> In that case it could be good to have a warning before blocking yourself.
My thoughts entirely.
Comment 7 p858snake 2010-05-05 09:47:27 UTC
If your changing it so they can't unblock them-self without the user right, you should also do blocking themselves.... It seems strange to only do one half of the equation.
Comment 8 Happy-melon 2010-05-05 12:11:10 UTC
(In reply to comment #7)
> If your changing it so they can't unblock them-self without the user right, you
> should also do blocking themselves.... It seems strange to only do one half of
> the equation.

Why would some wikis need the ability for admins to self-block and others not?  That's what userrights are designed to accomodate.
Comment 9 p858snake 2010-05-05 23:41:25 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > If your changing it so they can't unblock them-self without the user right, you
> > should also do blocking themselves.... It seems strange to only do one half of
> > the equation.
> 
> Why would some wikis need the ability for admins to self-block and others not? 
> That's what userrights are designed to accomodate.
For those with less intelligence?
Comment 10 Happy-melon 2011-03-30 18:00:41 UTC
Warning implemented in r85025.

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


Navigation
Links