Page MenuHomePhabricator

[BUG] Internal link to a section in the article takes to to the beginning of the article
Open, MediumPublicBUG REPORT

Description

From OTRS:
"If you follow an internal link for a specific paragraph of an article, the app will take you to the beginning of the article..."
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=10802590

Steps to reproduce

  1. Open Java_(software_platform)
  2. Find in page where objects are allocated on the heap and click on the link

Expected:

The link to the section should take you to that particular section in the article

Actual:

Takes you to the beginning of the article

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 27 2018, 7:18 PM

Note: can use this test wiki page to test it: https://test.wikipedia.org/wiki/A_long_page

Replied to the OTRS ticket and asking for the link of the article that has the issue.

Move this ticket to blocked/waiting and waiting for the response.

cooltey updated the task description. (Show Details)Jan 14 2019, 6:16 PM

Update: the user replied to the OTRS ticket, and looks like the redirected link contains a fragment, which should be handled correctly?

Restricted Application changed the subtype of this task from "Task" to "Bug Report". · View Herald TranscriptMay 14 2020, 1:49 PM
Charlotte triaged this task as High priority.May 22 2020, 3:18 PM

The re-directed url does not give the correct anchor to scroll to. For example in this case it should have been #Dynamic_memory_allocation

Also, it would be better to get this in the link response from mobile-html service than just a url update from page/summary response

Charlotte lowered the priority of this task from High to Medium.Jun 1 2020, 10:19 AM
Charlotte added a subscriber: Charlotte.

Adding the PI backlog, since we are requesting an update to mobile-html in order to handle this.

Sharvaniharan removed Sharvaniharan as the assignee of this task.Tue, Jun 30, 4:41 PM