Last modified: 2014-03-21 00:55:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61196, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59196 - Another problem with Parsoid's <base>? Clicking on links in subpages assumes that the links are subpages, too
Another problem with Parsoid's <base>? Clicking on links in subpages assumes...
Status: RESOLVED DUPLICATE of bug 58314
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-01 23:44 UTC by WhatamIdoing
Modified: 2014-03-21 00:55 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description WhatamIdoing 2014-01-01 23:44:06 UTC
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.
Comment 1 WhatamIdoing 2014-01-02 03:48:55 UTC
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.
Comment 2 James Forrester 2014-03-20 19:35:09 UTC

*** This bug has been marked as a duplicate of bug 58314 ***
Comment 3 Gerrit Notification Bot 2014-03-21 00:52:15 UTC
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
Comment 4 James Forrester 2014-03-21 00:55:45 UTC

*** This bug has been marked as a duplicate of bug 58314 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links