Steps to replicate the issue (include links if applicable):
- Server configuration: wiki links use the following style: "example.com/wiki/index.php?title=Main_Page"
- Upload an File and set the name to something containing a '+' character (for example "A+B.png")
- Use visual editor to add this image to some page
What happens?:
VisualEditor generates wikitext similar to the following:
[[File:A+B.png|thumb|366x366px|???|none|link=File:A_B.png]]
What should have happened instead?:
VisualEditor shouldn't include a link on the image. If removed manually, it works fine.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
- MediaWiki: 1.41.0
- VisualEditor: 0.1.2
- PHP: 8.2.20
- SQLite: 3.34.1
Other information (browser name/version, screenshots, etc.):
- Firefox 127.0.1