Page MenuHomePhabricator

Link in link popup has incomplete target URL if page contains namespace
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Add a link.
  2. In the "search" text field, enter a page with a namespace. Manual:Contents on mediawiki.org in this example.
  3. Click the newly created link.
  4. In the popup, click the "preview" link (.ve-ui-mwInternalLinkContextItem-link).

Actual result:
Opens the URL Manual:Contents.

Expected result:
Opens the URL https://www.mediawiki.org/wiki/Manual:Contents.

Additional information:
Browser: Firefox 62.0.3 (64-bit)

Event Timeline

Change 487894 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] ve.dm.MWInternalLinkAnnotation: Correctly generate relative links

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

Change 487894 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] ve.dm.MWInternalLinkAnnotation: Correctly generate relative links

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

Esanders moved this task from Inbox to Low Priority on the Editing QA board.Feb 7 2019, 7:06 PM
Barbvd moved this task from QA to Product owner review on the VisualEditor (Current work) board.
ppelberg closed this task as Resolved.Feb 26 2019, 8:07 AM