User talk:Pizzahut: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
== The Anti-Spam Bot ==


I saw you were looking into making one a bit a go, but I missed the update to your page somehow about it going live. I'd give it it's own account though (it's too easy to make them), so people would know its' edits where just spam reverts and wouldn't confuse it for a real person (name it PizzaBot :P).  Out of curiosity, what scripting/programming language is it running in?--[[User:Brandished|brandished]] 12:50, 22 Jul 2008 (PDT)
: It's written in Perl, embarrassingly simple, using the [http://code.google.com/p/perlwikipedia/w/list perlwikipedia] bot framework. Unfortunately, half of the functions of the bot framework use an API which Valve's old MediaWiki version does not have. :/ Another bot framework called [http://search.cpan.org/~spectrum/MediaWiki-1.13/lib/MediaWiki.pm MediaWiki] (using the same name as the wiki software) is able to work without API, so this would probably be better provided the bugs it supposedly has don't get in the way or have been fixed in the meantime. I first tried [http://www.google.com/search?q=ActivePerl ActivePerl] (Perl for Windows, free) and then [http://www.google.com/search?q=Cygwin Cygwin] (Linux environment for Windows, free). Cygwin is a bit overkill, I only installed it because I had no clue and couldn't figure out how to install perlwikipedia on ActivePerl. If you want to try creating your own bot, go [[Wikipedia:Wikipedia:Creating a bot#Developing a new bot|here]]. --[[User:Pizzahut|pizzahut]] 13:18, 22 Jul 2008 (PDT)
:: Thanks for the info about this.  I have ActivePerl installed on my current computer, but it did take me quite a bit of time to figure out how to run scripts with it, especially without a good programming background.  I have some experience with editing perl scripts from using IRC, but not enough to really make my own from scratch.  I might mess with this sometime later on if I can ever get an older computer I have up and running again to use as a server.--[[User:Brandished|brandished]] 09:03, 23 Jul 2008 (PDT)

Revision as of 14:29, 1 August 2008