Page MenuHomePhabricator

[iOS] Implement Topics for articles in reading history for Year in Review
Closed, ResolvedPublic

Description

See previous spike: T379119: [Spike] Fetch Topics for Articles in History on app

Background

One of the top requested personalization features in the last two years for Year in Review has been reading history by category or topic. Readers want to know what they were reading about over the past year.

Requirements
  • Fetch and persist article topics for an individual article whenever it is viewed and store them locally
  • Topics should be cleared if user clears their History

Example copy

  • You read articles in the following topics this year: Architecture, Biography (Women), and Central America.
  • You read 30 articles in the Performing Arts topic, and 23 in Comics and Anime topic
  • Your top read topic this year was Central America! 55 of the articles you read belonged to this topic.
  • You most commonly read articles that belonged both to the Architecture & Central America topics!

Reference

Android completed implementation https://phabricator.wikimedia.org/T429634


Derived Requirement

Ensure that adding topic collection for articles in reading history does not cause regressions to normal article viewing behavior in the Wikipedia iOS app.

The topic fetching and persistence itself cannot be manually verified yet, based on T434739#12217510 so it should be limited to regression smoke testing around article viewing, particularly crashes, loading failures, navigation problems, or other visible article regressions.

Test Steps

Test Case 1: Ensure repeated article viewing remains stable

  1. Open an article in the Wikipedia iOS app.
  2. Return to the previous screen.
  3. Open another article.
  4. Repeat opening and leaving articles several times.
  5. Reopen previously viewed articles from History.
  6. Continue navigating and scrolling through the reopened articles.
  7. ✅❓❌⬜ AC1: Repeatedly opening, leaving, and reopening articles remains stable without crashes, hangs, or visible article-viewing regressions.

QA Results - TestFlight

ACStatusDetails
1T434739#12218149

Event Timeline

HNordeenWMF triaged this task as High priority.
HNordeenWMF updated the task description. (Show Details)
HNordeenWMF moved this task from Team Triage to P2 (Needs refinement) on the App Experience board.

Test notes:
Just light smoke testing on articles, see if they look ok

Build available soon

@Mazevedo This is the latest build in TestFlight, but I don’t see this task number associated with the build. I also noticed it listed under the Developer settings for YIR 2025. This isn’t ready for testing just yet, correct?

2026-08-14_12-08-43.png (473×278 px, 73 KB)

@GMikesell-WMF correct! This can't be manually tested yet, just make sure it didn't cause a regression on articles (crashes, etc)

@Mazevedo @ABorbaWMF Validated that adding topic collection for articles in reading history does not cause regressions to normal article viewing behavior in the Wikipedia iOS app, as seen in the videos below. I will move this to Sign-Off just for the regression part. Once YIR is ready, we can test it again. Thanks for all your work!

Test Result - Testflight

Status: ✅ PASS
Environment: Test Flight 2026.08.14 (6147)
OS: iOS 26.5
Browser: TestFlight
Device: MBA
Emulated Device: iphone 17, iPhone 14, iPad 11

Test Artifact(s):

Test Steps

Test Case 1: Ensure repeated article viewing remains stable

  1. Open an article in the Wikipedia iOS app.
  2. Return to the previous screen.
  3. Open another article.
  4. Repeat opening and leaving articles several times.
  5. Reopen previously viewed articles from History.
  6. Continue navigating and scrolling through the reopened articles.
  7. AC1: Repeatedly opening, leaving, and reopening articles remains stable without crashes, hangs, or visible article-viewing regressions.
iPhone 17- EniPad 11- HeiPhone 14- De
JTannerWMF claimed this task.