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

       Web browser: ---
            Bug ID: 54877
           Summary: VisualEditor: It is possible to create a partly
                    working wikilink like [[[[this]]]]] (four square
                    brackets, and no nowiki tags)
           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]
    Classification: Unclassified
   Mobile Platform: ---

(Where the word is the actual working part of the element).
Probably not a real bug, since it is triggered by a user mistake (who should
remove the brackets), but since it's easily reproduceable, here are the steps:
take any <nowiki>[[link]]</nowiki> created like this (by ignoring the markup
warning).
VEdit the page and use the linking tool on the word inside the brackets.
Save, you now have [[[[link]]]], and of course the nowiki tags are gone.

https://www.mediawiki.org/w/index.php?title=User:Elitre_(WMF)/SandboxVE&diff=prev&oldid=794483

https://www.mediawiki.org/w/index.php?title=User%3AFram%2FSandbox&diff=794473&oldid=794472

Just interested in understanding whether VE wants or can do something about it.

(Note that it is absolutely possible to get the same result with the
traditional editor as well,
https://sl.wikipedia.org/w/index.php?title=Klerofa%C5%A1izem&diff=next&oldid=4101482
).

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