Last modified: 2014-09-06 18:55:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61653, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59653 - VisualEditor: Pasting copied template cause it to be inserted twice, once broken (span tag, data-ve-ignore)
VisualEditor: Pasting copied template cause it to be inserted twice, once bro...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Highest major
: VE-deploy-2014-01-16
Assigned To: Ed Sanders
:
: 59902 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-04 17:50 UTC by Elitre
Modified: 2014-09-06 18:55 UTC (History)
14 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Elitre 2014-01-04 17:50:03 UTC
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.)
Comment 1 Elitre 2014-01-05 22:35:03 UTC
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 .
Comment 2 Elitre 2014-01-05 22:37:57 UTC
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>
Comment 3 TMg 2014-01-16 16:02:36 UTC
This obviously is the same error:
https://de.wikipedia.org/wiki/Nest_Labs?diff=126472789

Reported/discussed here:
https://www.mediawiki.org/wiki/Thread:VisualEditor/Feedback/HTML_output_from_template_leaked_into_wikitext

I tried to reproduce it but it did not happen.
Comment 5 James Forrester 2014-01-16 20:28:42 UTC
*** Bug 59902 has been marked as a duplicate of this bug. ***
Comment 6 Elitre 2014-01-16 22:08:54 UTC
(Copy/pasting isn't involved in the cases I reported at least, but thanks for assigning this.)
Comment 7 Ed Sanders 2014-01-21 16:43:17 UTC
This was fixed by https://gerrit.wikimedia.org/r/#/c/107559/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links