Links under files, like [[File:Some file|link=...]] are incorrect if created using PAGENAME or PAGENAMEE magic words and the page name used to create that link contains a semicolon in its name.
Insted of non-encoded (;) or URL-encoded (%3B) semicolon an encoded HTML entity (; encoded as %26%2359%3B) appears in URL.
Testcase is shown here:
https://test.wikipedia.org/wiki/See;_or_not
See also: