When browsing through commons, I happened to stumble upon https://commons.wikimedia.org/wiki/User:Smallman12q/PyCJWiki which appears to be a python bot that uses chunked uploading, and thus work with files up to 500 mb big. Perhaps it would be helpful to you.
--bawolff On 6/25/13, Tilman Bayer <[email protected]> wrote: > With the https://commons.wikimedia.org/wiki/Commons:Chunked_uploads > enabled, users can currently upload files up to 500MB, when using a > supported browser (e.g. a current Firefox or Chrome). > > I think Daniel's question was about how to make this method work for a > bot too, i.e. via the API rather than in a browser. > > On Tue, Jun 25, 2013 at 2:52 PM, OQ <[email protected]> wrote: >> I would assume given the previous reply that regardless of upload method, >> chunked or otherwise, there is still the hard limit of how big the >> resultant file can be. >> >> >> On Tue, Jun 25, 2013 at 5:49 PM, Jeremy Baron <[email protected]> >> wrote: >> >>> On Jun 25, 2013 5:44 PM, "Daniel Mietchen" >>> <[email protected] >>> > >>> wrote: >>> > my bot[1] occasionally stumbles upon files that are above 100MB and >>> > thus does not upload them[2]. What do I have to do to get it set up >>> > for handling these files too? >>> >>> this looks like the relevant section: >>> >>> https://www.mediawiki.org/wiki/API:Upload#Chunked_uploading >>> >>> I don't know the current settings; you might need to enable chunked >>> uploads >>> in the MediaWiki prefs for the user you're uploading as. >>> >>> -Jeremy >>> _______________________________________________ >>> Wikitech-l mailing list >>> [email protected] >>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> _______________________________________________ >> Wikitech-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > > -- > Tilman Bayer > Senior Operations Analyst (Movement Communications) > Wikimedia Foundation > IRC (Freenode): HaeB > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
