There is no ?version= string added to Special:FilePath redirects:
?version=
https://minecraft.gamepedia.com/Special:FilePath/Cookie.png