https://bugzilla.wikimedia.org/show_bug.cgi?id=58419

       Web browser: ---
            Bug ID: 58419
           Summary: Copying a template from one page to another: render is
                    correct, but template is gone.
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to