User blog:TheGoldenPatrik1/A Practical Guide to Bots

Want to know more about bots, how to create one, and how to operate it? Hopefully, this will answer most of your questions.

What are bots?
A bot, in its most basic form (the form I’ll be discussing), is an alternate account of a user that has special scripts installed in order to perform automated edits for the benefit of the community without clogging WikiActivity. For more information about bots, go here.

How can I make a bot?
The process to making a bot is easy, much easier than you think. Just follow these simple steps:

1. Create an alternate account. It does not need to have the word “bot” in its username.

2. Install the below JavaScript. This can done globally (if the bot will be used on multiple wikis) at User:YOURBOTSNAME/global.js (editable at Community Central) or locally (if the bot will be used on just one wiki) at User:YOURBOTSNAME/common.js (editable at the specific wiki). Once this is installed, your bot is almost ready to roll. 3. Contact FANDOM and ask them to flag your alt account as a bot. Note that only Administrators can ask FANDOM to do this, so if you aren’t an Administrator, you’ll need to ask them to do it. In addition, bots should always be flagged with the approval of the whole community. Note: if possible, Admin rights increase a bot’s functionality, allowing it to use some of the restricted scripts I list below.

How can I operate a bot?
So now you’ve got a bot. But what can you do with it? The applications are listed below with a brief description.
 * 1) Log into your bot’s account.
 * 2) Look at the bottom of your screen. You should see a menu across the bottom.
 * 3) Click either on My Tools, MassEdit, or MassCreate. If you click on My Tools, then click on the application you wish to use.
 * 4) Use your applications in useful ways and enjoy!
 * AjaxBatchDelete: post a list of pages you want to delete and watch as they are quickly dispatched.
 * AjaxBatchUndelete: basically the opposite of AjaxBatchDelete.
 * CleanWantedFiles: allows you to remove broken file links on Special:WantedFiles.
 * LinkSweeper: a script to remove a certain link from a list of pages.
 * MassCategorization: add, remove, or replace categories from a list of pages.
 * MassEdit: append or prepend content. Can also find and delete or find and replace content, as well as create new pages. Can take a list of pages, pages from a namespace, or pages from a category.
 * MassNullEdit: null-edits a list of pages (forcing a refresh of things like templates).
 * MassProtect: protect a list of pages.
 * MassRedirect: redirect a list of pages.
 * MassRename: rename a list of pages, almost always to a different namespace.
 * MassRenameRevert: undo multiple bad renames.
 * WHAM: allows admins to basically eradicate a bad user’s presence on the wiki.

How can I become more advanced?
The scripts I have listed here are fairly basic and very easy to use. AutoWikiBrowser and Pywikibot are two more advanced bot systems that are still fairly easy to use. For more help with these, check out the Community Central Forum.