Page MenuHomePhabricator

Wikilinks in subpage flow-boards are incorrect, by having the root page prefixed to all internal links
Closed, ResolvedPublic

Description

Author: IJethrobot

Description:
Screenshot illustrating problem in userpage wikilink

When replying to a topic or another reply, the editor being replied to is named with a wikilink which appears to go their user page. However, the actual link to the user page is appended as a subpage of the Flow page itself.

In the attached screenshot, the link to my username in Quiddity's reply points to:

Wikipedia:Co-op/Mentorship_match/User:I JethroBT

when it should point to:

User:I JethroBT


Version: unspecified
Severity: normal
URL: http://en.wikipedia.org/wiki/Wikipedia:Co-op/Mentorship_match

Attached:

Details

Reference
bz70589

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz70589.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Sep 8 2014, 11:59 PM

IJethrobot wrote:

Another instance of the same problem, different username.

Attached:

IJethrobot wrote:

Clarification-- the links actually point to:

Wikipedia:Co-op/USERPAGE

Okay, I filed in the backlog to get fixed: https://trello.com/c/dUseIpRL

Thanks for spotting and reporting it!

Yes the subpages combined with parsoid's decision to always output relative links is causing this issue.

For now i've added an adjustment to our redlink'ing code to just replace all anchor's rather than just redlinks so you get default MW behavior instead of the parsoid relative links.

gerritadmin wrote:

Change 159842 had a related patch set uploaded by EBernhardson:
Convert all parsoid links into MW standard links

https://gerrit.wikimedia.org/r/159842

gerritadmin wrote:

Change 159842 merged by jenkins-bot:
Convert all parsoid links into MW standard links

https://gerrit.wikimedia.org/r/159842

gerritadmin wrote:

Change 159900 had a related patch set uploaded by EBernhardson:
Convert all parsoid links into MW standard links

https://gerrit.wikimedia.org/r/159900

gerritadmin wrote:

Change 159901 had a related patch set uploaded by EBernhardson:
Convert all parsoid links into MW standard links

https://gerrit.wikimedia.org/r/159901

gerritadmin wrote:

Change 159901 merged by jenkins-bot:
Convert all parsoid links into MW standard links

https://gerrit.wikimedia.org/r/159901

gerritadmin wrote:

Change 159900 merged by jenkins-bot:
Convert all parsoid links into MW standard links

https://gerrit.wikimedia.org/r/159900

Quiddity removed a subscriber: Maryana.Dec 19 2014, 1:32 AM