Page MenuHomePhabricator

Add watchuser to unblock API
Closed, ResolvedPublicFeature

Description

Summary: There will be a new option for Administrators when they are unblocking a user, to add the unblocked user’s user page to their watchlist. This works both via Special:Unblock and via the API.
Here is a screenshot of the future interface at Special:Unblock:

image.png (539×972 px, 38 KB)


Original task:
The blocking API has watchuser to allow the blocking sysop to watch the relevant user and user talk page, isn't it reasonable for unblock to have it as well? I'd imagine wanting to be kept up-to-date on further activity, etc. would be warranted.

Special:Unblock is simple by design (but see T242888) so I'm agnostic on whether a checkbox should be added there, but I suppose it'd be reasonable too.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Amorymeltzer changed the subtype of this task from "Task" to "Feature Request".Jul 10 2020, 10:18 AM

Presumably would be added to T248407/T248515 if done.

BPirkle subscribed.

Removing tag that was auto-added by Herald. Retag if there's work for CPT here.

Change 895859 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] specials: Add watch option for userpage to Special:Unblock

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

Change 895864 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] api: Add watch option for userpage to action=unblock

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

Urbanecm subscribed.

Summary for User-notice: After patches associated to this task get deployed, it will be possible to add user (talk) pages of an user you unblocked to your watchlist, both via Special:Unblock and via the API. Here is a screenshot of the future interface at Special:Unblock:

image.png (539×972 px, 38 KB)

This change will be deployed with the next train (should land on Wikipedias on March 23).

Change 895859 merged by jenkins-bot:

[mediawiki/core@master] specials: Add watch option for userpage to Special:Unblock

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

Change 895864 merged by jenkins-bot:

[mediawiki/core@master] api: Add watch option for userpage to action=unblock

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

Quiddity subscribed.

Thanks for the draft wording! Very appreciated.
I've edited the Task's Description to include both the blurb I will use in Tech News, and the screenshot, for easy reference of anyone clicking through.