Page MenuHomePhabricator

VisualEditor: Pasting copied template cause it to be inserted twice, once broken (span tag, data-ve-ignore)
Closed, ResolvedPublic

Description

https://it.wikipedia.org/w/index.php?title=Utente%3AElitre_%28WMF%29%2FSandbox_VE&diff=63377772&oldid=63377716

I added the Citazione Necessaria template to my sandbox,
and added some text to its only parameter.

As a result I get an additional superscripted "Citazione necessaria" which is broken:
<sup data-ve-ignore="true" class="noprint"><span title="Il testo selezionato deve essere comprovato da una fonte affidabile. Modifica la pagina per aggiungere fonti." style="color:red;">[''<a href="/wiki/Wikipedia:Uso_delle_fonti" title="Wikipedia:Uso delle fonti">senza fonte</a>'']</span></sup>

(Not sure if bug 59154/bug 55855 are related.)


Version: unspecified
Severity: major

Details

Reference
bz59653

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 2:17 AM
bzimport set Reference to bz59653.

The French version of that template also gets that bug, while the English one probably works differently: https://en.wikipedia.org/w/index.php?title=User%3AElitre_%28WMF%29%2FSandbox&diff=589354249&oldid=583268893 .

The French template "etc" gets a similar error:
https://fr.wikipedia.org/w/index.php?title=Gremlin&diff=99848534&oldid=92711100

{{etc}}<abbr data-ve-ignore="true" class="abbr" title="et cetera" xml:lang="la" lang="la">etc.</abbr>

  • Bug 59902 has been marked as a duplicate of this bug. ***

(Copy/pasting isn't involved in the cases I reported at least, but thanks for assigning this.)