Last modified: 2014-03-25 07:39:28 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 T23338, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21338 - New user right: "Allow large uploads"
New user right: "Allow large uploads"
Status: NEW
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 36687 (view as bug list)
Depends on:
Blocks: Wikisource 36687
  Show dependency treegraph
 
Reported: 2009-10-29 02:38 UTC by FT2
Modified: 2014-03-25 07:39 UTC (History)
19 users (show)

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


Attachments

Description FT2 2009-10-29 02:38:03 UTC
In the same way that some users can create large numbers of user accounts, because they work in that area and are trusted to do so, there are some users who work in the image/media arena who feel restricted by the limit on upload size for high quality uploads and restorations. Files of over 100 MB are routinely discussed by featured image uploaders; larger files may also be appropriate in some cases.

Can we have a "large uploads" usergroup so that there's some mechanism to allow at least some users to upload large media files without restriction? 

It would be a good solution to the problem of setting a common limit which (however large) some media editors in good standing may find restrictive.
Comment 1 Durova 2009-10-29 03:00:16 UTC
Example: http://durova.blogspot.com/2009/10/good-news-about-booker-t-washington.html

Other examples available upon request.
Comment 2 Chad H. 2009-10-29 16:34:06 UTC
Should be pretty trivial to add a new userright that's not subject to the size checking limits, or is subject to a higher limit.

New groups can easily be added to WMF config once the right exists.
Comment 3 Tomasz W. Kozlowski 2011-11-06 13:00:44 UTC
Does anyone have any idea if such a usergroup is going to be created in a foreseeable future? 

I've been uploading many videos to the Commons in the past few months, and asking a developer every time and wasting his time to deal with Bugzilla bugs hasn't been very handy.
Comment 4 Roan Kattouw 2011-11-11 13:35:38 UTC
This would make much more sense once chunked uploading is introduced and uploading such large files over HTTP(S) is actually technically feasible.
Comment 5 Rd232 2012-04-15 09:51:24 UTC
Question: if upload-by-url is enabled (Bug 20512 - Enable $wgAllowCopyUploads (upload by URL)), would it make sense to allow users with access to upload-by-url to upload large files by URL? Server-to-server uploads ought to be stable enough for large files.
Comment 6 Rainer Rillke @commons.wikimedia 2012-04-16 20:07:37 UTC
#1 upload-by-url will only work within the MW-cluster
#2 chunked upload was buggy; is it fixed now?
Comment 7 Brion Vibber 2012-04-16 20:14:31 UTC
Known problems with chunked upload have been fixed; we've got an opt-in option ready to go soon to test it in production.

Beware that currently, chunked uploads will only work in reasonably recentish WebKit and Mozilla-based browsers [there's a tweak in review which also makes it work on IE 10].
Comment 8 Ariel T. Glenn 2012-04-16 20:18:27 UTC
It might be nice to be able to cap the number of such uploads by a given user in some short period of time, not because we want to keep out such material, but so that we can manage capacity if this suddenly becomes a popular feature.  For the initial rollout it shouldn't be a deal-breaker.
Comment 9 Sam Reed (reedy) 2012-04-17 09:01:32 UTC
(In reply to comment #8)
> It might be nice to be able to cap the number of such uploads by a given user
> in some short period of time, not because we want to keep out such material,
> but so that we can manage capacity if this suddenly becomes a popular feature. 
> For the initial rollout it shouldn't be a deal-breaker.

The User::pingLimiter function should probably make this easy enough to do
Comment 10 Rainer Rillke @commons.wikimedia 2012-04-17 17:55:03 UTC
(In reply to comment #7)
>Beware that currently, chunked uploads will only work in reasonably recentish WebKit and Mozilla-based browsers
I am using the API. Does it mean I can't compose the multi-part message myself? Do I have to set the User-Agent to mozilla when using my personal implementation? I don't think so -- it's just for users using UpWiz, right? 

BTW: A bit more documentation on how to use that feature (e.g. what parameters are required or recommended initially, with each chunk and finally and what possible responses, I have to expect) would be nice; not only for me - finally I got it working - but for all who want to improve their upload bots.
Comment 11 とある白い猫 2012-04-17 20:09:44 UTC
I would suggest against a cap, at least for bots. It can be the case where the bot has a large freely licensed video archive to copy to commons.

For instance LOC probably has a fair number of war-era videos that could be processed and uploaded in bulk.

Just my 2 cents.
Comment 12 Brion Vibber 2012-04-17 20:13:18 UTC
(In reply to comment #10)
> (In reply to comment #7)
> >Beware that currently, chunked uploads will only work in reasonably recentish WebKit and Mozilla-based browsers
> I am using the API. Does it mean I can't compose the multi-part message myself?

If you're an API user, then you can construct your requests however you wish -- chunked upload capabilities simply exist in the API and you can use them at any time.

The limitation is in the UploadWizard front-end, which needs to know it has support for a version of Blob.slice() that acts as expected. (Ideally it would detect this by trying it, rather than checking browser engine versions.)

> BTW: A bit more documentation on how to use that feature (e.g. what parameters
> are required or recommended initially, with each chunk and finally and what
> possible responses, I have to expect) would be nice; not only for me - finally
> I got it working - but for all who want to improve their upload bots.

Documentation would be nice, yes. :) I'll see if I can find or improve some...
Comment 13 Brion Vibber 2012-04-17 20:41:18 UTC
Adding docs here:
https://www.mediawiki.org/wiki/API:Upload#Chunked_uploading
Comment 14 とある白い猫 2012-05-08 10:57:30 UTC
So there is no upload limit if one uses the API?
Comment 15 Roan Kattouw 2012-05-08 18:47:34 UTC
(In reply to comment #14)
> So there is no upload limit if one uses the API?
No, the same limits apply, but the API allows chunked uploading (upload the file in smaller chunks that are recombined server-side. There is now an experimental preference that you can enable that will make UploadWizard use chunked uploading as well. There is no support for chunked uploading in Special:Upload.

For this bug, we would add a new user right that allows users to upload large (define large? up to 1 GB?) files. Chunked upload is the only way to upload files larger than 100MB, that's why the two are linked. Now that chunked upload seems to be working and deployed (experimentally, but still), that's something we could work on.
Comment 16 とある白い猫 2012-05-09 00:54:42 UTC
I'd say 4.5GB (the size of a DVD) as I am trying to put in a 1.4GB file (video) already.

Also a progress bar would be more than helpful.
Comment 17 Fastily 2012-05-14 07:10:32 UTC
I'd support a 4.5 GB limit.  That's more than sufficient for the videos I'm trying to upload.  Also, anyone interested in this bug should take notice of https://bugzilla.wikimedia.org/show_bug.cgi?id=36829.  Chunked uploads with Upload Wizard chokes up on files >300mb
Comment 18 Dereckson 2012-09-07 19:03:58 UTC
By the way, the user by default now can upload <= 500 Mb files, instead 100 Mb at bug opening.
Comment 19 Fastily 2013-06-08 22:02:39 UTC
*** Bug 36687 has been marked as a duplicate of this bug. ***
Comment 20 555 2014-02-20 23:49:25 UTC
Adding bug 35925 (tracking), isn't hard to found book digitizations larger than the current upload limit
Comment 21 Fastily 2014-02-20 23:56:31 UTC
(In reply to 555 from comment #20)
> Adding bug 35925 (tracking), isn't hard to found book digitizations larger
> than the current upload limit

Not to mention video, where only a few minutes of 1080p HD quickly exceeds 1GB

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


Navigation
Links