https://bugzilla.wikimedia.org/show_bug.cgi?id=35916
Web browser: ---
Bug #: 35916
Summary: handle upload filesize > maxfilesize gracefully
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: UploadWizard
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Created attachment 10409
--> https://bugzilla.wikimedia.org/attachment.cgi?id=10409
UploadWizard errors after processing large file
Upon attempting to use Special:UploadWizard to upload a file larger than the
value for upload_max_filesize the following happens:
Wizard allows the user to click "Upload" button for large file
File is completely processed, usually taking many minutes
Upon completely processing the file, only then is the user presented with these
error messages: "Unknown error: unknown/0 of 1 file uploaded/None of the
uploads was successful"
Suggested behavior:
Note: because there is a countdown timer while the file is being processed, one
assumes that UploadWizard has at least an approximate idea of the size of the
candidate file.
UploadWizard should compare the file size of the candidate upload file to the
value of upload_max_filesize before attempting to upload the file and either
prevent the user from uploading a too-large file (with a reasonable error
message naming the value for upload_max_filesize) or...
alternately, warn the user that the candidate file may be too large to upload
based on the value for upload_max_filesize, and then when upload fails, present
a reasonable error msg other than "Unknown error: unknown".
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l