Jump to content
Toggle menu
  • 3.1K articles
  • 4.4K files
  • 18 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: Difference between revisions

From Ashenzari's Archive
imported>Flun
→Description: putting link back to image directory
imported>CommanderC
No edit summary
Line 1: Line 1:
== Description ==  
== Description ==  


Note: CommanderC is working on an automated way to upload images, so this manual uploading might not be needed. Standby!
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: [http://git.develz.org/?p=crawl.git;a=tree;f=crawl-ref/source/rltiles/mon Monster tiles directory]




This project page is meant to organize the uploading of all monster images to the new wiki and keep track of our progress.
== Status of the bot ==
The script '''upload-images.pl''' can be used, but its functionality it's still very basic. --[[User:CommanderC|CommanderC]] 01:12, 9 January 2013 (CET)




You can access the images to upload here: [http://git.develz.org/?p=crawl.git;a=tree;f=crawl-ref/source/rltiles/mon Monster tiles directory]
== How to use the bot ==
*Create an account with bot permissions.
*Install a [http://www.perl.org perl interpreter] and the [http://search.cpan.org/~exobuzz/MediaWiki-API-0.39/ MediaWiki::API] perl module.
*Download the source code of the current stable version of crawl: [https://crawl.develz.org/wordpress/downloads]. 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

Revision as of 00:12, 9 January 2013

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