Page MenuHomePhabricator

VisualEditor: Reference is getting copied as <sup>[1]</sup> instead of <ref> tags in Firefox
Closed, ResolvedPublic

Description

Steps to reproduce:

1.Open a page with VE which has reference added to a text
2.Copy the text with the reference
3.Open another page with VE in FireFox
4.Paste the copied reference

Observed Result:
Instead of getting copied as text <ref> reference </ref>, it is getting copied as text<sup> [1] </sup>

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: FF 25
OS: MAC OS X 10. 8. 5
http://en.wikipedia.beta.wmflabs.org/w/index.php?title=30th_december_ff&veaction=edit


Version: unspecified
Severity: normal

Details

Reference
bz59154

Event Timeline

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

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