Current projects/upload images

From CrawlWiki
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

Missing Images

Check out Special:WantedFiles to see a list of images that are wanted on various articles.

Also, make sure to check Special:UnusedFiles before uploading a new image to see if there already is one, but not named correctly.


Status of the bot

The script Current projects/upload images/upload-images.pl can be used, but its functionality is 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