2

I want to upload a bunch of pictures (PNG, approx. one thousand) to Wikia (if I understand it correctly it runs MediaWiki under the hood).

Is there a way to just select a directory on my PC, select a category it should be put to and let it automatically upload all the files?

I tried MultiUploader, but it throws a bunch of errors and even if it was working I don't know how to add all those newly uploaded images to one category.

4
  • Is it your server? Do you have an FTP account to login to manage it? Aug 1, 2013 at 9:31
  • No, it's not my server and I don't think they provide FTP access :( - wikia.
    – monnef
    Aug 1, 2013 at 12:56
  • Can you use the API to upload? Aug 1, 2013 at 13:29
  • I was kinda hoping that there is some multi-upload tool already done, but only ones I found were server-side extensions.
    – monnef
    Aug 1, 2013 at 16:16

2 Answers 2

2

There are several good options using the MediaWiki web API.

With a graphical interface: use VicuñaUploader. Not much to say, basically just install it and enter your wiki URL, directory. The rest will be obvious.

From the command line, use pywikibot's upload.py. Something like:

for image in $(ls); do ... upload.py -family:wikia -lang:mywiki -filename:$image -noverify; done
0

You must use special:upload with MultiUpload, but you are limited to 10 at a time due to possible abuse.

Your link, MultiUploader can only be used by Autoconfirmed Users

1
  • MultiUpload: Uploading ~1k images in groups of 10 and selecting it every time by hand is not an option. MultiUploader: I'm in autoconfirmed group, but the program is buggy - sometimes it does not upload a file even though it said it did, after some number of uploads (4?) it starts to popup message box with error every time next file is being uploaded. I wanted an automatic way of uploading = select folder, click upload button and let it do its work. Clicking thousand times every few seconds are pretty far from automatic...
    – monnef
    Aug 1, 2013 at 16:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.