Last modified: 2013-12-20 17:12:02 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 T60427, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58427 - VisualEditor:Reference is getting copied as an empty <ref/> tag
VisualEditor:Reference is getting copied as an empty <ref/> tag
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: High major
: ---
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-13 00:30 UTC by Rummana Yasmeen
Modified: 2013-12-20 17:12 UTC (History)
5 users (show)

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


Attachments
screenshot of the error (120.08 KB, image/png)
2013-12-13 00:30 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2013-12-13 00:30:56 UTC
Created attachment 14079 [details]
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).
Comment 1 Ed Sanders 2013-12-16 16:20:16 UTC
This appears to be fixed in master. Please re-open if you can reproduce on beta labs.
Comment 2 Rummana Yasmeen 2013-12-16 16:33:29 UTC
Verified the fix in betalabs:http://en.wikipedia.beta.wmflabs.org/wiki/December_16th
Comment 3 Rummana Yasmeen 2013-12-20 17:12:02 UTC
verified the fix in test2 with  MediaWiki 1.23wmf8 on page:
https://test2.wikipedia.org/wiki/Another_page20th

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


Navigation
Links