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

bzimport set Reference to bz58419.
Qgil created this task.Via LegacyDec 12 2013, 11:13 PM
Whatamidoing-WMF added a comment.Via ConduitJan 9 2014, 12:18 AM

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

Krenair added a comment.Via ConduitNov 1 2014, 7:05 PM

Can't reproduce this issue...

Whatamidoing-WMF added a comment.Via ConduitNov 6 2014, 4:07 AM

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

Jdforrester-WMF set Security to None.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.