Community Central
Community Central
Forums: Index Help desk Using bots for spelling mistakes?
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 6183 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.

Hi, I have discovered that in Danish Wookieepedia (were I'm an editor), we have spelled a word wrong in every single article. Then my question is, is it possible to use a bot to corrrect that in every article? - Bakse 14:19, 12 May 2007 (UTC)

Yep, replace.py should do the trick. Then again, I'm not a bot guru. Feel free to contact someone who knows more about bots than I, like Dantman. :) --Jack Phoenix (Contact) 14:40, 12 May 2007 (UTC)
^_^ Running into a forum topic and noticing that someone mentioned your name give such a nice feeling... Well that asside... The Pywikipediabot framework technically does have a spellcheck script, but that probably wouldn't work out for what you want to do. So yes replace.py would be the best tool for the job. To get it working you'll need a bot family setup, the appropriate lines in user-config.py, a user with a bot flag on them, and you'll need to run that script. Also note that since this is a bigger encyclopedia you're probably going to need community permission to run such a bot. I usually try and keep out of the bigger encyclopedia like Uncyclopedia, Wookepedia, and Memory-Alpha, and I can't fluently use any language other than English so I can't come there to do much help. But if needed I can make an attempt at setting up one bot family to work on most all of the Wookepedia languages. Also, if you tell me what the correct word is, and the different misspelled variations on the wiki are I can come up with a regex replace if needed and what you'll need to type into the Command Line. Though I'm going off for today now. Just reply with whatever here and I'll pick it up when I get back. I Patrol the RC of even Central so it's pretty hard to make an edit without me knowing anyways. ~Dantman(talk) tricks May 12, 2007 @ 14:56 (UTC)
I'll answer you in your talkpage then (: - Bakse 16:28, 12 May 2007 (UTC)
Interesting. Is there a wikia or wikipedia article where I can learn more about bots and how to build them? --Steinninn 21:38, 15 May 2007 (UTC)
I've started a new thread on that. --Steinninn 02:45, 16 May 2007 (UTC)
The most commonly used framework is the Pywikipedia bot framework. Setup info is at m:Pywikipedia. It comes with a number of prebuilt bots which can do most of what you want. Look at the individual .py files for instructions on how to run the various bots. As for building your own, there is no real guide, because to do something like building a bot you already half to know all the logic and normal things to do in programming. There's no real way a guide can help. ~Dantman(talk) tricks May 16, 2007 @ 09:28 (UTC)