menu MediaWiki帮助 机器人
异世界百科
导航 目录

机器人

机器人是一种计算机程序,它可以在执行时自动获取或更新 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:RecentChanges中是隐藏的。

机器人开发框架和接口

机器人不使用普通的图形用户界面来访问 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:客户端代码 for more information.

Follow 手册:建立一个机器人 for guidelines how to create a bot.

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

可选扩展

参见