Jump to: navigation, search
Other languages:
العربية 93% • ‎Deutsch 27% • ‎English 100% • ‎British English 13% • ‎فارسی 53% • ‎Bahasa Indonesia 60% • ‎日本語 47% • ‎polski 7% • ‎português 67% • ‎português do Brasil 100% • ‎română 100% • ‎русский 47% • ‎中文 100%
PD Внимание: Когда вы редактируете эту страницу, вы соглашаетесь на передачу своего вклада по лицензии CC0. Узнать об этом подробнее можно на странице Public Domain Help Pages.

A bot is a computer program that automatically retrieves or updates wiki pages when it is executed. In general, bots are used for repetitive maintenance tasks, whose volume and characteristics are too large to be performed manually by users.

Developing and executing bots is normally outside the role of normal users, requires programming experience and must be done in coordination with the wiki's admins.

By default, bot edits are hidden in Special:Recent changes.

Программная среда и интерфейсы для развития ботов[edit | edit source]

Боты не используют доступ к вики через обычный графический пользовательский интерфейс. Для этих целей используется MediaWiki API (Application Programming Interface) — удобный протокол для стандартизированной связи между двумя компьютерными программами. Подробнее об этом можно узнать, посетив страницу API:Client code.

To access a wiki through the API a bot must have a user account, which has been granted 'bot' permissions.

pywikibot[edit | edit source]

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[edit | edit source]

wiki-java is a lightweight Java framework for bot/application development and can be used to perform various tasks, such as uploading files, adding text to articles, parsing templates, basic I/O, etc. The library also comes with simple, but powerful standalone bot methods that can be readily utilized by a programmer.

Extension alternatives[edit | edit source]

  • Extension:MassEditRegex provides an alternative way to perform mass edits using regular expressions, through a special page in the wiki. Only admins can normally use this extension.
  • Extension:ReplaceText is another option.

См. также[edit | edit source]

This page is a translated version of a page Help:Bots and the translation is 47% complete.