ApiQueryWatchlist returns an anon flag to indicate an IP user. This flag is false for a temporary user, e.g.:
{ "type": "edit", "ns": 0, "title": "Flour", "pageid": 161, "revid": 1625, "old_revid": 1624, "user": "*173", "anon": false, "bot": false, "new": false, "minor": false }
This contradicts the RecentChanges feed, which categorizes temporary users with anonymous users, but agrees with the other APIs, which categorize temp users separately. It was agreed that we should do this in T337103: Decide a standard approach for classifying temporary, IP and registered users.
We should update ApiQueryWatchlist to add a temp flag for temporary users, and document in the code what the anon flag means.
QA Results - Local
AC | Status | Details |
---|---|---|
1 | ✅ | https://phabricator.wikimedia.org/T358693 here |