Page MenuHomePhabricator

Check pilot wiki status before showing any new ip/temp UI
Closed, ResolvedPublic3 Estimated Story Points

Description

Example call for EN Wiki: https://en.wikipedia.org/w/api.php?action=query&format=json&meta=siteinfo&formatversion=2&siprop=autocreatetempuser

  1. Upon app resume (see performTasksThatShouldOccurAfterBecomeActiveAndResume method in WMFAppViewController), we should check the pilot wiki status for the user's primary app language via API call above and store it setting in a property in a data controller singleton. Before displaying the new UI in T337523 and T337519, confirm that enabled = true in the property for the user's primary app language.
  1. Upon entering a particular editing flow (T340790, T337268, T337250), we should check the pilot wiki status for that page. Users can edit articles outside of their primary app language, which is why the call in step 1 will not work. Store the setting in a property in a data controller singleton. Before displaying the new UI in T340790, T337268, and T337250, confirm that enabled = true in the property.

Test Notes

Ensure only pilot wikis (for example: Test Wiki but not EN Wiki) see the new temp accounts UI from T373067.

Event Timeline

HNordeenWMF moved this task from Needs Triage to Up next on the Wikipedia-iOS-App-Backlog board.
HNordeenWMF subscribed.

Do as the final step after all temp accounts UI is done, wrap it up in a check to see if Temp Accounts is deployed

GOlson-WMF set the point value for this task to 3.Mar 18 2025, 6:08 PM

Checks out! Temp accounts UI showing up on Danish Wikipedia where temp accounts is deployed, but not French Wikipedia where it's not deployed.