Page MenuHomePhabricator

Pasted internal-as-external links covert link to internal, but not text content/label
Closed, ResolvedPublic1 Estimated Story Points

Description

Paste http://mywiki.com/path/Main_Page into ve-mw. The link annotation is a MWInternalLinkAnnotation pointing to Main Page, but the text content is the full absolute path, resulting in wikitext of [[Main Page|http://mywiki.com/path/Main_Page]]. Ideally this would just be [[Main Page]].

Event Timeline

Esanders created this task.Aug 23 2015, 4:37 PM
Esanders claimed this task.
Esanders raised the priority of this task from to Needs Triage.
Esanders updated the task description. (Show Details)
Esanders added a subscriber: Esanders.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 23 2015, 4:37 PM

Change 233213 had a related patch set uploaded (by Esanders):
Give links a getDisplayTitle method for use by transfer handler

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

Change 233214 had a related patch set uploaded (by Esanders):
Override new getDisplayTitle method for internal links

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

Change 233213 merged by jenkins-bot:
Give links a getDisplayTitle method for use by transfer handler

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

Jdforrester-WMF triaged this task as High priority.Aug 24 2015, 4:21 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.
Jdforrester-WMF closed this task as Resolved.Aug 24 2015, 9:39 PM
Jdforrester-WMF removed a project: Patch-For-Review.

Change 233214 merged by jenkins-bot:
MWInternalLinkAnnotation: Override new getDisplayTitle method

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