Difference between revisions of "User:GrabberBot"

From The Battle for Wesnoth Wiki
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is a bot run by me. --[[User:Allefant|Allefant]] 21:34, 18 August 2005 (CEST)
+
This is a bot written by Allefant and run by boucman, used to maintain the Contrib: pages.
 
 
I apologize in advance if it will do bad things :P
 
  
 
It doesn't use the official mediawiki bot framework, but just some handmade scripts quickly scribbled together. So anything can happen.
 
It doesn't use the official mediawiki bot framework, but just some handmade scripts quickly scribbled together. So anything can happen.
Line 9: Line 7:
 
* [[/grabber.py]] - An image scanner for the wesnoth phpBB forums. It outputs all the new images since it was last run.
 
* [[/grabber.py]] - An image scanner for the wesnoth phpBB forums. It outputs all the new images since it was last run.
  
The new image links are in a text file on my HD after it is run.
+
The new image links are in a text file after it is run.
  
 
* [[/poster.py]] - This reads the list of images output by the above, and posts to the [[UnsortedContrib]] wiki page.
 
* [[/poster.py]] - This reads the list of images output by the above, and posts to the [[UnsortedContrib]] wiki page.
  
This posts for every image a link to the image, a link to the post it was found in, a link to the wiki page of the contributor, and two links to move the image into the [[GraphicLibrary]] and to delete it again. Clicking those links uses a horrible hack and mis-uses my SF site to store the commands - so I risk having my acount terminated for this :)
+
This posts for every image a link to the image, a link to the post it was found in, a link to the wiki page of the contributor, and two links to move the image into the [[GraphicLibrary]] and to delete it. Clicking those links uses a horrible hack and mis-uses my SF site to store the commands - so I risk having my acount terminated for this :)
  
 
* [[/cleaner.py]] - This reads the scheduled commands and either transfers or deletes image links from [[UnsortedContrib]] into the [[GraphicLibrary]] accordingly.
 
* [[/cleaner.py]] - This reads the scheduled commands and either transfers or deletes image links from [[UnsortedContrib]] into the [[GraphicLibrary]] accordingly.
 +
 +
And the new version now also has some helper code for the wiki, for which I sneaked at the offical mediawiki bots. Guess I should add a license note.. for now just note it's all GPL.
 +
 +
* [[/mediawiki.py]]

Latest revision as of 08:58, 22 July 2006

This is a bot written by Allefant and run by boucman, used to maintain the Contrib: pages.

It doesn't use the official mediawiki bot framework, but just some handmade scripts quickly scribbled together. So anything can happen.

They are:

  • /grabber.py - An image scanner for the wesnoth phpBB forums. It outputs all the new images since it was last run.

The new image links are in a text file after it is run.

This posts for every image a link to the image, a link to the post it was found in, a link to the wiki page of the contributor, and two links to move the image into the GraphicLibrary and to delete it. Clicking those links uses a horrible hack and mis-uses my SF site to store the commands - so I risk having my acount terminated for this :)

And the new version now also has some helper code for the wiki, for which I sneaked at the offical mediawiki bots. Guess I should add a license note.. for now just note it's all GPL.

This page was last edited on 22 July 2006, at 08:58.