Last modified: 2008-05-06 13:44:22 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 T15950, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13950 - Option to watch the user pages of users you block
Option to watch the user pages of users you block
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!
: patch, patch-need-review
Depends on:
Blocks:
  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: ---


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

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
User::getUserPage()?
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.


Navigation
Links