VisualEditor: Metas at the end of a link annotation's anchor cause it to be split; should instead change with it
Open, LowPublic

Description

(Taken from bug 52127.)

Previously, before comments were node-ified, editing

[[Foo|Bar<!--Foo!-->]]

… to point to "Baz" would create the wikitext:

[[Baz|Bar]][[Foo|<!--Foo!-->]]

… whereas it should have done

[[Baz|Bar<!--Foo!-->]]

… (i.e., meta items inside annotations should get changed when the annotation changes, not keep their existing ones).

As comments are (mostly) now nodes, this doesn't apply to them, but will apply to other meta items like {{DISPLAYTITLE:Foo}} or whatever broken items might exist.


Version: unspecified
Severity: normal

Details

Reference
bz68779
bzimport raised the priority of this task from to Low.
bzimport set Reference to bz68779.