Last modified: 2013-07-29 17:14:43 UTC
Created attachment 12674 [details] How the hatnote appears in the VE when it is added This takes some effort to replicate, so bear with me; if you insert a hatnote at the beginning of a line, it renders improperly in the VisualEditor - despite rendering properly in the article text, /and/ in subsequent loads of the VE. Screenshots of each attached. As User:PamD adeptly summarises, "if VE doesn't display the result of a change, or displays it looking wrong, editors are going to assume that their edit didn't work and struggle to "fix" it"
Created attachment 12675 [details] How the hatnote appears in "read" mode
Created attachment 12676 [details] How the hatnote appears in subsequent VE loads.
So, I've read this a number of times and I'm not quite sure I know what you're getting at. Steps: 1. Go into a page 2. Click into a blank line; insert template "Hatnote", parameter 1 = "Foo". 3. Template appears on its own line, as expected. 4. Template saves on its own line, as expected. 5. Page rendered with template in the right place, as expected 6. Edit article. 7. Template is still there in VisualEditor, as expected. Try two: 1. Go into a page 2. Click into the start of a non-blank line; insert template "Hatnote", parameter 1 = "Foo". 3. Template appears at the start of the line, a little oddly as it's a <div>, because of bug 49784. 4. Template saves at the start of the line, as expected. 5. Page rendered with template on its own line, as expected. 6. Edit article. 7. Template is still there in VisualEditor at the start of the line, as before. I assume you mean that this is an issue because it doesn't show up on its own line? If so, this is just a plain duplicate of bug 49784.
Fair play; marking as duplicate. *** This bug has been marked as a duplicate of bug 49784 ***