[go: up one dir, main page]

Page MenuHomePhabricator

VisualEditor: Link input widget outwits itself with the leading colon for Category/file links
Closed, ResolvedPublic

Description

  1. Go to some page and edit in VE
  2. Click the "Link" toolbar button, type "Category:" and click a category that appears

The leading colon is correctly added, but the category now appears in red in the dropdown as if non-existent (although it shows up under "matching pages", not "new pages").

Probably, the link inspector should be ignoring/stripping the preceding colon when checking whether the page exists.

Same thing for links to File: pages.


Version: unspecified
Severity: normal

Details

Reference
bz50279

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:10 AM
bzimport set Reference to bz50279.

Two different things look like they're pre-pending the ":". Helpful. :-)

Change 142136 had a related patch set uploaded by Alex Monk:
Don't prepend extra colon to category/file links

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

Change 142136 merged by jenkins-bot:
Don't prepend extra colon to category/file links

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

  • Bug 63353 has been marked as a duplicate of this bug. ***