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

       Web browser: ---
            Bug ID: 58552
           Summary: Cut and Paste of references occasionally fails
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: da...@sheetmusic.org.uk
          Reporter: axelbo...@yahoo.com
                CC: da...@sheetmusic.org.uk, i...@wikia-inc.com,
                    jforres...@wikimedia.org, jh...@wikimedia.org,
                    krinklem...@gmail.com, or...@framezero.com,
                    ryasm...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

Occasionally, cut and paste of text that includes a reference will fail in a
weird way. I was able to isolate one reproducible case: 

1. The article contains text S, followed by a reference for S, some more text
T, followed by a reference for T.

2. We cut (Ctrl-X) part or all of text T, including its reference.

3. We paste (Ctrl-V) somewhere in the middle of text S (*not* at the beginning
of S)

Result: the article view is scrolled to the top, the pasted text is in wrong
order, all of a sudden we have three references.

See
https://www.mediawiki.org/wiki/VisualEditor:TestAxelBoldt#Regression_15:_Cut.2FPaste_of_references
for a sandbox where you can try it out.

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

Reply via email to