When writing or editing this post in VE-mode,
https://www.mediawiki.org/w/index.php?title=Topic:Sfogvkj4i5hh86z1&topic_showPostId=sfpses01tzfkby12#flow-post-sfpses01tzfkby12
opening the link sends me to (broken)
https://www.mediawiki.org/w/File:BetaFeatures-Hovercards-Thumbnail-ltr.svg
It should go to
https://www.mediawiki.org/wiki/File:BetaFeatures-Hovercards-Thumbnail-ltr.svg
---
A similar, but not the same, bug happens in article VE (tested in Firefox 31.6.0 on English WIkipedia at https://en.wikipedia.org/wiki/User:Mattflaschen_%28WMF%29/Sandbox?veaction=edit):
1. Blank the surface.
2. Click link icon.
3. Paste in File:BetaFeatures-Hovercards-Thumbnail-rtl.svg
4. Click Insert button
5. The link in the surface (not the context item) goes to https://en.wikipedia.org/%3AFile%3ABetaFeatures-Hovercards-Thumbnail-rtl.svg .