Manual:Bots/ja

関連項目: 

ボットは、ウィキに関する面倒であったり反復的であったりする作業を行うために使用される、自動化ツールです. は、ウィキに対する最近の更新をIRCチャンネルに投稿することができます. WP:CREATEBOTには、APIを介してウィキを編集するための、様々なプログラミング言語でのボットのフレームワークについての情報があります. 一時間や一分あたりに何百、何千もの編集ができてしまうため、最近の更新のページがボットによる編集で溢れかえってしまいます. そのため、最近の更新からは規定で非表示になるような特別な利用者権限を設定し、ボットに与えるのが良いでしょう. As this could cause thousands of incorrect or malicious bot edits to go unnoticed for a long time, this right should only be given to bots operated by trusted users.

Bots can be used for helpful purposes, such as fixing double redirects, or for harmful purposes, such as vandalism and spamming (see also ).

The 'bot' permission may also be temporarily granted to human editors flooding Recent Changes (e.g. using AutoWikiBrowser). On Wikimedia Foundation wikis, the 'flooder' or 'flood' flag gives non-bot users the 'bot' permission.

ボットの権限、グループ、フラグ

 * From September 2012 wikitech-l thread

「ボット」利用者権限
This is the right that grants the user the ability to perform an edit with a "bot" flag.

Facts:


 * Not all users with this right are "bots".
 * The flag can be toggled on a per-edit basis. Bot software will activate this flag. But an account can be used by humans and bot software simultaneously. A dedicated bot account will typically have all its edits bot-flagged, but other users may contribute regularly and also run a bot from time to time with their credentials.

「ボット」利用者グループ
This user group is available in MediaWiki by default to grant a user the bot right (because user management goes by groups, not rights. To grant a user the bot right, one adds the user to a group that provides that right).

Facts:


 * Group membership can change over time. There are many bot-flagged edits by users that are no longer in a user group providing the bot right. Likewise there are many edits not bot-flagged by users that now have the bot right (which they may or may not use for each edit).
 * Not all bots are a member of this group (there are other groups that provide this right, sysop, for example).

「ボット」フラグ
This is the only reliable factor. This indicates most accurately that the edit was intended as bot edit (and that the user could do so because they had the bot user right when the edit was made).

It is especially reliable because the data is stored with the edit, not calculated afterwards, so it isn't affected by the user's group memberships at query time.

However it has one catch: The data is only stored in the recentchanges table, from which it expires after 30 days. This may be why this best way is also the least common way to categorize bot edits in analytics (unless only covering recent data).

The bot flag could/should be stored in the revision table, thus making it permanently available.

関連項目

 * - API for adding an account to the bot group.
 * - A Python bot framework with a multitude of available scripts.
 * - A PHP bot framework.
 * ウィキペディアでは:
 * Wikipedia's Bots page - Can give you some ideas for the type of bots you may want to use on your wiki (inactive; retained for historical purposes)
 * ボット - メタ・ウィキ上
 * ボット - メタ・ウィキ上