Page MenuHomePhabricator

Visual Editor: link targets in image caption assumed to be same namespace when opened with ctrl+click
Closed, ResolvedPublic

Description

When opening a link from the image caption editor with ctrl+click the link target is assumed to be in the same namespace as the currently edited page.

For example a link to [[Bridgnorth Cliff Railway]] from the caption of an image on the page [[User:Thryduulf/sandbox]] is opened as [[User:Thryduulf/Bridgnorth Cliff Railway]]. A link to [[User:Thryduulf/sandbox2]] on the same page opens [[User:Thryduulf/User%3AThryduulf%2Fsandbox2]]. A link to that sandbox page from a page in the article namespace opens as [[User%3AThryduulf%2Fsandbox2]], but this does get you to the correct page.

This only happens before the page has been saved. Once a page is saved and re-opened links that were in the caption when it was saved open the correct page, but newly added or changed links do not.


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

Details

Reference
bz51585

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:43 AM
bzimport set Reference to bz51585.

Well for me redlinks seem to be working properly and all other links (including section links) are exhibiting the behaviour described in bug 51122 (which I'm about to update).

I'm using Firefox 22/Linux/Monobook. Is this still reproducable on other systems?

  • This bug has been marked as a duplicate of bug 48915 ***