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

       Web browser: ---
            Bug ID: 58354
           Summary: VisualEditor: IMPLEMENT copy and paste from other VE
                    instances (surfaces)
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Bug 41193 VisualEditor: Support copy and paste from other VE instances
(surfaces) is now closed as FIXED yet a fully working cut and paste is not.
Some of the bits of copy and paste still not working are documented at
http://en.wikipedia.org/w/index.php?title=Wikipedia:VisualEditor/Feedback&curid=37904286&diff=585650020&oldid=585645740

#External links? {{Tick}} This seems usually to work (not completely the same,
but near enough). Mind you, external links in templates go completely haywire
though... 
#Internal links? {{Cross}} I took one line from
[https://www.mediawiki.org/wiki/Manual:FAQ?veaction=edit FAQ], "where do I
donwload MediaWiki?". One single line, that's all.
[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840546]
Most other examples below contain further cases of internal links gone wrong
#References? {{Cross}} I tried to copy
[https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki?veaction=edit] (the
whole page), to get a page with a reference (not common on Mediawiki). The
result is baffling but
amusing[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840568].
If you go to the reference at the bottom of that page, and click the "arrow" at
the left (taking you up to the place in the same page where that reference is
used, no?) then suddenly you end at the original page, in VE edit mode! 
#List bullets? {{Cross}}
[https://www.mediawiki.org/wiki/Files_and_licenses_concept?veaction=edit],
section Display, gives
[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840576]
Note how multiple lines from the original are squashed together in the copy
#Images? {{Cross}} I found an image in
[https://www.mediawiki.org/wiki/Wikimedia_Foundation_Design?veaction=edit],
section Code, Status: but the result
[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840580]
has no image, as part of the syntax is lacking...
#Templates? {{Cross}} I tried copying the template from
[https://www.mediawiki.org/wiki/Communication?veaction=edit here, on the
right]: the result is
[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840544].
Something simpler? <nowiki>{{Note}}</nowiki> changes into <nowiki><span
class=""><span class=""></span></span><span class=""> </span>'''Note'''<span
class="">:</span></nowiki>
[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840555]
#Tables? {{Cross}} Taken from
[https://www.mediawiki.org/wiki/Manual:Code?veaction=edit], but the result is
not quite the same
[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840555],
not the contents (yuk) nor the layout. 
#Code? {{Cross}} I tried to copy the code from
[https://www.mediawiki.org/wiki/Manual:FAQ?veaction=edit FAQ], section "How do
I add extra namespaces?", but the result
[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840549] is
not quite the same as the original, and looking at the actual code underneath
makes this even more obvious
#Further bugs? {{Cross}}, e.g. the sudden appearance of (actually quite nice)
clouds as section
headers[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840559]
#Further bugs part 2? {{Cross}} But extremely funny! No idea what happened
here, but I tried to copy a section from
[https://www.mediawiki.org/wiki/Download?veaction=edit], section "Development
releases", and nothing more. The amazing result, starting from an empty page,
is
[https://www.mediawiki.org/w/index.php?title=User%3AFram%2FSandbox&diff=840564&oldid=840563].
Don't ask me where that template at the bottom left comes from, I didn't ask
for it!
#Further bugs part 3? {{Cross}}, again funny, perhaps the same as the one
above: From
[https://www.mediawiki.org/wiki/Wikimedia_Foundation_Design?veaction=edit] I
copy the short sentence <nowiki>see the {{git
file|project=mediawiki/core|file=resources/mediawiki.ui/sourcefiles|sourcefiles}}
subdirectory.</nowiki> (shown here in wikitext format, but everything here is
copied using VE only!), which looks originally like "see the
resources/mediawiki.ui/sourcefiles subdirectory". The end result of this one
sentence?
[https://www.mediawiki.org/w/index.php?title=User:Fram/Sandbox&oldid=840587]
Don't you love it? 
#Further bugs part 4? {{Cross}} If I want to copy
[https://www.mediawiki.org/wiki/Flow_Portal/Design/FAQ?veaction=edit Flow
Portal/Design/FAQ], I can't. I can't paste it into my sandbox, and if I paste
it in multiple parts, I can't save it (the save button doesn't work).

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