Jump to content
Toggle menu
  • 3.1K articles
  • 4.4K files
  • 19 users
  • 91.5K edits
Ashenzari's Archive
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Current projects/upload images

From Ashenzari's Archive
Revision as of 00:12, 9 January 2013 by imported>CommanderC

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