Last modified: 2008-05-06 13:44:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13950 - Option to watch the user pages of users you block
Option to watch the user pages of users you block
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2008-05-05 01:30 UTC by Carl Fürstenberg
Modified: 2008-05-06 13:44 UTC (History)
4 users (show)

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

Patch against r34306 (2.49 KB, patch)
2008-05-06 12:24 UTC, Chad H.

Description Carl Fürstenberg 2008-05-05 01:30:53 UTC
There should be an option to add blocked people to ones watchlist when you are blocking them.
Comment 1 Chad H. 2008-05-05 20:52:13 UTC
I started playing around with this in IPBlockForm::doBlock(). I'm having trouble finding a quick way to grab the Title object for the userpage of the person you're blocking though, as User::addWatch() requires a Title object to watch.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-05-05 23:45:38 UTC
Comment 3 Chad H. 2008-05-06 00:33:37 UTC
Works for the current $wgUser, yes. There's not necessarily a user object for the blocked user. Is if you're blocking a logged in user, but not an anonymous one.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-05-06 00:42:11 UTC
Why can't you get a User object for an anonymous user?
Comment 5 Chad H. 2008-05-06 12:24:12 UTC
Created attachment 4882 [details]
Patch against r34306

Implement "watchlist this user" on [[Special:Blockip]]. Adds new system message ipbwatchuser for the label.
Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-05-06 13:44:22 UTC
Werdna seems to have applied this with r34307.

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