Help:Bots

From Tomes Support Wiki

Jump to: navigation, search
PD {{{text}}}|Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the {{ #ifeq:
 Tomes Support Wiki
MediaWiki Public Domain Help Pages Public Domain Help Pages

}}, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See {{ #ifeq:

 Tomes Support Wiki
MediaWiki Project:PD help/Copying Project:PD help/Copying

}} for instructions.}}

PD


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.

Contents

Framework and interface for bot development

Bots do not access the wiki through the normal graphical user interface. MediaWiki has an API (Application Programming Interface) available for this purpose. An API is a protocol for standardised communication between two computer programs. Check {{ #ifeq:

 Tomes Support Wiki

| MediaWiki | API:Client code | API:Client code }} for more information.

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

pywikipediabot

{{ #ifeq:

 Tomes Support Wiki

| MediaWiki | meta:pywikipediabot | meta:pywikipediabot }} 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 ({{ #ifeq:

 Tomes Support Wiki

| MediaWiki | add_text.py | add_text.py }}), adding some wikilinks ({{ #ifeq:

 Tomes Support Wiki

| MediaWiki | replace.py | replace.py }}), moving old contents of talk pages to subpages ({{ #ifeq:

 Tomes Support Wiki

| MediaWiki | archivebot.py | archivebot.py }}), editing categories ({{ #ifeq:

 Tomes Support Wiki

| MediaWiki | category.py | category.py }}), or managing templates ({{ #ifeq:

 Tomes Support Wiki

| MediaWiki | template.py | template.py }}).

The MassEditRegex extension

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.

See also

 Tomes Support Wiki

| MediaWiki | meta:Bot | meta:Bot }}

{{#if:{{#switch:Bots |=Languages: |Languages=Languages: |MediaWiki=Languages: |af=Taal: |aln=Gjuha: |am=ቋምቋ፦ |an=Idioma: |ang=Sprǣc: |ar=:اللغة |arc=ܠܫܢܐ: |arn=Dungun: |arz=:اللغة |as=ভাষা: |ast=Llingua: |avk=Ava: |ay=Aru: |az=Dil: |bat-smg=Kalba: |bcc=:زبان |bcl=Tataramon: |be=Мова: |be-tarask=Мова: |bg=Език: |bn=ভাষা: |br=Yezh : |bs=Jezik: |ca=Llengua: |cdo=Ngṳ̄-ngiòng: |ce=Мотт: |ceb=Pinulongan: |ch=Lengguahe: |ckb-arab=:زمان |co=Lingua: |crh-cyrl=Тиль: |crh-latn=Til: |cs=Jazyk: |cu=ѩꙁꙑ́къ : |cv=Чĕлхе: |cy=Iaith: |da=Sprog: |de=Sprache: |diq=Zıwan: |dsb=Rěc: |ee=Gbe: |el=Γλώσσα: |en=Language: |eo=Lingvo: |es=Idioma: |et=Keel: |eu=Hizkuntza: |ext=Palra: |fa=:زبان |fi=Kieli: |fo=Mál: |fr=Langue: |frc=Langue: |frp=Lengoua: |fur=Lenghe: |fy=Taal: |ga=Teanga: |gag=Dil: |gan-hans=语言: |gan-hant=語言: |gl=Lingua: |gn=Ñe'ẽ: |got=Razda: |grc=Γλῶσσα: |gsw=Sproch: |gu=ભાષા: |gv=Çhengey: |hak=Ngî-ngièn: |haw=Kou 'ōlelo: |he=שפה: |hi=भाषा: |hif-latn=Bhasa: |hr=Jezik: |hsb=Rěč: |ht=Lang: |hu=Nyelv: |hy=Լեզու. |ia=Lingua: |id=Bahasa: |ie=Lingue: |ilo=Lengguahe: |io=Linguo: |is=Tungumál: |it=Lingua: |ja=言語: |jv=Basa: |ka=ენა: |kaa=Til: |kab=Tutlayt: |kg=Ndinga: |kiu=Zon: |kk-arab=:ٴتىل |kk-cyrl=Тіл: |kk-latn=Til: |km=ភាសា៖ |kn=ಭಾಷೆ: |ko=언어: |ksh=Sproch: |ku-latn=Ziman: |kv=Кыв: |kw=Yeth: |ky=Тил: |la=Lingua: |lb=Sprooch: |lfn=Lingua: |li=Taol: |lij=Lengoa: |loz=Zwa Siselect: |lt=Kalba: |lv=Valoda: |lzh=語: |mdf=Кяль: |mg=fiteny: |mhr=Йылме: |mk=Јазик: |ml=ഭാഷ: |mn=Хэл: |mr=भाषा: |ms=Bahasa: |mt=Lingwa: |mwl=Lhéngua: |my=ဘာသာ: |myv=Кель: |nah=Tlahtōlli: |nap=Lengua: |nds=Spraak: |nds-nl=Taal: |ne=भाषा: |new=भाषा: |nl=Taal: |nn=Språk: |no=Språk: |nso=Polelo: |oc=Lenga: |os=Æвзаг: |pa=ਭਾਸ਼ਾ: |pam=Amanu: |pdc=Schprooch: |pdt=Sproak: |pl=Język: |pms=Lenga: |pnb=بولی: |pnt=Γλώσσαν: |prg=Bilā: |ps=ژبه: |pt=Língua: |pt-br=Idioma: |qu=Rimay: |rm=Lingua: |ro=Limba: |roa-tara=Lénga: |ru=Язык: |sa=भाषा: |sah=Омугун тыла: |sc=Limba: |scn=Lingua: |sco=Leid: |sdc=Linga: |se=Giella: |sei=Itom: |sh=Jezik: |shi=tutlayt: |si=භාෂාව: |sk=Jazyk: |sl=Jezik: |sli=Sproache: |so=Luqada: |sq=Gjuha: |sr-ec=Језик: |sr-el=Jezik: |srn=Tongo: |ss=Lúlwîmi: |stq=Sproake: |su=Basa: |sv=Språk: |sw=Lugha: |szl=Godka: |ta=மொழி: |te=భాష: |tet=Lian: |tg-cyrl=Забон: |th=ภาษา: |ti=ቋንቋ: |tk=Dil: |tl=Wika: |to=Lea: |tr=Dil: |tt-cyrl=Тел: |tyv=Дыл: |ug-arab=:تىل |ug-latn=Til: |uk=Мова: |vec=Lengua: |vep=Kel’: |vi=Ngôn ngữ: |vo=Pük: |vro=Kiil: |wa=Lingaedje: |war=Yinaknan: |wo=Làkk: |wuu=语言: |xal=Келн: |xh=Ulwimi: |xmf=ნინა: |yi=שפראך: |yo=Èdè: |yue=語言: |zea=Taele: |zh-hans=语言: |zh-hant=語言: |zu=Ulimi: |#default=Language: }} | |

}}

{{#switch:Bots |=Languages: |Languages=Languages: |MediaWiki=Languages: |af=Taal: |aln=Gjuha: |am=ቋምቋ፦ |an=Idioma: |ang=Sprǣc: |ar=:اللغة |arc=ܠܫܢܐ: |arn=Dungun: |arz=:اللغة |as=ভাষা: |ast=Llingua: |avk=Ava: |ay=Aru: |az=Dil: |bat-smg=Kalba: |bcc=:زبان |bcl=Tataramon: |be=Мова: |be-tarask=Мова: |bg=Език: |bn=ভাষা: |br=Yezh : |bs=Jezik: |ca=Llengua: |cdo=Ngṳ̄-ngiòng: |ce=Мотт: |ceb=Pinulongan: |ch=Lengguahe: |ckb-arab=:زمان |co=Lingua: |crh-cyrl=Тиль: |crh-latn=Til: |cs=Jazyk: |cu=ѩꙁꙑ́къ : |cv=Чĕлхе: |cy=Iaith: |da=Sprog: |de=Sprache: |diq=Zıwan: |dsb=Rěc: |ee=Gbe: |el=Γλώσσα: |en=Language: |eo=Lingvo: |es=Idioma: |et=Keel: |eu=Hizkuntza: |ext=Palra: |fa=:زبان |fi=Kieli: |fo=Mál: |fr=Langue: |frc=Langue: |frp=Lengoua: |fur=Lenghe: |fy=Taal: |ga=Teanga: |gag=Dil: |gan-hans=语言: |gan-hant=語言: |gl=Lingua: |gn=Ñe'ẽ: |got=Razda: |grc=Γλῶσσα: |gsw=Sproch: |gu=ભાષા: |gv=Çhengey: |hak=Ngî-ngièn: |haw=Kou 'ōlelo: |he=שפה: |hi=भाषा: |hif-latn=Bhasa: |hr=Jezik: |hsb=Rěč: |ht=Lang: |hu=Nyelv: |hy=Լեզու. |ia=Lingua: |id=Bahasa: |ie=Lingue: |ilo=Lengguahe: |io=Linguo: |is=Tungumál: |it=Lingua: |ja=言語: |jv=Basa: |ka=ენა: |kaa=Til: |kab=Tutlayt: |kg=Ndinga: |kiu=Zon: |kk-arab=:ٴتىل |kk-cyrl=Тіл: |kk-latn=Til: |km=ភាសា៖ |kn=ಭಾಷೆ: |ko=언어: |ksh=Sproch: |ku-latn=Ziman: |kv=Кыв: |kw=Yeth: |ky=Тил: |la=Lingua: |lb=Sprooch: |lfn=Lingua: |li=Taol: |lij=Lengoa: |loz=Zwa Siselect: |lt=Kalba: |lv=Valoda: |lzh=語: |mdf=Кяль: |mg=fiteny: |mhr=Йылме: |mk=Јазик: |ml=ഭാഷ: |mn=Хэл: |mr=भाषा: |ms=Bahasa: |mt=Lingwa: |mwl=Lhéngua: |my=ဘာသာ: |myv=Кель: |nah=Tlahtōlli: |nap=Lengua: |nds=Spraak: |nds-nl=Taal: |ne=भाषा: |new=भाषा: |nl=Taal: |nn=Språk: |no=Språk: |nso=Polelo: |oc=Lenga: |os=Æвзаг: |pa=ਭਾਸ਼ਾ: |pam=Amanu: |pdc=Schprooch: |pdt=Sproak: |pl=Język: |pms=Lenga: |pnb=بولی: |pnt=Γλώσσαν: |prg=Bilā: |ps=ژبه: |pt=Língua: |pt-br=Idioma: |qu=Rimay: |rm=Lingua: |ro=Limba: |roa-tara=Lénga: |ru=Язык: |sa=भाषा: |sah=Омугун тыла: |sc=Limba: |scn=Lingua: |sco=Leid: |sdc=Linga: |se=Giella: |sei=Itom: |sh=Jezik: |shi=tutlayt: |si=භාෂාව: |sk=Jazyk: |sl=Jezik: |sli=Sproache: |so=Luqada: |sq=Gjuha: |sr-ec=Језик: |sr-el=Jezik: |srn=Tongo: |ss=Lúlwîmi: |stq=Sproake: |su=Basa: |sv=Språk: |sw=Lugha: |szl=Godka: |ta=மொழி: |te=భాష: |tet=Lian: |tg-cyrl=Забон: |th=ภาษา: |ti=ቋንቋ: |tk=Dil: |tl=Wika: |to=Lea: |tr=Dil: |tt-cyrl=Тел: |tyv=Дыл: |ug-arab=:تىل |ug-latn=Til: |uk=Мова: |vec=Lengua: |vep=Kel’: |vi=Ngôn ngữ: |vo=Pük: |vro=Kiil: |wa=Lingaedje: |war=Yinaknan: |wo=Làkk: |wuu=语言: |xal=Келн: |xh=Ulwimi: |xmf=ნინა: |yi=שפראך: |yo=Èdè: |yue=語言: |zea=Taele: |zh-hans=语言: |zh-hant=語言: |zu=Ulimi: |#default=Language: }} English {{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/af |  • {{#if: |Afrikaans| Afrikaans}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ar |  • {{#if: |العربية| العربية}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ast |  • {{#if: |Asturianu| Asturianu}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/az |  • {{#if: |Azərbaycanca| Azərbaycanca}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/bcc |  • {{#if: |بلوچی مکرانی| بلوچی مکرانی}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/bg |  • {{#if: |Български| Български}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/br |  • {{#if: |Brezhoneg| Brezhoneg}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ca |  • {{#if: |Català| Català}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ce |  • {{#if: |Нохчийн| Нохчийн}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/cs |  • {{#if: |Česky| Česky}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/da |  • {{#if: |Dansk| Dansk}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/de |  • {{#if: |Deutsch| Deutsch}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/el |  • {{#if: |Ελληνικά| Ελληνικά}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/es |  • {{#if: |Español| Español}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/fa |  • {{#if: |فارسی| فارسی}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/fi |  • {{#if: |Suomi| Suomi}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/fr |  • {{#if: |Français| Français}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/gl |  • {{#if: |Galego| Galego}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/gu |  • {{#if: |ગુજરાતી| ગુજરાતી}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/he |  • {{#if: |עברית| עברית}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/hu |  • {{#if: |Magyar| Magyar}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/id |  • {{#if: |Bahasa Indonesia| Bahasa Indonesia}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/it |  • {{#if: |Italiano| Italiano}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ja |  • {{#if: |日本語| 日本語}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ka |  • {{#if: |ქართული| ქართული}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ko |  • {{#if: |한국어| 한국어}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ksh |  • {{#if: |Ripoarisch| Ripoarisch}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/kw |  • {{#if: |Kernewek| Kernewek}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/mk |  • {{#if: |Македонски| Македонски}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ml |  • {{#if: |മലയാളം| മലയാളം}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/mr |  • {{#if: |मराठी| मराठी}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ms |  • {{#if: |Bahasa Melayu| Bahasa Melayu}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/nl |  • {{#if: |Nederlands| Nederlands}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/no |  • {{#if: |‪Norsk (bokmål)‬| ‪Norsk (bokmål)‬}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/oc |  • {{#if: |Occitan| Occitan}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/pl |  • {{#if: |Polski| Polski}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/pt |  • {{#if: |Português| Português}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/pt-br |  • {{#if: |Português do Brasil| Português do Brasil}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ro |  • {{#if: |Română| Română}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ru |  • {{#if: |Русский| Русский}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/si |  • {{#if: |සිංහල| සිංහල}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/sk |  • {{#if: |Slovenčina| Slovenčina}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/sq |  • {{#if: |Shqip| Shqip}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/sr |  • {{#if: |Српски / Srpski| Српски / Srpski}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/sv |  • {{#if: |Svenska| Svenska}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/ta |  • {{#if: |தமிழ்| தமிழ்}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/th |  • {{#if: |ไทย| ไทย}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/tr |  • {{#if: |Türkçe| Türkçe}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/uk |  • {{#if: |Українська| Українська}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/vi |  • {{#if: |Tiếng Việt| Tiếng Việt}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/yue |  • {{#if: |粵語| 粵語}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/zh |  • {{#if: |中文| 中文}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/zh-hans |  • {{#if: |‪中文(简体)‬| ‪中文(简体)‬}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/zh-hant |  • {{#if: |‪中文(繁體)‬| ‪中文(繁體)‬}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}Bots}}/zh-tw |  • {{#if: |‪中文(台灣)‬| ‪中文(台灣)‬}}|}}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox