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

Security
None
Reference
bz50279
TTO created this task.Jun 27 2013, 11:19 AM

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. ***

Add Comment