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

       Web browser: ---
            Bug ID: 53856
           Summary: VisualEditor: weird behavior with double square
                    brackets
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: jforres...@wikimedia.org
          Reporter: elitr...@gmail.com
                CC: jforres...@wikimedia.org, krinklem...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Try to start a line with a wikilinked word as you might do in the source
editor.

1) Typing the opening double square brackets will not trigger the no-markup
warning.
2) The opening brackets will immediately disappear, the closing ones will stay.
3) When you reach the second closing bracket, VE will also add another one on
the following line. (If instead of moving to step 4 you use the keyboard arrows
around the word, you will not be able anymore to type something outside the
brackets, and will need your mouse to place yourself outside of them).
4) Keep typing something instead, then press Enter: whatever you added is
automatically copied to the next line, while the "third" square bracket is
furtherly moved onto the next line.
5) Now add the brackets to an already existing word, correctly triggering the
warning. Save anyway.
6) Review the changes. The brackets that triggered the warning did not trigger
the nowiki tags as well. An opening one and a closing one are gone, and what is
left is weird anyway. (This can also be triggered before saving by hitting Back
Space, but I can't say where).
The brackets that we added in the first place are all gone, the duplicated text
is gone as well, just a lonely closing bracket stands still.

https://it.wikipedia.org/w/index.php?title=Utente%3AElitre_%28WMF%29%2FSandbox_VE&diff=61362482&oldid=61361463

Reminds me of https://bugzilla.wikimedia.org/show_bug.cgi?id=53079, actually.
Thanks.

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