Page MenuHomePhabricator

VisualEditor: Converting a numbered external link to a regular one from the link inspector drops the annotations
Closed, ResolvedPublic

Description

Converting a MWNumberedExternalLinkNode to MWExternalLinkAnnotation from the UI (link inspector) loses annotations on the node, even though there is code in place that aims handle this.

See the behavior of the 'convert' variable in ve.ui.MWLinkNodeInspector.prototype.getTeardownProcess.


Version: unspecified
Severity: normal

Details

Reference
bz67377

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:42 AM
bzimport set Reference to bz67377.

This is because the node is removed from DM before its annotations are copied. Let me just fix it while I'm at it. :)

Change 143387 had a related patch set uploaded by Bartosz Dziewoński:
MWLinkNodeInspector: Actually preserve annotations when converting to link annotation

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

Change 143387 merged by jenkins-bot:
MWLinkNodeInspector: Actually preserve annotations when converting to link annotation

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