Page MenuHomePhabricator

Percent-encoded URLs to Wikipedia articles don't get converted to linked articles if you paste them into the article body.
Closed, ResolvedPublic1 Story Points

Description

How it's supposed to work:

  1. Open a page in VisualEditor.
  2. Paste a URL in like this one: https://en.wikipedia.org/wiki/National_Register_of_Historic_Places_listings_in_Concord,_Massachusetts
  3. Rejoice in the the magically converted wikilink.

How it's actually working, if the URL contains percent encoding:

  1. Open a page in VisualEditor.
  2. Paste a URL in like this one: https://en.wikipedia.org/wiki/Wright%27s_Tavern
  3. Realize that the only way to 'fix' it is to delete that, type the desired label, select it, open the link tool, and search for a link the usual way.

Event Timeline

Whatamidoing-WMF raised the priority of this task from to Needs Triage.
Whatamidoing-WMF updated the task description. (Show Details)
Jdforrester-WMF triaged this task as Normal priority.Nov 24 2015, 8:12 PM
Jdforrester-WMF set Security to None.
Jdforrester-WMF edited a custom field.
Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.
DLynch added a subscriber: DLynch.Jul 14 2016, 4:42 PM

I believe that I fixed this with cc78cb2d0658a4dd157dd2b3dd0cc9aaca4ac786, though I hadn't noticed this bug, and instead attached it to T137831.

Jdforrester-WMF closed this task as Resolved.Jul 14 2016, 4:47 PM
Jdforrester-WMF assigned this task to DLynch.
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

Yup, this works.