Page MenuHomePhabricator

App mishandles internal links to articles ending in question mark
Closed, ResolvedPublicBUG REPORT

Description

From OTRS: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=11675710

Bug seems related to articles whose title ends in ?, and another article exists with the
same name but no ?.

Examples: see articles [[Josie Davis]] and [[Mayim Bialik]]. These articles contain links
to an article concerning a film, [[Kalamazoo?]].

When I browse Wikipedia using the Chrome browser on Windows 10 and click on one of those
links, it takes me to the intended article.

But if I use the iOS Wikipedia app and click on the link, it takes me (via a redirect) to
the article concerning the city in Michigan.

Event Timeline

JMinor triaged this task as Medium priority.Jan 25 2021, 7:40 PM
JMinor moved this task from Needs Triage to Bug Backlog on the Wikipedia-iOS-App-Backlog board.

Just noting we received a report of this bug in the Portuguese wikipedia telegram group today.

TheDJ subscribed.

Another report on the helpdesk of en.wp.

This indicates a link encoding issue. I'm guessing the mobile app assumes that ? starts a query and for that reasons strips it. It should be encoded to %2F like any other character in a path component. Both parsoid and the mobile content api return the right HTML, so this is purely in the link generation that occurs inside the iOS app, where this breaks down.

TheDJ lowered the priority of this task from Medium to Lowest.Jan 26 2022, 4:29 PM
TheDJ moved this task from Needs triage to Triaged on the Mobile board.
TheDJ changed the subtype of this task from "Task" to "Bug Report".
ABorbaWMF claimed this task.
ABorbaWMF subscribed.

No longer occurring, resolving