Last modified: 2014-11-06 04:07:06 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 T60419, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58419 - VisualEditor: Copying a template from one page to another: render is correct, but template is gone.
VisualEditor: Copying a template from one page to another: render is correct,...
Status: RESOLVED WORKSFORME
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: ve-richpaste
  Show dependency treegraph
 
Reported: 2013-12-12 23:13 UTC by Quim Gil
Modified: 2014-11-06 04:07 UTC (History)
10 users (show)

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


Attachments

Description Quim Gil 2013-12-12 23:13:35 UTC
Let's copy the relatively simple {{irc}} template from 

https://www.mediawiki.org/wiki/Architecture_meetings/RFC_review_2013-12-04

to

https://www.mediawiki.org/wiki/Architecture_meetings/RFC_review_2013-12-18

1. Open both pages in Edit mode.

2. Copy "#wikimedia-meetbotconnect" from one page and paste it in the other.

EXPECTED

The template is copied as i to the destination page.

ACTUALLY

If selecting only the text generated by the template, Ctrl-C seems to be not enough. Ctrl-V in the other page will still paste whatever you hadd in your clipboard before.

If selecting the text of the template plus some extra text, then Ctrl-C does copy something, and Ctrl-V does paste a visually equivalent text.

However, when checking the wikitext source of the page one can see that the original template has been rendered as HTML.

See https://www.mediawiki.org/w/index.php?title=Architecture_meetings%2FRFC_review_2013-12-18&diff=841813&oldid=838192

If this is part of a secret, long-term Parsoid plan to convert all template instances to HTML, fine. However, if this is not the intended behavior...  ;)
Comment 1 WhatamIdoing 2014-01-09 00:18:23 UTC
https://en.wikipedia.org/w/index.php?title=User:Edgepedia/VE/S%26D&diff=588724142&oldid=588539903 (Command-F to search for "Commons") shows the same kind of problem, except that the result doesn't look right.  The image is missing, the box is missing, and the text is on the left rather than on the right.  The appendices are duplicated in that diff, so you can see both what's wrong (the first set of ==External links==) and what it ought to do (the very bottom of the page).
Comment 2 Alex Monk 2014-11-01 19:05:00 UTC
Can't reproduce this issue...
Comment 3 WhatamIdoing 2014-11-06 04:07:06 UTC
I can no longer reproduce this in Firefox.  It's been months since the last time I remember seeing this.

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


Navigation
Links