Last modified: 2006-12-13 16:22:48 UTC
While working on the upload script, serveral of the ogg files I uploaded failed to save properly. The reason is because it was given the following erronious prompt: Upload warning * It is recommended that images not exceed 100k in size. I attempted to upload manually in a web-browser, and got the same error. Just to be sure that the file wasn't be misidentified, I ran the file command on it: [mark@localhost ~/script]$ file ../ogg/schubert-mass_in_g._6._agnus_dei.ogg ../ogg/schubert-mass_in_g._6._agnus_dei.ogg: Ogg data, Vorbis audio,
Changed summary to reflect the problem described; Wikimedia sites have the warning moved up from the default 150k to 5 million bytes, but the 'largefile' warning message has 100k hardcoded. Instead of a hardcoded value, the message should probably display the actual $wgUploadSizeWarning setting, or some relative of it.
Fixed in HEAD.
Marking it as FIXED.
The current code in CVS is unreasonably specific, giving a to-the-byte value.
You're saying report it in MB or something, or allow a margin one way or another?
Reclosing in favour of more specific 8214.