Kebijakan bot

From Meta, a Wikimedia project coordination wiki
This page is a translated version of the page Bot policy and the translation is 61% complete.
Outdated translations are marked like this.
Halaman ini memberikan garis besar standar dan pedoman yang terkait dengan bots yang telah diterapkan pada beberapa proyek (lihat Bot policy/Implementation); ini dapat dicek dengan mengunjungi "Project:Bot policy" pada wiki tersebut yang akan mengarah ke sini atau mengalihkan ke halaman kebijakan lokal.

Halaman ini juga merupakan kebijakan di Meta, termasuk persetujuan otomatis dan bot global. Untuk meminta akses bot di Meta, silakan kunjungi Meta:Requests for adminship#Requests for bot flags.

Bot adalah proses otomatis atau semi-otomatis yang menyunting halaman dengan perhatian manusia yang dikurangi atau tanpa perhatian langsung. Dikarenakan bot dapat berpotensi untuk menekan kemampuan peladen atau mengganggu proyek, bot harus mengikuti kebijakan dan pedoman di bawah ini. Kebijakan mengenai bagaimana bot digunakan dalam proyek yang berlaku; bot yang tidak mengikuti kebijakan dapat diblok langsung sampai operator dapat menyelesaikan isu yang ada atau hal yang tidak disetujui.


Akun bot

Bot harus dijalankan menggunakan akun terpisah dari operator, karena tidak ada editor manusia yang diberikan status bot. Halaman penggunanya harus secara jelas dan gambalang menunjukkannya sebagai bot untuk membedakannya dari editor manusia, dan operator harus bersedia menjawab setiap komentar. Tidak ada pengguna yang diizinkan untuk menggunakan skrip penjawab otomatis. Beberapa operator mungkin memilih untuk mengalihkan halaman pembicaraan bot ke milik mereka, jika bot mereka tidak dikonfigurasi untuk mendeteksi pesan.


Ada tiga cara untuk mendapatkan akses bot pada wiki.

Bot global

: Bot global diberi akses di semua wiki yang mengizinkan bot global (ini harus secara eksplisit diizinkan oleh kebijakan lokal, lihat daftar). Agar memenuhi syarat untuk akses bot global, persyaratan berikut harus dipenuhi:
  • The bot operator must start a discussion that will last for 2 weeks at Steward requests/Bot status#Global bot status requests;
  • The discussion will be publicized via MassMessage (New global bot discussion), where interested community members and wikis can be subscribed;
  • The bot operator must demonstrate the bot task is welcomed on multiple Wikimedia projects. A good way to show it is to be flagged on 5 or more wikis for a single task;
  • The operator should make sure to adhere to the wiki's preference as related to the use of the bot flag.
  • The global bot status gives the bot access to a restricted number of projects and wikis that allow global bot access. New wikis are added to this set by default. An exhaustive list of wikis that are not included is available. (You can request local bot flags on projects where global bots are not allowed.)

Persetujuan otomatis

Jika persetujuan otomatis secara eksplisit diperbolehkan di wiki, operator bot dapat meminta status bot lokal langsung dari pengurus. Agar memenuhi syarat untuk ini, persyaratan berikut harus dipenuhi:
  • ini harus diizinkan oleh kebijakan bot lokal atau halaman permintaan;
  • bot harus menyunting secara teratur tanpa bendera bot setidaknya selama seminggu atau melakukan 100 suntungan di wiki yang berlaku untuk tujuan demonstrasi;
  • :* bot harus hanya memelihara tautan antarbahasa atau memperbaiki pengalihan ganda.

Konsensus komunitas

Otherwise if there is a local community interested in processing bot applications, bots must obtain community approval on the most relevant local discussion page before editing without a bot flag at high speeds or without human supervision. Once there is consensus, a local bureaucrat will add the flag, or a steward may be requested to do so.

If there is no local community and the above does not apply, the bot must operate without a bot flag or not at all.

Penggunaan yang dilarang

  • Controversial changes: Bots may be used to perform edits which are most likely supported by other local editors; they should never be used to perform controversial edits. If you intend to expand the scope of the bot beyond that which was supported by the community, make note of this at the relevant discussion page to ensure that there is no opposition. If your bot flag was given by automatic approval, you must not exceed the limits described under "Automatic approval".
  • Data retrieval: Bots may not be used to retrieve bulk content for any use not directly related to an approved bot task. This includes dynamically loading pages from another website, which may result in the website being blacklisted and permanently denied access. If you would like to download bulk content or mirror a project, please do so by downloading or hosting your own copy of our database.
  • Spellchecking: No bot may automatically correct spelling mistakes without explicit community approval, particularly in the main content namespace. It is not technically possible in most languages to automatically correct spelling mistakes without a significant margin of error.

Penghapusan status bot global

Global bot permissions will be removed:

  • At the bot's operator request
  • If the bot is persistently used to perform tasks that are outside the global bot remit
  • If the bot is found to be inactive, with the following provisions:
    • A global bot account is deemed inactive if it has not made any edits for a whole year on any project that allows global bot access.
    • Before a global bot account's permissions are removed on the basis of inactivity, its operator must be notified at least on their home wiki(s) and at Meta-Wiki.



Although not required, the bot name should clearly contain the word "bot" in its user name to more easily distinguish it from human editors; the most common forms are derived from the operator's username (such as Pathosbot), or using disambiguation style (such as Xenophon (bot)).

Interval suntingan dan jam sibuk

Bots running without a bot flag should edit at intervals of over 1 minute between edits (= less than 1 edit per minute). Once they have been authorised and appropriately flagged, they should operate at an absolute minimum interval of 5 seconds (12 edits per minute). Bots should try to avoid running during the busiest hours, as they rapidly use server resources that should be reserved for human readers and editors. During these hours, they should operate at intervals of 20 seconds (3 edits per minute) to conserve resources.

Bots' editing speeds can be automatically adjusted based on server load (slave database server lag) by appending an extra parameter to the query string of each requested URL; see maxlag documentation on mediawiki.


Unless the bot is publicly stated to run autonomously, the operator should remain available, occasionally check for messages, and be ready to shut down the bot if it does not perform as desired or if complaints are received. If the operator is not available, the bot may be blocked until any issues are resolved.

Praktik terbaik

Harap baca wikitech:Help:Toolforge/Developing successful tools untuk rekomendasi kuat yang akan membuat hidup Anda lebih mudah dan untuk semua orang di masa depan!


  • Pilih lisensi
  • Publikasikan kodenya
  • Memiliki rekan pengelola
  • Tulis beberapa dokumentasi

Lihat pula