Last modified: 2014-01-31 01:01:49 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 T61173, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59173 - VisualEditor: Reference is redirecting to the page from where it is copied in Firefox
VisualEditor: Reference is redirecting to the page from where it is copied in...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2014-01-30
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-31 23:19 UTC by Rummana Yasmeen
Modified: 2014-01-31 01:01 UTC (History)
8 users (show)

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


Attachments
Screenshot (94.70 KB, image/png)
2013-12-31 23:19 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2013-12-31 23:19:47 UTC
Created attachment 14204 [details]
Screenshot

Steps to reproduce:

1.Open a page with VE in FireFox which contains a reference and reference list
For example:
reference<ref>reference</ref>
<references />
2.Copy the reference and the reference list
3.Open another page with VE in FireFox
4.Paste the reference and the reference list
5.Save the page

Observed Result:
The wikitext resulting from after copy-paste is:

reference<span class="reference" id="cite_ref-1-0" rel="dc:references"><sup href="http://en.wikipedia.beta.wmflabs.org/wiki/30th_december?veaction=edit#cite_note-1">[1]</sup></span>
#<span class="" rel="mw:referencedBy">[http://en.wikipedia.beta.wmflabs.org/wiki/30th_december?veaction=edit#cite_ref-1-0 ↑]</span> reference

And it redirects to the source page (in this case: http://en.wikipedia.beta.wmflabs.org/wiki/30th_december?veaction=edit#cite_ref-1-0) 


See the screenshot attached.

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser:  FF 25
OS: MAC OS X 10. 8. 5 
Page:http://en.wikipedia.beta.wmflabs.org/wiki/Newrefff
Comment 1 Gerrit Notification Bot 2014-01-21 15:15:37 UTC
Change 108680 had a related patch set uploaded by Esanders:
Protect RDFa attributes from obliteration

https://gerrit.wikimedia.org/r/108680
Comment 2 Gerrit Notification Bot 2014-01-22 22:39:09 UTC
Change 108680 merged by jenkins-bot:
Protect RDFa attributes from obliteration

https://gerrit.wikimedia.org/r/108680
Comment 3 Rummana Yasmeen 2014-01-24 02:39:21 UTC
Still getting this issue on Betalabs:

The resulting wikitext after copying a reference and reference list from FireFox to FireFox is:

reference<span class="reference" id="cite_ref-1-0" rel="dc:references"><sup href="http://en.wikipedia.beta.wmflabs.org/wiki/23rd_january?veaction=edit#cite_note-1">[1]</sup></span>
#<span class="" rel="mw:referencedBy"><a href="http://en.wikipedia.beta.wmflabs.org/wiki/23rd_january#cite_ref-1-0">↑</a></span> reference
Comment 4 Ed Sanders 2014-01-24 10:39:04 UTC
betalabs doesn't have this code deployed yet
Comment 5 Rummana Yasmeen 2014-01-24 20:00:30 UTC
verified the fix in Betalabs:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Jan24th_ff&action=edit
Comment 6 Rummana Yasmeen 2014-01-31 01:01:49 UTC
Verified the fix in test2

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


Navigation
Links