Page MenuHomePhabricator

broken redirects to sections with special characters
Open, Needs TriagePublic

Description

Example:

https://en.wikipedia.org/wiki/Wikipedia:POVFORK

redirects to:

https://en.wikipedia.org/wiki/Wikipedia:Content_forking#Point_of_view_.28POV.29_forks

which doesn't automatically lead to the targeted section.

Weird caveat: if you type the targeted full URL (second one above, including section anchor), it does work.

Event Timeline

Fgnievinski raised the priority of this task from to Needs Triage.
Fgnievinski updated the task description. (Show Details)
Fgnievinski added a subscriber: Fgnievinski.

WFM. What browser are you using?

WFM. What browser are you using?

Chrome Version 44.0.2403.125 m on Windows

Redirects to sections require JavaScript to work properly, see T53736.

Aklapper changed the task status from Open to Stalled.EditedMay 23 2020, 7:47 AM
  1. Chromium 81 on Fedora 32: Set "Settings > Privacy and Security > Site Settings > Javascript > Blocked".
  2. Go to https://en.wikipedia.org/wiki/Wikipedia:POVFORK
  3. End up on https://en.wikipedia.org/wiki/Wikipedia:Content_forking#Point_of_view_(POV)_forks and in the right section is shown in Chromium.

@Fgnievinski: Is this still an issue nowadays?

Hmm. When doing that I also tried other sites (like facebook.com) and they showed an error that JS must be enabled.
If you are correct then I am not sure how to test this.

(chrome 83.0.4103.97 stable on windows 10)

Disabling JS via the way Aklapper mentioned, I can reproduce what the task description says.

Also, I think "Weird caveat: if you type the targeted full URL (second one above, including section anchor), it does work." works because the HTML has the section name as an ID, so your browser is able to scroll to that anchor without JS needed (https://www.w3.org/TR/html401/struct/links.html#h-12.2.3)

Aklapper changed the task status from Stalled to Open.Jun 6 2020, 9:40 AM
Aklapper removed a project: TestMe.