Page MenuHomePhabricator

Update ApiFeedRecentChanges for temporary accounts
Closed, ResolvedPublic1 Estimated Story Points

Description

ApiFeedRecentChanges was mostly updated for temporary accounts by T343322: IP Masking: Update Recent changes filters user registration filters for IP Masking (based on local testing). However, the API help description needs updating in a similar way as done in 1941f28f609e88da1677f0beb99468bb77748040 so that the hideanons flag can be indicated as applying to temporary accounts if temporary accounts are enabled.

Acceptance criteria
  • Have the hideanons parameter help text for the ApiFeedRecentChanges API updated so that it indicates setting this to true will hide temporary accounts. This should only be using the updated text if temporary accounts are enabled.

QA Results - Local

Event Timeline

Change 1005803 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/core@master] Update help text for 'hideanons' in ApiFeedRecentChanges API

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

Change 1005803 merged by jenkins-bot:

[mediawiki/core@master] Update help text for 'hideanons' in ApiFeedRecentChanges API

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

Suggested QA steps:

  1. Enable temporary accounts on your wiki
  2. Load Special:ApiSandbox
  3. Select the feedrecentchanges API and scrol down to the hideanons setting
  4. Verify that the setting looks like the following:

image.png (176×1 px, 17 KB)

  1. Turn off temporary accounts on your wiki
  2. Repeat steps 2 and 3
  3. Verify that the setting looks like the following:

image.png (192×1 px, 15 KB)

@Dreamy_Jazz hideanons parameter help text for the ApiFeedRecentChanges text if temporary accounts are enabled are now updated to display "Hide changes made by anonymous users and temporary accounts." as seen in the .webm below. Temp accounts that are off display "Hide changes made by anonymous users". This will be moved to Done. Thanks for all your work and steps!

Status: ✅PASS
Environment: Beta: 1.42.0-alpha (d5ff499)
OS: macOS Sonoma 14.2.1
Browser: Chrome 121
Skins. Vector 2022
Device: MBA M2
Emulated Device:: n/a
Test Links:
https://en.m.wikipedia.beta.wmflabs.org/wiki/Cat#

Core: commit 19f444618d2b4b7053a1ca30921534e938a6d3ec Thu Feb 22 19:51:13 2024

✅AC1: https://phabricator.wikimedia.org/T358249- **TempAccount On**

✅AC2: https://phabricator.wikimedia.org/T358249- **TempAccount Off**

Thanks for the QA. Marking this as resolved.