List of steps to reproduce (step by step, including full links if applicable):
- Enter into Visual Editor edit mode on page with wikilinks ([[wiki_page|desc]], for ex. https://en.wikipedia.org/wiki/List_of_transistorized_computers)
- Select and copy (Ctrl-C) any normal (black text) word (or add and copy template, for ex. {{fact}})
- Paste (Ctrl-V) it right after any of the wikilinks
What happens?:
Text/template is placed inside the wikilink - before the closing ]]
What should have happened instead?:
Text/template should be placed after the ]].
Update:
Not only wikilinks are affected: if you paste something after text in bold, it will be also in bold. Probably affects everything else that has hidden closing markers.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
Firefiox 94.0.2