Wikipedia:Bot policy
From Wikipedia, the free encyclopedia
-
"WP:B" redirects here. For Wikipedia Bureaucrats, see Wikipedia:Bureaucrats.
Bot pages: | Bot policy | Currently running bots | Requests for bot approval | How to create a bot |
Requests for work to be done by a bot | Bot owners' noticeboard | Semi-bots |
Wikipedia policy |
Behavioral standards |
Assume good faith Bots Civility Editing policy No legal threats No personal attacks Ownership of articles Sock puppetry Three-revert rule Username Vandalism |
Robots or bots are automatic processes that interact with Wikipedia as though they were a human editor. Please read the guidelines below before designing and implementing any bot on Wikipedia.
Contents |
[edit] Policy
Prior to use, bots must be approved at Wikipedia:Bots/Requests for approval. State there precisely what the bot will do, observe and participate in the discussion, and await authorization from someone in the approvals group. Approval may take up to one week. After approval you may run the bot for a short period so it can be monitored. After the trial the bot will be evaluated by someone in the approvals group and you may ask that the user be marked as a bot by a bureaucrat.
Please do not start running your bot without:
- Creating a talk page for the bot, describing its functions
- Listing it on Requests for approvals
- Getting the go-ahead from someone in the approvals group
When seeking approval on Requests for approvals, please state the following:
- Whether the bot is manually assisted (run by a human) or automatically scheduled to run
- The period, if any, we should expect it to run
- What language or program it is running
- Its purpose
Create a user page for your bot before seeking approval on BRFA:
- Describe the bot's purpose, language it uses, what program(s) it uses (pywikipedia framework, etc)
- Describe whether it is manually assisted or automatically scheduled to run
- The period, if any, we should expect it to run
- Describe who the maintainer is
- Add its user page to Category:Wikipedia bots by adding {{Bot|Original Username}} to the top of the bot's user page
Usernames for new bots should incorporate the word "bot" so that editors realize they are dealing with an automaton, despite historical counterexamples such as Pearle. The username for the bot should also incorporate the username of the bot operator or a recognizable fragment of it.
- Sysops should block bots, without hesitation, if they are unapproved, doing something the operator did not say they would do, messing up articles, editing too rapidly, or running anonymously. A bot operator is encouraged, but not required, to post their IP address on their bot's user page so that the owner of an anonymously running bot can be found.
- New bots should run without a bot flag so people can check what it's doing.
- Until new bots are accepted they should wait 30-60 seconds between edits. After being accepted and a bureaucrat has marked them as a bot, they should delay approximately 10 seconds between edits. It is recommended that bots run with larger delays during peak hours, and peak days such as Monday. Ideally, high-volume bots should run on off-peak hours and on typically low-traffic days such as Friday and Saturday to avoid strain on the database servers. Running during off-peak times may permit faster editing than suggested.
- The operator should be at, or logged into, the machine the bot is running on to terminate it if necessary during the debugging phase, otherwise the bot is liable to be blocked without notice.
- Bots that download substantial portions of the page database are prohibited. Instead, download the database dumps. See also Wikipedia:Mirrors and forks.
- Do not log in as your bot when replying to inquiries. Questions or concerns can be addressed at bot's talk page or the operator's talk page, but since bots can't reply, the one responsible for replying is its operator.
The burden of proof is on the bot-maker to demonstrate that the bot:
- is harmless
- is useful
- is not a server hog
- has been approved
- abides by all guidelines, policies and common practices
Note that according to Wikipedia:Categorization of people, certain types of person categories should not be filled/emptied using a bot. Before adding sensitive categories to articles by bot, the input should be manually checked article by article, rather than uploaded from an existing list in Wikipedia.
To help prove that a bot is harmless and useful, a trial period may be asked to demonstrate the bot. Any complaints made about the bot during the trial period require that the bot be stopped immediately, and the issue should be resolved at Wikipedia talk:Bots. If the trial period passes with no problems, a bot flag may be requested at Requested bot flags.
If you plan to make any modifications to your bot that expand the scope of its original purpose, please leave a note on the talk page regarding the nature of the change to assert that no one has any problems with your bot, and with such additions the bot will still be harmless and useful, and not a server hog.
Under exceptional circumstances, one or more aspects of this policy may be set aside by a consensus of administrators.
[edit] Spell-checking bots
There should be no bots that attempt to fix spelling mistakes in an unattended fashion. It is not technically possible to create such a bot that would not make mistakes, as there will always be places where non-standard spellings are in fact intended. Manually-assisted spell bots are acceptable, so long as they include international spellchecking and not only country-specific spellchecking. Statistic-generating spell-checking bots, which generate statistics on common misspellings, are also acceptable.
Wikipedia:Maintenance reports that list possible misspellings are welcome. See Wikipedia:Typo for existing efforts and a list of existing interactive spell-checking tools.
[edit] Interwiki bots
If using the pywikipedia framework:
- Please run the latest version
- Update on a daily basis
Bot operators must be reasonably familiar with the languages that they are linking from and to, in order to confirm that interwiki linkings between the two encyclopedias are done correctly.
Exceptions to this are bot developers, those working very closely with bot developers, or users that have proven themselves as harmless and useful to the community.
- Wikipedia:Interlanguage links
- Interwiki bot FAQ
- m:Interwiki bot
- m:Interwiki sorting order (See & vote: bug 2867)
[edit] Problems with a specific bot
If you spot a problem or have a complaint about a specific bot, take your query to the bot operator's talk page. If you think the problem is serious and would like greater input, leave a short note at Wikipedia talk:Bots pointing to the discussion at the operator's talk page. An admin can block on sight any bot that appears to be out of control.
[edit] Good form
Bot operators are encouraged (but not required) to:
- Publish the source code of their bot (unless it's a clone)
- Program their bot to stop editing if someone leaves a message on its talk page. This can be checked by looking for the "You have new messages..." banner in the HTML for the edit form.
- Program their bot to stop editing if they detect that they have logged out. This can be checked by looking for bot's name in the HTML for the edit form. If the bot is not logged in, then the bot's name won't be listed in the HTML. Bots running anonymously may be blocked.
[edit] Assisted bots
Assisted bots are defined as any software that allows rapid editing of articles, while not saving any changes without some human interaction. Typical assisted jobs include those which are repetitive, but cannot be done fully automatically e.g. disambig repair, stub sorting and typo fixing.
- Assisted bots don't necessarily need bot approval, though some software has built in approval detection, whereby approval from an admin is required (developers are encouraged to build in approval mechanisms).
- A separate account is advised if many edits are going to be made.
- Always make extra sure there is consensus before making a large series of edits.
- Make it clear that software is being used to perform the edit.
[edit] See also
- How to create a bot
- About bots
- Bot policy and requests
- Wikipedia:User access levels
- Toolserver
[edit] Wiki integration bots
Below is a list of bots on other systems/solutions that extend system-specific funcionality with Wiki integrations.