Page MenuHomePhabricator

VisualEditor: Reference list is getting copied as bullet list instead as <references/> while doing copypaste from Chrome to FF
Closed, ResolvedPublic

Description

Screenshot of the error

Steps to reproduce:

1.Open a page with VE in Chrome Browser which has references list in it
2.Copy the references list with the reference.For example copy the following:
reference<ref>reference</ref>
<references />
3.Open another page in FireFox with VE
4.Paste the copied reference and reference list
5.Save the page

Observed Result:
The reference list got copied as bullet list rather than as <references/>

The resulting wikitext is as follows:
reference<sup>[1]</sup>

reference

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5
Chrome Page:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=31st_december&veaction=edit
FF Page:http://en.wikipedia.beta.wmflabs.org/wiki/Newrefff


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2013-12-31_at_2.02.53_PM.png (313×1 px, 78 KB)

Details

Reference
bz59171

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:40 AM
bzimport set Reference to bz59171.

Change 108680 had a related patch set uploaded by Esanders:
Protect RDFa attributes from obliteration

https://gerrit.wikimedia.org/r/108680

Change 108680 merged by jenkins-bot:
Protect RDFa attributes from obliteration

https://gerrit.wikimedia.org/r/108680

Still getting this issue on betalabs.

Copied Reference list from this page:http://en.wikipedia.beta.wmflabs.org/wiki/23rd_january?veaction=edit

Pasted on the page:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Paste_reference&action=edit

The resulting wikitext is:
reference<sup>[1]</sup>

  1. reference

betalabs doesn't have this code deployed yet