Although wikitext such as [[links]] show correctly when you edit the MediaWiki
page itself, they don't show correctly in actual usage.
You can prompt this error message by going to Special:Upload and changing the
destination filename to something without a file extension, or a disallowed
extension (like .mp3).