RubyWikiDownloader

RubyWikiDownloader (RWD) is a Ruby script, that allows you to download images from one wiki and (if it's needed) upload it to your/other wiki.

Requirements and Version
All requirements are listed on GitHub page. Current version is 1.1.2. If you've faced with problem/bug, feel free to start issue or write on message wall.

Config
When you first start the script, it will create config file  with content: { "nickname": "Your nickname here", "password": "Your password here", "script_lang": "en", "wikiname": { "from": "community", "to": "ru.community", "page": "" }, "list": "filelist.txt", "comment": "Uploading image", "text": "", "direct": false } To make script works properly, please, fill it up correctly. Do not forget about commas.

How to

 * First two parameters should be easy to add - it's your or your bot login and password.
 * script_lang: it's a parameter for language, that will be used in script. If script doesnt have your language, it will use English by default.
 * wikiname
 * from: wiki name from where we will take images;
 * to: wiki name where we will upload images;
 * page: pagename from where Helper function will take list of images, that are using on this page;
 * list: filename for list of images. In case if you have prepared lists of images' names, you can change this parameter.
 * comment: your text, that will be in summary.
 * text: your text, that will be added as text of image. It could be categories, templates or whatever.
 * direct: can be only true or false. This parameter is responsible for will images be uploaded directly to your wiki ( wikiname -> to ) or will be just uploaded to folder.

Example of prefilled config
{ "nickname": "The Jolly Roger", "password": "ItsNotMyPassword_#yolo", "script_lang": "en", "wikiname": { "from": "mlp", "to": "ru.mlp", "page": "Not Asking for Trouble/Gallery" }, "list": "filelist.txt", "comment": "Скриншоты эпизода Not Asking for Trouble", "text": " ", "direct": true }

Menu
Right now, main menu contains 3 points (options):
 * 1) Execute Main script that will start downloading;
 * 2) Execute Helper scripts that will create list of images;
 * 3) Reload config in case if you changed it while script is running;

Main
Main script can be runned via inputting number 1 and pressing enter. After that, script will start to download images. Common progress of downloadind will be in the title of console. Info about all errors will be save into file.

Helper
Number 2 is your friend if you're going to run Helper function. Make sure, that you filled parameter page before running this!

Once it's runned, script will ask you to check if page is correct and submit it via pressing enter. After that, it will fletch list of images and save list to file.

How can I help you with i18n?
First of all, thanks for helping with translations or improving them. Second - feel free to write author or create a pull request on GitHub — current i18n file is keeping in repository.