Use chunked upload for large files
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, php
- Domain
- backend
Research direction
Start by tracing the ApiUpload path and the existing check for MediaWiki's $wgMaxUploadSize, then compare it with PHP's post_max_size and upload_max_filesize behavior in php.ini. Done should mean files exceeding those PHP limits are handled with a clear upload error rather than failing silently; the issue also calls for chunked upload support for large files.
Written by the indexing model from the issue text.
Description
If a file exeeds post_max_size or upload_max_filesize set in php.ini the upload will fail without proper error message.
It seems that PHP does not raise an error when the file is too large and ApiUpload is not explicitly testing this error condition, so no error message is generated.
MediaWiki's own $wgMaxUploadSize is checked however.
Workaround for the moment: Raise the php.ini settings above the largest expected file size.
- Dominant language
- JavaScript
- Stars
- 22
- Forks
- 17
- Avg merge
- 5h 30m
- Merged PRs (30d)
- 13
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ProfessionalWiki/SimpleBatchUpload
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ProfessionalWiki/SimpleBatchUpload#57 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
ProfessionalWiki/SimpleBatchUpload#50 · 2 comments ·
-
enhancement usability
Difficulty 5/5 Over a week Newbie friendliness 25/100
ProfessionalWiki/SimpleBatchUpload#28 · 1 reaction ·
All issues in ProfessionalWiki/SimpleBatchUpload
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·