FANDOM


Language: English

Script error

A bot is a computer program that automatically retrieves or updates wiki pages when it is executed. In general, bots are used for repetitive maintenance tasks, whose volume and characteristics are too large to be performed manually by users.

Developing and executing bots is normally outside the role of normal users, requires programming experience and must be done in coordination with the wiki's admins.

By default, bot edits are hidden in Special:Recent changes.

Framework and interface for bot development

Bots do not access the wiki through the normal graphical user interface. MediaWiki has an API (Application Programming Interface) available for this purpose. An API is a protocol for standardised communication between two computer programs. Check API:Client code for more information.

To access a wiki through the API a bot must have a user account, which has been granted 'bot' permissions.

pywikipediabot

Manual:pywikipediabot provides a framework for the development of bots, which are commonly used to perform maintenance tasks such as adding a footer to some categorized pages (add_text.py), adding some wikilinks (replace.py), moving old contents of talk pages to subpages (archivebot.py), editing categories (category.py), or managing templates (template.py).

wiki-java

wiki-java is a lightweight Java framework for bot/application development and can be used to perform various tasks, such as uploading files, adding text to articles, parsing templates, basic I/O, etc. The library also comes with simple, but powerful standalone bot methods that can be readily utilized by a programmer.

Extension alternatives

  • Extension:MassEditRegex provides an alternative way to perform mass edits using regular expressions, through a special page in the wiki. Only admins can normally use this extension.

See also

Language: English
A bot is a piece of software that makes automated edits on a community and also helps human users to make semi-automated edits. Bots are most often used to make repetitive edits to many pages, such as moving a group of pages to a new category, fixing links to disambiguation pages, or to search for misspelled words and replace them with correct ones.

Bot flags

As bots can make many edits during their run, their edits can overwhelm the recent changes list, making it difficult to see and respond to edits by human users. For this reason, bots that have been tested and approved by a community can be given a bot flag. A bot flag is a setting in the MediaWiki software that hides bot edits from the recent changes list. Bot edits can always be revealed by clicking "Show bots" in the Recent changes header.

Showbots

How can I flag an account as a bot?

Please contact Fandom staff to request a bot flag for a specific account. Your request should include a link to a public discussion on your community or explicit permission from a bureaucrat, showing approval of the use and flagging of the bot. A bureaucrat can also contact staff and request to flag accounts as bot. On certain communities, bureaucrats are also able to flag themselves and other users as bots often for cleanup purposes or testing.

Important notes

Bots on Fandom must use a limited editing rate so that they don't overload Fandom's servers. For most bot programs, a rate throttle is built in, so you don't need to worry about this. However, if you find your bot making more than one edit per second, then it's time to slow it down. A bot account's user profile and talk page should:

  • Clearly identify the account as a bot
  • Link to its owner's user talk page for questions
  • Encourage users to have the bot blocked by an admin if its automated edits are causing damage to the community — the block can be lifted after the causes for the damaging edits are understood and fixed.

Check page

AWB

AutoWikiBrowser (AWB) has a user-friendly interface that allows for mass edits to be done effectively and easily.

AutoWikiBrowser (AWB) makes use of a whitelist called a "check page". On Fandom, if this page exists locally on the community (in the format of Project:AutoWikiBrowser/CheckPage), the bot's username (or the username the bot will run on) will need to be on this check page in order to operate on the wiki. If the check page does not exist, there is no restriction and AWB can be run without requiring the whitelist. This is done to restrict unauthorized bot programs from being run on communities.

Resources

For more information on using and making bots, see AutoWikiBrowser, Pywikipediabot, or Creating a bot.

Please visit the Community Central Forum to find other bot users for help in using bots for specific tasks.

See also

User blogs on bots

Further help and feedback

Community content is available under CC-BY-SA unless otherwise noted.