Another problem with Parsoid's <base>? Clicking on links in subpages assumes that the links are subpages, too
Closed, ResolvedPublic

Description

Intention:
Click on a link within VisualEditor

Steps to Reproduce:

  1. Open an existing page in a subpage (e.g., User:Example/Sandbox)
  2. Control-click on any [[link]] and copy the link
  3. Paste the link somewhere to see what it says

Actual Results:
Instead of the expected link to en.wikipedia.org/wiki/Link, the user saw links to en.wikipedia.org/wiki/User:Username/Link. When this intermittent problem was happening, then all links on the page would do it. However, it only happened during some editing sessions/some days.

Reproducible: Sometimes

Firefox 26 on Windows 7, Vector skin. Is intermittent there; could not be immediately reproduced in either Firefox or Safari on a Mac.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=48915
https://bugzilla.wikimedia.org/show_bug.cgi?id=58314

bzimport added a project: VisualEditor.Via ConduitNov 22 2014, 2:41 AM
bzimport set Reference to bz59196.
Whatamidoing-WMF created this task.Via LegacyJan 1 2014, 11:44 PM
Whatamidoing-WMF added a comment.Via ConduitJan 2 2014, 3:48 AM

The brilliant "Codename Lisa" has figured out how to reproduce it consistently:

  1. Open a user subpage.
  2. Create a new link to an article on main space, e.g. [[Link]]
  3. Control-click on the link and copy it (or open the link in a new window)
  4. Discover that the link leads to [[User:YOURUSERNAME/Link]].

More interestingly:

  1. Open a user subpage.
  2. Create a new link to an article on main space, e.g. [[Link]].
  3. Control-click on the link and copy it (or open the link in a new window)
  4. Save the page.
  5. Re-enter edit mode.
  6. Control-click on the same link again.
  7. Discover that the link now leads to [[Link]].

Expected result:

In both steps 3 and 6, the article must open at [[Link]], not at [[User:Username/Link]].

Actual result:

In step 3, a subpage with the same {{SUBPAGENAME}} as the link name opens. Step 6 is always successful. Pre-existing links open correctly.

Jdforrester-WMF added a comment.Via ConduitMar 20 2014, 7:35 PM
  • This bug has been marked as a duplicate of bug 58314 ***
gerritbot added a comment.Via ConduitMar 21 2014, 12:52 AM

Change 119914 had a related patch set uploaded by Catrope:
Hack around Parsoid's href prefixing in rendering new links

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

Jdforrester-WMF added a comment.Via ConduitMar 21 2014, 12:55 AM
  • This bug has been marked as a duplicate of bug 58314 ***

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.