Last modified: 2014-07-18 15:12:16 UTC
Hi, On https://commons.wikimedia.org/wiki/File:Stained_glass_window_at_the_16th_Street_Baptist_Church_in_Birmingham.jpg (below see File history) the file description says that after moving the file, the size is 1 Gb, although the size is 1.71 MB. The size before moving is wrong too. It says 52.45Kb.
That's plain wikitext. Maybe an issue with BetacommandBot?
This is an ancient edit. I dont have any logs/records on this anymore. However I suspect that it was a bug in my calculations for file size. I was exactly 1 magnitude larger than it should have been.
Please explain how this is invalid? How the BetacommandBot could add a wrong file size?
Its invalid as this isnt an issue with mediawiki/wikimedia and rather an issue with one of my old scripts. The API provides file size in bytes. See https://commons.wikimedia.org/w/api.php?action=query&titles=File:Stained_glass_window_at_the_16th_Street_Baptist_Church_in_Birmingham.jpg&prop=imageinfo&iiprop=timestamp|user|size&format=jsonfm In this case the API returned 1793980 which for most humans doesnt make much sense. I ran a custom conversion to get the Kb/Mb/Gb values. In this particular case I was exactly 1 magnitude (Mb/Gb) off. I suspect it was an error in the conversion equation that I was using that caused what you noted and that I had swaped the Mb suffix with the Gb suffix.
OK, thanks for the explanation. The most important is, can it be corrected? either 1. directly; 2. by moving the file again (to preserve the history); 3. last there is still the option to delete and reupload.
As already suggested, go to https://commons.wikimedia.org/w/index.php?title=File:Stained_glass_window_at_the_16th_Street_Baptist_Church_in_Birmingham.jpg&action=edit§ion=1 and change Gb to Mb
ok, done. Thanks.