Page MenuHomePhabricator

VisualEditor:Reference is getting copied as an empty <ref/> tag
Closed, ResolvedPublic

Description

screenshot of the error

Steps to reproduce:

1.Go to this page:

https://en.wikipedia.org/w/index.php?title=User:RYasmeen_(WMF)/12th_december&veaction=edit

2.Copy the reference and the reference list at the end of this page
3.Paste in into another VE
4.Save it

Observed Result:

The wiki text for the text copied is:

reference<ref>http://cnn.com</ref>
<references />

The wiki text on the page where it is copied to:
reference<ref />
<references />

In Edit mode it says:
The reference is defined in a template or other generated block and for now can
only be edited in source mode.

and the reference cannot be edited using VE

In read mode it shows:

Cite error: The opening <ref> tag is malformed
or has a bad name (see the help page).


Version: unspecified
Severity: major

Attached:

Screen_Shot_2013-12-12_at_4.30.30_PM.png (575×1 px, 120 KB)

Details

Reference
bz58427

Event Timeline

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

This appears to be fixed in master. Please re-open if you can reproduce on beta labs.