Page MenuHomePhabricator

Wikipedia iOS App: Using links which redirect creates an error in the table of contents
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • On the Wikipedia iOS app, navigate to an article that contains a link which redirects. For example, Bedburg station.
  • Tap on the link that redirects, for example [[Erft-Bahn]], which redirects to Erft Railway.
  • View the table of contents by tapping on the list icon at the bottom of the screen.

What happens?:
The first item in the table of contents is the name of the link in the original article, for example, "Erft-Bahn", shown in screenshot.

What should have happened instead?:
The first item in the table of contents should have been the name of the article, for example, "Erft Railway".

Additional Info
For piped links, the table of contents takes the name of target link after the redirect, for example in the article for Wookieepedia, tapping "Clone Wars", piped to "Clone Wars (cartoon)", shows Star Wars: Clone Wars (2003 TV series) with "Clone Wars (cartoon)" in the table of contents.
For a link to a section of an article, the table of contents has the link target still replace the title of the article, leaving the name of the linked section the same, for example also in the article for Wookieepedia, tapping "Wokepedia" links to Andrew Orlowski#Criticism of English Wikipedia, and replaces "Andrew Orlowski" with "Wokepedia" in the table of contents.
This issue is mentioned at the start of https://phabricator.wikimedia.org/T283846 but only mentions the section linking issue, and is not the focus of the issue.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
Wikipedia app version 6.8.2 (1868)
iOS version 15.2.1 (19C63)

unnamed.jpg (750×1,293 px, 51 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
LGoto triaged this task as Low priority.Apr 25 2022, 6:34 PM
LGoto moved this task from Needs Triage to Bug Backlog on the Wikipedia-iOS-App board.
ABorbaWMF subscribed.

Fixed on 7.7.7 (5447)

Tested on iPhone on iOS 18.6 and iPad on iPadOS 18.5.

I'm still seeing this on 7.7.7 (5447), On the Erft Railway page when following the steps:

Not a blocker to release

IMG_4760C0083796-1.jpeg (1,179×2,556 px, 468 KB)

@HNordeenWMF I was experiencing the same issue on the previous build, but after installing the latest version, closing and reopening the app, it was working fine.

Hi, I'm the original reporter of the bug. I still see this bug, even after restarting the app, on the latest public version, 7.7.7.