https://bugzilla.wikimedia.org/show_bug.cgi?id=52271
Chris McKenna <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Summary|VisualEditor: editing a |VisualEditor: editing a |pasted template alters copy |pasted template alters copy |buffer |buffer. Displayed result | |differs from saved result. Severity|normal |major --- Comment #1 from Chris McKenna <[email protected]> --- Mike Christie comments further: What is saved is not always what you see on screen. To reproduce in a sandbox: Add a template such as {{chem}}; I used 14C, created by {{chem|14|C}}. Put some text on either side of it so you can copy/paste it with text, since templates won't copy/paste successfully by themselves. Save that page, and edit again. Now copy the template and paste it twice, so you have something like this: -- 14C -- -- 14C -- -- 14C -- Now edit the first pasted one -- the middle one in the example above -- so that it changes a parameter: -- 14C -- -- 12C -- -- 14C -- Paste again; the pasted version will be 12C, which is bug 52271. a) I've seen two different behaviours for the next step. One is that you'll now see this: -- 14C -- -- 12C -- -- 14C -- -- 12C -- but when you save the third one will be a 12 -- that is, it will have changed what you see on screen to be different in the saved file. b) The other behaviour I've seen is that after the final paste, all four of the templates show "12", not "14". -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
