Steps to replicate the issue (include links if applicable):
- Upload a file, then upload a second version of the same file.
- Look in your Uploads tab, https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Jidanni&ilshowall=1 is mine.
- Try to get a link to the first upload.
What happens?:
Both "(file)" links link to the new version,
https://upload.wikimedia.org/wikipedia/commons/3/3e/19940722epoplar.jpg
What should have happened instead?:
The older one should link to the older version:
https://upload.wikimedia.org/wikipedia/commons/archive/3/3e/20230304033700%2119940722epoplar.jpg
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Imagine you upload a picture of the letter A, then a newer version with the letter B.
Well, even though we still see A on the upload list, we can't get a link to it,
e.g., to ask someone to delete it.
Even though we are staring at a row with a picture of A in it,
all the links in that row are to B, just as if we were looking at the previous row.
The only difference is the
<img src=>
line.
Anyway, we might think we are giving an admin a link to the old version, but end up asking to delete the newer version!
Yes the File:xxx page does contain the proper links.
P.S.. please do your own experiment, as the older one I mentioned in this report are probably gone now.