Last modified: 2014-11-04 04:37:29 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 T67593, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65593 - VisualEditor: Can't cut or copy citation template in Reference dialog
VisualEditor: Can't cut or copy citation template in Reference dialog
Status: REOPENED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-21 16:03 UTC by WhatamIdoing
Modified: 2014-11-04 04:37 UTC (History)
6 users (show)

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


Attachments
Screenshot showing grayed-out "Cut" item in Edit menu (146.08 KB, image/png)
2014-11-04 04:32 UTC, WhatamIdoing
Details

Description WhatamIdoing 2014-05-21 16:03:22 UTC
Intention:
Copy a reference's contents (not including ref tags).

Steps to Reproduce:
1. Open a page in Safari.  Add a citation using the Cite tool.

2. Open the new reference in the Reference dialog via Insert > Reference.

3. Select the contents, and press Command-X to cut it.

Actual Results:  
Nothing happens.  The template is not cut.

Expected Results:  
It should be possible to copy and paste citation templates, so that you can modify them for other citations or display them on the page outside of <ref> tags.  

Reproducible: Always

This bug cannot be reproduced in Firefox.
Comment 1 WhatamIdoing 2014-10-16 22:59:13 UTC
Now I can reproduce this in Firefox:


1.  Open [[Railway company]].

2.  Discover that the allegedly reliable source is a wikilink to another article.

3.  Open ref dialog.

4.  Select entire contents (one link).

5.  Be confused about why nothing appears to happen.


I can copy the link, and I can replace it with garbage, but I cannot make it be empty.  Perhaps this is intentional?  In which case, how can I first remove the unwanted contents, and then add in good contents?
Comment 2 James Forrester 2014-11-04 01:06:36 UTC
It's possible to cut/copy things from references, but you can't then paste them back into VE once you shut the dialog – this is bug 51725.

*** This bug has been marked as a duplicate of bug 51725 ***
Comment 3 WhatamIdoing 2014-11-04 04:32:00 UTC
Created attachment 17008 [details]
Screenshot showing grayed-out "Cut" item in Edit menu
Comment 4 WhatamIdoing 2014-11-04 04:37:29 UTC
See attached screenshot.  On the screenshot you can see that the citation template is selected and that Edit > Cut is grayed out.  

Selecting the template and pressing Command-X does nothing, no matter how many times I press it.  The cite journal template remains stubbornly in place, despite trying to cut the entire contents repeatedly.  If my problem were with pasting, then I'd have an empty box and be complaining that I'd lost work.  Instead, I have a full box and I'm complaining that it is not possible to CUT the contents out of this ref (in Safari 6.1.2, at least).

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


Navigation
Links