Follow-on from bug 49596.
The insertion of a new image adds link=… whether or not it's been actively set away from the default.
Thus (in the example in bug 49596 comment 0) we get:
[[File:CV.03326.jpg|link=https://commons.wikimedia.org/wiki/File:CV.03326.jpg|right|framed|424x275px]]
… instead of:
[[File:CV.03326.jpg|right|framed|424x275px]]
… which is bad in terms of wikitext-user utility.
Version: unspecified
Severity: minor