Jump to navigation Jump to search
This page is a translated version of the page Help:Bots and the translation is 65% complete.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Esperanto • ‎Tiếng Việt • ‎Türkçe • ‎català • ‎dansk • ‎español • ‎français • ‎galego • ‎interlingua • ‎norsk bokmål • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎русский • ‎српски / srpski • ‎українська • ‎العربية • ‎فارسی • ‎پښتو • ‎हिन्दी • ‎മലയാളം • ‎中文 • ‎日本語 • ‎한국어
PD 注意:当您编辑本页面时,即代表同意以CC0协议授权您的贡献。您可以在公有领域帮助页面找到更多信息。

机器人是一种计算机程序,它可以在执行时自动获取或更新 wiki 页面。 In general, bots are used for repetitive maintenance tasks, whose volume and characteristics are too large to be performed manually by users.

开发和运行机器人程序通常都不属于普通用户的角色范畴,这需要编程经验,并且必须在 wiki 管理员的协助下才能完成。

默认情况下,机器人的编辑在Special:Recent changes中是隐藏的。


机器人不使用普通的图形用户界面来访问 wiki。 MediaWiki has an API (Application Programming Interface) available for this purpose. An API is a protocol for standardized communication between two computer programs. Check API:Client code for more information.

要通过 API 访问 wiki,机器人必须有一个用户帐户,并且被授予了 'bot' 权限。


Pywikibot 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 ( ), adding some wikilinks ( ), moving old contents of talk pages to subpages ( ), editing categories ( ), or managing templates ( ).


wiki-java是一个轻量级的 Java 机器人/应用程序框架,它可被用来执行多种任务,如:上传文件,在文章中添加文本,解析模板,基本 I/O,等等。 The library also comes with simple, but powerful standalone bot methods that can be readily utilized by a programmer.

Chris G's botclasses

Chris G's botclasses compose a PHP MediaWiki bot framework hosted at the toolserver.