Current projects/upload images

From CrawlWiki
Revision as of 01:12, 9 January 2013 by CommanderC (talk | contribs)
Jump to: navigation, search

Description

This project page is meant to organize the uploading of all monster images to the new wiki and keep track of our progress.

You can access the images to upload here: Monster tiles directory


Status of the bot

The script upload-images.pl can be used, but its functionality it's still very basic. --CommanderC 01:12, 9 January 2013 (CET)


How to use the bot

  • Create an account with bot permissions.
  • Install a perl interpreter and the MediaWiki::API perl module.
  • Download the source code of the current stable version of crawl: [1]. Get the no-deps version which is smaller, and extract it.
  • Download the source code of the bot: Current projects/upload images/upload-images.pl
  • Open the script with a text editor and change the values of the variables $username and $password. You can also change the amount of time it waits between uploads, but don't set it too low. By default, it will wait 60 seconds.
  • The script only requires one argument, the path of the directory that contains the images. For example:
perl upload-images.pl crawl/crawl-ref/source/rltiles/mon