VisualEditor: Copying a template from one page to another: render is correct, but template is gone.
Closed, DeclinedPublic

Description

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.
  1. 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... ;)


Version: unspecified
Severity: normal

Details

Reference
bz58419
bzimport set Reference to bz58419.
Qgil created this task.Dec 12 2013, 11:13 PM

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).

Can't reproduce this issue...

I can no longer reproduce this in Firefox. It's been months since the last time I remember seeing this.

Add Comment