Page MenuHomePhabricator

New internal links on /w/index.php?… pages are created relative to /w/ not /wiki/ in the CE and context menu and so fail to go anywhere
Closed, ResolvedPublic

Description

First add a link to an article on a new page (for example a link to "Bonjour").
You can open it with the link tool button "Open", it will work and open the link "https://fr.wikipedia.org/wiki/bonjour".
But if you open the link with Ctrl + Left click, it won't work, because it will open the link https://fr.wikipedia.org/w/bonjour.

Event Timeline

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

It happens sometimes but not always on my computer, on Firefox and Chrome. It happened again today with Firefox.

OS X 10.10.1 Safari 8.0.2
Create a new article say : https://test2.wikipedia.org/w/index.php?title=Drong-4bis&veaction=edit
create a link : Cmd K
type : barber
Close
right clic on the link (before saving) => open in a new window =>

404 – File not found
https://test2.wikipedia.org/w/barber
We could not find the above page on our servers.
To check for "barber" see: https://test2.wikipedia.org/wiki/barber

Reproductible : always

Jdforrester-WMF renamed this task from Opening an internal link with "CTRL + Left click" in a new page fails. to New internal links on /w/index.php?… pages are created relative to /w/ not /wiki/ in the CE and so fail to go anywhere.Mar 3 2015, 6:23 PM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF set Security to None.
Jdforrester-WMF renamed this task from New internal links on /w/index.php?… pages are created relative to /w/ not /wiki/ in the CE and so fail to go anywhere to New internal links on /w/index.php?… pages are created relative to /w/ not /wiki/ in the CE and the context menu and so fail to go anywhere.Mar 4 2015, 3:56 PM
Catrope renamed this task from New internal links on /w/index.php?… pages are created relative to /w/ not /wiki/ in the CE and the context menu and so fail to go anywhere to New internal links on /w/index.php?… pages are created relative to /w/ not /wiki/ in the context menu and so fail to go anywhere.Mar 4 2015, 4:03 PM

Change 194345 had a related patch set uploaded (by Catrope):
Resolve URLs in LinkContextItem

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

Change 194347 had a related patch set uploaded (by Catrope):
Resolve URLs in MWInternalLinkContextItem

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

Change 194345 merged by jenkins-bot:
Resolve URLs in LinkContextItem

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

Change 194347 merged by jenkins-bot:
Resolve URLs in MWInternalLinkContextItem

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

Jdforrester-WMF renamed this task from New internal links on /w/index.php?… pages are created relative to /w/ not /wiki/ in the context menu and so fail to go anywhere to New internal links on /w/index.php?… pages are created relative to /w/ not /wiki/ in the CE and context menu and so fail to go anywhere.Mar 4 2015, 5:51 PM