There should be an option to add blocked people to ones watchlist when you are blocking them.
Version: unspecified
Severity: enhancement
AzaToth | |
May 5 2008, 1:30 AM |
F4909: diff.patch | |
Nov 21 2014, 10:11 PM |
There should be an option to add blocked people to ones watchlist when you are blocking them.
Version: unspecified
Severity: enhancement
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.
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.
Created attachment 4882
Patch against r34306
Implement "watchlist this user" on [[Special:Blockip]]. Adds new system message ipbwatchuser for the label.
Attached: