Last modified: 2013-10-09 01:11:01 UTC
Steps to reproduce bug: 1. Edit a page 2. Insert a transclusion, apply changes # The transclusion is now selected (VE does this automatically for newly inserted nodes) 3. Type a characters # Selected content is removed, text is inserted 4. Undo The expected result is the text being replaced with the transclusion. Instead a pawn is inserted. Upon further inspection I noticed that the transclusion isn't lost, however. In fact it is right there when you Undo again (after getting the pawn). So it looks like the pawn was inserted as a transaction in the middle of removing the transclusion (its own transaction but not supposed to be?) and inserting the text. We auto-select the template after insertion and it is relatively easy to accidentally press a key afterwards. And Undo then shows the user something scary (their template appears lost). A fairly high priority bug regarding user experience. Not sure if this is a regression or not.
This is now fixed, AFAICS. Marking as such.