Last modified: 2006-12-13 16:22:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T3506, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1506 - Upload size warning doesn't show actual setting
Upload size warning doesn't show actual setting
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-10 06:01 UTC by Mark Pellegrini
Modified: 2006-12-13 16:22 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Pellegrini 2005-02-10 06:01:38 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,
Comment 1 Brion Vibber 2005-02-10 08:30:22 UTC
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.
Comment 2 Ævar Arnfjörð Bjarmason 2005-04-11 19:10:50 UTC
Fixed in HEAD.
Comment 3 Ævar Arnfjörð Bjarmason 2005-04-24 04:40:31 UTC
Marking it as FIXED.
Comment 4 Brion Vibber 2005-04-24 04:48:52 UTC
The current code in CVS is unreasonably specific, giving a to-the-byte value.
Comment 5 Rob Church 2005-12-15 18:56:21 UTC
You're saying report it in MB or something, or allow a margin one way or another?
Comment 6 Rob Church 2006-12-13 16:22:48 UTC
Reclosing in favour of more specific 8214.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links