Option to watch the user pages of users you block
Closed, ResolvedPublic


There should be an option to add blocked people to ones watchlist when you are blocking them.

Version: unspecified
Severity: enhancement


bzimport set Reference to bz13950.
bzimport added a subscriber: Unknown Object (MLST).
AzaToth created this task.May 5 2008, 1:30 AM
demon added a comment.May 5 2008, 8:52 PM

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.

ayg wrote:


demon added a comment.May 6 2008, 12:33 AM

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.

ayg wrote:

Why can't you get a User object for an anonymous user?

demon added a comment.May 6 2008, 12:24 PM

Created attachment 4882
Patch against r34306

Implement "watchlist this user" on [[Special:Blockip]]. Adds new system message ipbwatchuser for the label.

Attached: diff.patch

ayg wrote:

Werdna seems to have applied this with r34307.

Add Comment