Difference between revisions of "Current projects/upload images"
(→Description: putting link back to image directory) |
(Added link to wanted images) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
== Description == | == 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: [http://git.develz.org/?p=crawl.git;a=tree;f=crawl-ref/source/rltiles/mon 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. --[[User:CommanderC|CommanderC]] 01:12, 9 January 2013 (CET) | ||
− | + | == 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 |
Latest revision as of 19:39, 10 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
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