Last modified: 2014-09-23 22:34:09 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 T20182, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18182 - Add block-options to Special:CentralAuth
Add block-options to Special:CentralAuth
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
CentralAuth (Other open bugs)
unspecified
All All
: Low normal with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Specia...
: easy
Depends on:
Blocks: SWMT
  Show dependency treegraph
 
Reported: 2009-03-26 20:46 UTC by DerHexer
Modified: 2014-09-23 22:34 UTC (History)
13 users (show)

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


Attachments

Description DerHexer 2009-03-26 20:46:49 UTC
Hi! Could you please add the user's block options to section "Blocked status"? It would be very useful to see if an insulting user name is yet locally hidden (via global permission "hideuser") or still needs hiding (at least until global hidings will trigger local ones).

Kind regards
DerHexer
Comment 1 Mike.lifeguard 2009-04-02 17:27:32 UTC

*** This bug has been marked as a duplicate of bug 14476 ***
Comment 2 Mike.lifeguard 2009-04-02 17:54:03 UTC
Bah, not a dupe at all. I think I meant to dupe something else to bug 14476...
Comment 3 Michael Chen 2012-04-23 04:53:36 UTC
Hi, I'd like to work on this bug, but this is my first experience with FOSS. Could somebody please help guide me in the right direction?
Comment 4 Alex Monk 2012-04-23 17:28:29 UTC
(In reply to comment #3)
> Hi, I'd like to work on this bug, but this is my first experience with FOSS.
> Could somebody please help guide me in the right direction?

These links might be useful:
https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/CentralAuth.git;a=tree
Comment 5 Platonides 2012-04-23 17:37:21 UTC
Hello Michael,
Thanks for your offer to contribute.
You will need to download latest MediaWiki and CentralAuth versions. Setting up a SUL test system may be a bit tricky.

Then you should dig into the MediaWiki code on how to do that. Are you familiar with php? We have some specific to do things (in this case you should look at the blocks system).

The mentioned https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker is a good starting point.
Don't be afraid on using the options listed at Discuss for getting support with this.
Comment 6 Sumana Harihareswara 2012-12-09 17:41:09 UTC
It looks like Michael's no longer working on this. Sucheta, you want to give it a try?
Comment 7 Sucheta Ghoshal 2012-12-09 17:48:58 UTC
(In reply to comment #6)
> It looks like Michael's no longer working on this. Sucheta, you want to give
> it
> a try?

Sure! :)
Would love to work on this. Thanks! :)
Comment 8 MF-Warburg 2013-08-09 16:37:38 UTC
Any updates?
Comment 9 Steven Zhang 2013-08-17 11:45:08 UTC
Hi there. Taking a look at CentralAuth, I can't see Blocked status as an option or field anymore. Could you point out where you see it (As this bug was initially filed 4 years ago)
Comment 10 MF-Warburg 2013-08-17 22:27:18 UTC
eg on https://meta.wikimedia.org/wiki/special:centralauth/google9999 you can see where that user is blocked in the 4th column. It gives the block length and reason atm.
Comment 11 apsdehal 2013-12-14 18:55:29 UTC
Can somebody please give some more info on how to add the user block options and what should be they?
Comment 12 MF-Warburg 2013-12-14 21:29:01 UTC
Block options are the stuff which is shown in brackets on Special:Log/block:

https://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=block&user=&page=User%3ALeeny5432 - here: "(account creation disabled, cannot edit own talk page)".
Comment 13 Kunal Mehta (Legoktm) 2013-12-21 06:59:46 UTC
(In reply to comment #11)
> Can somebody please give some more info on how to add the user block options
> and what should be they?

So in the ipblocks table, we store information like "block anonymous users only", "enable autoblock", "don't allow editing talk page" ([[mw:Manual:ipblocks table]]).

In CentralAuthUser::localUserData, we're currently only loading the expiry and reason. We would need to load the other information too, and in the Special:CentralAuth page, we would need to change the formatBlockStatus function to also handle options.
Comment 14 PiRSquared17 2014-02-19 17:48:30 UTC
Is anyone working on this?
Comment 15 Alex Monk 2014-02-19 17:51:44 UTC
It's not assigned, no.
Comment 16 Gerrit Notification Bot 2014-04-20 10:06:09 UTC
Change 127464 had a related patch set uploaded by Legoktm:
Show block options on Special:CentralAuth

https://gerrit.wikimedia.org/r/127464

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


Navigation
Links