Last modified: 2013-12-03 00:52:46 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 T56410, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54410 - VisualEditor: [Regression] Copy/paste of existing templates and images broken (unformatted text pasted only)
VisualEditor: [Regression] Copy/paste of existing templates and images broken...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2013-10-24
Assigned To: Ed Sanders
:
Depends on:
Blocks: ve-richpaste
  Show dependency treegraph
 
Reported: 2013-09-20 23:44 UTC by Chris McKenna
Modified: 2013-12-03 00:52 UTC (History)
5 users (show)

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


Attachments

Description Chris McKenna 2013-09-20 23:44:42 UTC
Copy/pasting a template that existed prior to the current session only pastes, as literal text, the unformatted text output of the template. Template boxes, etc are ignored. Images are ignored unless they have alt-text, in which case the alt-text is pasted in the position the image would be if shown.

Templates added in the current editing session can be copied and pasted as expected.

Possibly this is a result of the fix to bug 49396?

To reproduce:
1. Load any page with 1 or more templates or images, e.g. https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox4&oldid=573844495

2. select and copy a template or image
3. Paste the somewhere else in the page.

Expected behaviour: the full template or image is pasted
Actual behaviour (templates): Only text output of the template is pasted, unformatted and unlinked.
Actual behaviour (images): Only the image caption is pasted, unformatted and unlinked.
Comment 1 James Forrester 2013-12-03 00:52:46 UTC
This was fixed some time ago; sorry for the slow update.

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


Navigation
Links