Page MenuHomePhabricator

Add watchuser to userrights API
Closed, ResolvedPublic

Description

I usually want to watch a user after granting them a user group, if only to keep an eye out for any concerns over misuse, questions, etc. Best practice is to leave a note, but I think it'd be reasonable to be able to watch the user when granting/removing the group(s), as the note may be left elsewhere.

Related Objects

Event Timeline

@Amorymeltzer to clarify, since if I recall it was decided to not allow watching a user's contributions, the watchuser field should be for watchlisting the user's user page and talk page, right?

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

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

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

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

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

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

Jdforrester-WMF subscribed.

Probably worth noting in Tech/News, though I think we just missed the next one.

Probably worth noting in Tech/News, though I think we just missed the next one.

Could use similiar wording as used for the announce for watch on Special:Unblock: T257662#8705679

Change 901306 merged by jenkins-bot:

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

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

Change 901307 merged by jenkins-bot:

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

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

I've added it to https://meta.wikimedia.org/wiki/Tech/News/2023/36 using this wording:

There is a new option for Administrators when they are changing the usergroups for a user, to add the user’s user page to their watchlist. This works both via Special:UserRights and via the API. [3]

If that needs adjustment, please do so directly within the next ~22 hours, after which it will be frozen for translation. Thanks!