コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

Wikipedia:Bot/使用申請

これはこのページの過去の版です。ENJBot (会話 | 投稿記録) による 2020年5月30日 (土) 13:40個人設定で未設定ならUTC)時点の版 (→‎ENJBot: 新しい節)であり、現在の版とは大きく異なる場合があります。

下の部分は日本語が読めない人のためのボットの方針の要約です。日本語が読める人はWikipedia:Botをよく読み理解した上で、次の「使用申請を投稿」を押してください。


Requests for bot approval

Summary of the Bot policy

  1. Respect m:Bot policy, WP:B#Additional_guidelines, and relevant policies.
  2. Identify your bot on its user page using the {{bot}} template.
  3. Provide the following information on the bot's user page and an approval request:
    • Details of the bot's task (or tasks)
    • Whether the bot is manually assisted or runs automatically
    • When it will operates (continuously, intermittently, or at specified intervals), and how frequently
    • The language and/or program that it is running.
  4. It is necessary to list all bots which are used on Jawp in Wikipedia:Bot/ステータス.
  5. Bots without approval need to comply with a minimum editing interval of 1 minute and a maximum limit of approximately 200 edits per task.
  6. Bots with approval should maintain an editing interval of 5 seconds or longer.
    • During the peak hours, try to refrain from running your bot, or please keep editing interval of 20 seconds or longer.
  7. When requesting approval of your bot, you should submit an approval request using the blue "Submit your request" button below.
  8. After you submit an approval request, please do a test run in 40 to 200 edits.
    • It is necessary to obtain consensus before you start a test run.
    • If your task is cleaning the sandbox and/or fixing double-redirects, you can start a test run without prior consensus.
    • A bureaucrat may approve your tasks for each type of work listed below and add bot flag to your bot if no problem was found.
    • If your bot needs to perform a different type of task than what was previously approved, it is necessary to obtain approval again.
  9. The bureaucrat will use {{BotApproved}} to approve the request, or use {{BotDenied}} to deny the request. Your bot will then be listed as an approved bot in Wikipedia:Bot/ステータス.
The list of types of bot tasks is available here.

You need to explain the type of bot works to be performed at an approval request. (Script names of the Pywikibot in parentheses are examples. It is not necessary to use the specified script if the editing result is similar.)

  • Type A - Cleaning of sandbox (clean_sandbox.py)
  • Type B - Fixing double-redirects (redirect.py)
  • Type C - String replacement in a specific article list, including link, category, and template changes (replace.py, category.py, template.py, or AWB)
  • Type D - Addition or modification of specific strings to unspecified articles (cosmetic_changes.py or AWB, including correction of specific typos, misspellings or errors)
  • Type E - Maintenance of the page protection templates
  • Type F - Page moves (movepages.py)
  • Type G - Page deletions (delete.py)
  • Type H - Automatic blocking accounts using public proxy
  • Type I - Regular tasks that do not fall under the above types (automatic updates of data that need to be edited regularly.)

# bot Bot使用申請 進捗 💬 👥 🙋 最終更新者 🕒 (UTC+9) 決裁者 🕒 (UTC+9)
1 Amaybot 20240412 12 4 Amayus 2024-08-03 07:51 W.CC 2024-06-01 21:37
2 1256Abot × 却下 5 3 W.CC 2024-10-01 00:01 W.CC 2024-10-01 00:01
発言更新の凡例
  • 一時間以内
  • 一日以内
  • 一週間以内
  • 一ヶ月以内
  • 一ヶ月以上
Manual settings
When exceptions occur,
please check the setting first.
  • ボット名/Bot: WCCbot (会話投稿記録SUL1SUL2他P)
  • 運用者/Operator: W.CC (会話投稿記録SUL1SUL2他P)
  • 作業間隔/Interval: 毎分6編集以下
  • 作業内容/Function:
    1. サンドボックスの初期化
    2. 二重リダイレクトの修正
    3. Bot依頼への対処
  • 運転方法/Operation: 手動/半自動制御
  • ソフト/Software: Python / Pywikibot
  • 連絡/Contact: 会話
  • ボットフラグ/Has bot flag(s) on:jawb,jawq,jawn,jawikt,過去にjawpでもフラグあり
    1. 初回申請
    2. 作業内容拡大申請
    3. 自己申請によるフラグ除去
  • コメント/Comment: ご無沙汰しております。過去にフラグ付きBotとして承認されており、自己申請によって除去されていたBotの再申請です。作業内容については過去のものとほぼ同様です。作業内容1については、すでに1回仮運用済み[1]です。不足であれば追加で行います。作業内容2については、申請日現在で有効な二重リダイレクトが存在しないため、jawp内では仮運用を行えません。自ら二重リダイレクトを作成して修正テストを行うことも一計ではありますが、合意なく行うことに抵抗がありますので、過去の申請時の仮運用歴や他プロジェクトでの運用履歴[2]を参考にご審議をいただければ幸いです。作業内容3につきましては、Wikipedia:Botに基づき事前合意をいただければ、適切な時期に仮運用を開始します。どうぞよろしくお願いいたします。--W.CC会話2020年4月21日 (火) 12:43 (UTC)[返信]
    • 質問 過去にフラグ除去を申請した理由について、お伺いしてもよろしいでしょうか?--ネイ会話2020年4月21日 (火) 13:02 (UTC)[返信]
      • コメント 私生活の変化に伴い、2018年6月から約2年間弱に渡りウィキブレイクをしていました。当時から少なくとも年単位でウィキペディアから離れると予想していましたので、使用しないアカウントで機能を保持し続けるのはセキュリティ上不適切と考え、コミュニティからお預かりしていた機能はすべてお返しいたしました。Botフラグもその一環です。(他プロジェクトについても同様にお返しすべきだったのかもしれませんが、これは失念しておりました。今から考えると不適切であったかもしれません。それぞれのプロジェクトのコミュニティから説明を求められた際にはお詫びを申し上げたいと思います。)--W.CC会話2020年4月21日 (火) 13:16 (UTC)[返信]
  • コメント 申請からある程度時間が経過しましたので、作業内容3についてBot依頼に適切な依頼が出たタイミングで仮運用を開始しようと考えています。開始前にその他ご質問やご意見等ございましたら、適切に再検討しますので、どうぞよろしくお願いします。--W.CC会話2020年5月2日 (土) 13:15 (UTC)[返信]
  • ボット名/Bot: Atmark-chan-Bot (会話投稿記録SUL1SUL2他P)
  • 運用者/Operator: Atmark-chan (会話投稿記録SUL1SUL2他P)
  • 作業間隔/Interval:
    • 15〜30秒(2〜4編集/分)を想定。
    • 最小でも10秒(6編集/分)は空けるようにいたします。
  • 作業内容/Function:
    1. 単純な置換作業(除去含む)。 例: リンク修正
    2. 単純な挿入作業。 例: ナビゲーションテンプレートの挿入(デフォルトソートやカテゴリとの順序程度であれば考慮できます)
    3. その他、技術的・私の知識的に可能な範囲での作業。
  • 運転方法/Operation: 手動または半自動主に半自動、場合によっては手動も可能性あり
  • ソフト/Software: Pywikibot
  • 連絡/Contact: Atmark-chan の会話ページ
  • ボットフラグ/Has bot flag(s) on: なし
  • コメント/Comment: 2案件ほど、動作確認と私自身の慣れのため、フラグなしで運用をしておりました()。私がPythonをもっと勉強していけば、作業の幅はもっと拡大していくかと思います。--Atmark-chan </稿> 2020年4月26日 (日) 14:37 (UTC) 追記--Atmark-chan </稿> 2020年4月28日 (火) 01:56 (UTC)[返信]
    •  追記 カテゴリ内の記事など、色々な一覧を取得することができるようですが、まだそちらの方はあまり学んでおりません。ですので、現状では、リンク元などから作業対象のページ一覧を手動で取得できるものが中心となりそうです。--Atmark-chan </稿> 2020年4月26日 (日) 14:44 (UTC)[返信]
    •  追記 Bot作業依頼の案件が中心になると思います。--Atmark-chan </稿> 2020年4月26日 (日) 22:50 (UTC)[返信]
    •  追記 フラグなし運用ですが、1回目稼働時にデフォルトソート・カテゴリとの順序でミスがありました。慣れの問題もあり、私自身がコードを書く際にそこまで目がいっておりませんでした。なお、現在は修正済です。(追記が多くてすみません。)--Atmark-chan </稿> 2020年4月27日 (月) 23:47 (UTC)[返信]
    • 質問 あと、「運転方法/Operation」を「手動または半自動」としておりますが、「手動」「半自動」「(全)自動」の語に対する私の解釈が合っているか分からないので、念のため詳しくお教えいただけないでしょうか。--Atmark-chan </稿> 2020年4月28日 (火) 01:56 (UTC) 修正--Atmark-chan </稿> 2020年4月28日 (火) 02:10 (UTC)[返信]
      • コメント 補足 私は、
        1. まず様子見のために2〜3項目ほどで実行してみる。
        2. 問題なければ、処理対象を増やして実行する。
          • 処理対象のページが多い場合は、何回かに区切ると思います。
          • なるべく目視で投稿記録を監視する等しています。
      のような感じです。処理を強制終了させるには、タスクマネージャーからいけばできるにはできます。これは自動なのか手動なのか、はたまた半自動なのですか。--Atmark-chan </稿> 2020年4月28日 (火) 23:17 (UTC)[返信]
      • 私の認識では、
        • 全自動運転: オペレーターが寝ていても勝手に実行開始して終了する。定時実行 Bot など
        • 半自動運転: オペレーターが実行開始したら自動で編集を保存する。Bot 作業依頼で単純な依頼を受けたとき
        • 手動制御: オペレーターが実行開始し、編集を保存するかどうかをオペレーターが1件1件確認する。Bot 作業依頼で複雑な依頼を受けたとき
      • という風に考えています。様子見であれば、コマンドライン引数の -simulate を用いて差分がどうなるかを確認することをおすすめします (pywikibot ライブラリを import して API を叩いている場合は、from pywikibot import config2 as config として config.simulate = True とするか、 user-config.py の simulate を True にしても同じです)。処理の終了はターミナルで Ctrl+C を押下すれば、KeyboardInterrupt 例外で処理終了されます。--Yuukin0248[会話/投稿記録] 2020年4月29日 (水) 01:08 (UTC)[返信]
        • 感謝 ありがとうございます。であれば、「主に半自動、場合によっては手動も可能性あり」です。差分確認も今度試してみようと思います。色々教えていただきありがとうございました。--Atmark-chan </稿> 2020年4月29日 (水) 02:57 (UTC)[返信]
        • 返信 (Yuukin0248さん宛)from pywikibot import config2 as config として config.simulate = True とする」というのを試してみたのですが、なかなかうまくいきません。もう少し詳しく説明をお願いできますでしょうか?(お手数ですが、単純なもので良いので具体的なプログラムも示して頂けるとありがたいです。)--Atmark-chan </稿> 2020年4月30日 (木) 15:23 (UTC)[返信]
import pywikibot
from pywikibot import config2 as config

config.simulate = True

site = pywikibot.Site()
page = pywikibot.Page(site, "Wikipedia:サンドボックス")
new_text = page.text + "あああ"
pywikibot.showDiff(page.text, new_text)
page.text = new_text
page.save("テスト")

# SIMULATION: edit action blocked.

AltoBotの権限除去

  • ボット名/Bot: DaedanBot (会話投稿記録SUL1SUL2他P)
  • 運用者/Operator: gomdoli4696 (会話投稿記録SUL1SUL2他P)
  • 作業間隔/Interval: About 20 seconds? (slow or fast possible)
  • 作業内容/Function:
    1. simple page maintenance work.
  • 運転方法/Operation: Automatic or Semi-Automatic
  • ソフト/Software: AWB 6.1.0.1
  • 連絡/Contact: ko:user talk:Gomdoli4696
  • ボットフラグ/Has bot flag(s) on: No bot permissions from other Wikipedia.
  • コメント/Comment: If I need a test run, please leave a message. I'll also test-run it. This bot is operating in the same way in the Korean Wikipedia.

 — Gomdoli4696 (토론) 2020年5月19日 (火) 02:16 (UTC)[返信]

Please refer to the Korean Wikipedia for the test content. ko:특수:기여/DaedanBot. — Gomdoli4696 (토론) 2020年5月22日 (金) 01:45 (UTC)[返信]

  • ボット名/Bot: ENJBot (会話投稿記録SUL1SUL2他P)
  • 運用者/Operator: 圓成 (会話投稿記録SUL1SUL2他P)
  • 作業間隔/Interval: 最低20秒
  • 作業内容/Function:
    1. ナビゲーションテンプレート、サイドバーテンプレートの添付
    2. 曖昧さ回避ページへのリンクを、然るべきページへのリンクに置換する、ページの改名に伴うリンク置換、赤リンク修正等リンクに関する作業
    3. カテゴリの追加作業
    4. 誤字修正作業
    5. Wikipedia:Bot作業依頼 の対応
  • 運転方法/Operation: 半自動運転/手動
  • ソフト/Software: AWB
  • 連絡/Contact: 利用者‐会話:圓成
  • ボットフラグ/Has bot flag(s) on: なし
  • コメント/Comment:カテゴリの追加で仮運用を行いました。申請⇒仮運用という然るべき手順が逆転してしまい、申し訳ないです。--ENJBot会話2020年5月30日 (土) 13:40 (UTC)[返信]