Last modified: 2013-11-18 20:13:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55856, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53856 - VisualEditor: weird behavior with double square brackets
VisualEditor: weird behavior with double square brackets
Status: RESOLVED WORKSFORME
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-06 15:45 UTC by Elitre
Modified: 2013-11-18 20:13 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Elitre 2013-09-06 15:45:19 UTC
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.
Comment 1 James Forrester 2013-11-06 17:37:56 UTC
I think this may have been a cacheing error? I can't reproduce, but it feels a lot like bug 53079, yes.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links