Linking to a file using visual editor
Steps to Reproduce:
- Edit page on using VE
- Click add link
- Enter a filename with File-prefix (e.g. File:Foo.svg)
- Press enter
- Press enter again
The same thing happens for categories or if the preceding colon is added manually.
- Inserted text is changed to :File:Foo.svg
- Inserted text is changed to ::File:Foo.svg
- As result
- No change
The same thing happens for categories or if the preceding colon is added manually. I can get this to happen repeatedly but occasionally VE will correctly know not to add the second colon (have not identified when though.