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 claimed this task.
Esanders raised the priority of this task from to Needs Triage.
Esanders updated the task description. (Show Details)
Esanders subscribed.

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

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

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