Difference between revisions of "Template:Bot"

From blackwiki
Jump to navigation Jump to search
(Slight change to link shown text and expansion...)
imported>Headbomb
m (WP)
 
(163 intermediate revisions by 68 users not shown)
Line 1: Line 1:
{| class="messagebox standard-talk"
+
{{ombox
|align="center"|[[Image:Crystal Clear action run.png|50px]]
+
|image = [[File:{{{image|<!--
|align="left" width="100%"|'''This user account facilitates a [[Wikipedia:Bots|bot]] operated by [[User:{{{1}}}|{{{1}}}]].'''
+
-->{{#switch:{{lc:{{{status}}}}}
It is not a [[Wikipedia:Sock puppet|sock puppet]], but rather an automated or semi-automated account for making repetitive edits that would be extremely tedious to do manually.
+
    |active
<br>
+
    |approved  = Crystal Clear accepted bot.png
<small>''Administrators: if this bot is malfunctioning or causing harm, please [[Special:Blockip/{{PAGENAME}}|block it]].''</small>
+
    |trial      = Crystal Clear question bot.svg
|}[[Category:Wikipedia bots|<includeonly>{{PAGENAME}}</includeonly> ]]
+
    |inactive  = Crystal Clear inactive bot2.png
 +
    |retired    = Crystal Clear inactive bot2.png
 +
    |blocked    = Crystal Clear denied bot.png
 +
    |unapproved = Crystal Clear denied bot.png
 +
    |#default  = Crystal Clear action run.png
 +
  }}}}}|75px|{{{caption|This is a bot account.}}}|alt={{{alt|}}}]]
 +
|text  = '''This [[Wikipedia:Sock puppetry#Legit|user account]] is a [[Wikipedia:Bots|bot]]<!--
 +
 
 +
CODEBASE? -->{{#if:{{{codebase|}}}|{{space}}that uses {{#switch:{{lc:{{{codebase}}}}}|pywiki|pywikipedia|pywikibot=[[mw:Manual:Pywikibot|Pywikibot]]|#default={{{codebase}}}}},}}<!--
 +
AWB? -->{{#ifeq: {{lc:{{{awb}}}}}|yes
 +
    |{{space}}that uses [[Wikipedia:AutoWikiBrowser|AutoWikiBrowser]],
 +
}}{{space}}operated by <!--
 +
 
 +
USER1-->{{{by|[[:{{{site|en}}}:User:{{Trim|{{{1}}}}}|{{Trim|{{{1}}}}}]] ([[:{{{site|en}}}:User talk:{{{talklink|{{Trim|{{{1}}}}}}}}|talk]])}}}<!--
 +
 
 +
USER2-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|,{{space}}|{{space}}and{{space}}}}{{{by2|[[:{{{site2|en}}}:User:{{Trim|{{{2}}}}}|{{Trim|{{{2}}}}}]] ([[:{{{site2|en}}}:User talk:{{{talklink|{{Trim|{{{2}}}}}}}}|talk]])}}}<!--
 +
 
 +
USER3-->{{#if:{{{3|}}}|, and {{{by3|[[:{{{site3|en}}}:User:{{Trim|{{{3}}}}}|{{Trim|{{{3}}}}}]] ([[:{{{site3|en}}}:User talk:{{{talklink|{{Trim|{{{3}}}}}}}}|talk]])}}}
 +
}}}}.'''<!--
 +
 
 +
PURPOSE-->{{space}}It is used to make repetitive [[Wikipedia:Bots/Dictionary#Automated editing|automated]] or [[Wikipedia:Bots/Dictionary#Assisted editing|semi-automated]] edits that would be extremely tedious to do manually, in accordance with the [[Wikipedia:Bot policy|bot policy]]. {{#switch: {{lc:{{{status}}}}}
 +
  |blocked    = It is currently [[WP:BOTBLOCK|blocked]], either due to a bot malfunction, or a violation of either its [[Wikipedia:Bots/Requests for approval/{{if empty|{{{brfa|}}}|{{BASEPAGENAME}}}}|terms of approval]] or the [[WP:BOTREQUIRE|bot policy]].
 +
  |active
 +
  |approved  = {{#if:{{{globalbot|}}}
 +
|The bot is active, and, by virtue of the fact that it is [{{fullurl:Special:GlobalUsers/Global_bot|limit=1&username={{urlencode:{{{username|{{BASEPAGENAME}}}}}}}}} flagged globally], is permitted to maintain interwiki links per the [[Wikipedia:Global rights policy#Global bots|global rights policy]].{{#if:{{{overridebrfa|}}}|&nbsp;In addition, its local approval(s) or tasks can be viewed [[{{{overridebrfa}}}|here]].|{{#ifexist:Wikipedia:Bots/Requests for approval/{{if empty|{{{brfa|}}}|{{BASEPAGENAME}}}}|&nbsp;In addition, its local approval can be viewed [[Wikipedia:Bots/Requests for approval/{{if empty|{{{brfa|}}}|{{BASEPAGENAME}}}}|here]].|}}}}
 +
|{{#ifeq:{{{approvalneeded|}}}|no
 +
| The bot is currently active, running tasks for which no [[WP:BOTAPPROVAL|approval]] is needed.
 +
| The bot is approved and currently active{{#if:{{{overridebrfa|}}}|&nbsp;&ndash; the relevant [[WP:BOTAPPROVAL|request for approval]](s) or tasks can be seen [[{{{overridebrfa}}}|here]]|{{#ifexist:Wikipedia:Bots/Requests for approval/{{if empty|{{{brfa|}}}|{{BASEPAGENAME}}}}|&nbsp;&ndash; the relevant [[WP:BOTAPPROVAL|request for approval]] can be seen [[Wikipedia:Bots/Requests for approval/{{if empty|{{{brfa|}}}|{{BASEPAGENAME}}}}|here]]|{{{nocat|[[Category:Active Wikipedia bots with no specified BRFA]]}}}}}}}.
 +
}}
 +
}}{{{nocat|[[Category:Active Wikipedia bots]]}}}
 +
  |inactive  = {{#ifeq:{{{approvalneeded|}}}|no
 +
| The bot is currently inactive, having previously performed tasks which did not require bot approval.
 +
| The bot is currently inactive but [[{{#if:{{{overridebrfa|}}}|{{{overridebrfa}}}|Wikipedia:Bots/Requests for approval/{{if empty|{{{brfa|}}}|{{BASEPAGENAME}}}}}}|retains the approval]] of the{{#if:{{{globalbot|}}}|&nbsp;global Wikimedia|}} community.{{{nocat|[[Category:Inactive Wikipedia bots]]}}}
 +
}}
 +
  |expired
 +
  |retired    = This bot was previously approved but has since been retired, and therefore shouldn't be making edits that ''appear to be unassisted'' except in the operator's or its own user and user talk space.{{{nocat|[[Category:Retired Wikipedia bots]]}}}
 +
  |trial      = This bot has been approved for a limited trial run by a member of the [[Wikipedia:Bot Approvals Group|Bot Approvals Group]].{{{nocat|[[Category:Unapproved Wikipedia bots]]}}}
 +
  |unapproved = This bot does not yet have the approval of the community, or approval has been withdrawn or expired, and therefore shouldn't be making edits that ''appear to be unassisted'' except in the operator's or its own user and user talk space.{{{nocat|[[Category:Unapproved Wikipedia bots]]}}}
 +
  |#default = {{{nocat|<includeonly>[[Category:Wikipedia bots with unknown status]]</includeonly>}}}
 +
}} {{{more|}}}<br/><small>{{#ifeq:{{lc:{{{awb}}}}}|yes
 +
  |To stop this bot until restarted by the bot's owner, edit its {{no redirect|User talk:{{PAGENAME}}|talk page}}. If that page is a redirect, edit that original redirecting page, not the target of the redirect.
 +
}} <span class="sysop-show">''Administrators: if this bot {{#ifeq: {{lc:{{{status}}}}}|unapproved
 +
  |is making edits that appear to be unassisted to pages not in the operator's or its own userspace
 +
  |{{#ifeq:{{lc:{{{awb}}}}}|yes
 +
    |continues causing harm after receiving a message
 +
    |is malfunctioning or causing harm
 +
  }}
 +
  }}, please [{{fullurl:Special:Block|wpTarget={{PAGENAMEE}}&wpExpiry=indefinite&wpHardBlock=0&wpAutoBlock=0&wpCreateAccount=0&wpReason=other&wpReason-other=Bot%20malfunctioning:%20}} block it]{{#ifeq:{{lc:{{{awb}}}}}|yes
 +
  |&#32;or remove from the [[Wikipedia:AutoWikiBrowser/CheckPage|approved accounts]]
 +
}}.''</span></small>
 +
|imageright={{#ifeq: {{lc:{{{awb}}}}}|yes
 +
  |[[File:AWB_logo_draft.png|75px]]{{{nocat|[[Category:Wikipedia bots using AutoWikiBrowser]]}}}
 +
}}<includeonly>{{{nocat|[[Category:All Wikipedia bots]]{{#if:{{{globalbot|}}}|[[Category:Global Wikipedia bots]][[Category:Interwiki bots]]|}}}}}</includeonly>
 +
}}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 17:02, 16 July 2020

Template documentation[view] [edit] [history] [purge]

{{bot}} – An information box that indicates that the editor is not a human and actually an automatic process assigned to do menial tasks on Wikipedia.


Parameters

The first unnamed parameter specifies the operator of the bot.
2, 3 
The second and third unnamed parameters can be used to specify co-operators of the bot, if required.
site 
The two letter code for those operators that do not have an account on the English language Wikipedia (though having a local account is strongly recommended).
status 
active (and approved), inactive (but approved), trial, unapproved, globalbot, expired (previously approved but approval has lapsed), retired (previously approved but no longer editing, see also {{retired|bot=yes}})
awb 
yes (if this bot uses AWB), or omit (if it doesn't).
codebase
The name of the code (programming or scripting language) used to create the bot (e.g., Pywikibot, perlWikipedia, ...)
brfa 
Optional if specified, overrides the name of the request for approval. If not specified, defaults to {{BASEPAGENAME}}
by 
Optional if specified, overrides the usual display of the operator's username in the first line generated from the three unnamed parameters.
approvalneeded 
If status indicated active/approved, or globalbot, setting yes will make the template indicate that the bot is running tasks for which no approval is needed.
overridebrfa 
If the bot has multiple requests or approval, or multiple tasks, and the default BRFA link cannot link to a page that contains all the bot's approved requests or tasks, this field allows inputting a link to any Wikipedia page. Specifying this field overrides brfa.
more 
Any additional information to specify in the mbox. Usually not needed, since |status=, |brfa=, and |approvalneeded= covers most cases.
alt 
Optional alternate text for the image.

Examples

Code Result
{{Bot|John Smith}}
{{Bot|John Smith|site=en}}
{{Bot|John Smith|site=en|awb=yes}}
{{Bot|John Smith|site=en
|codebase=[[m:perlwikipedia|perlWikipedia]]}}
{{Bot|John Smith|site=en|status=active}}
{{Bot|John Smith|site=en|status=trial}}
{{Bot|John Smith|site=en|status=inactive}}
{{Bot|John Smith|site=en|status=unapproved}}
{{Bot|John Smith|site=en
|status=active|globalbot=yes}}
{{Bot|John Smith|image=Crystal Clear question bot.svg
|more=The bot is undergoing testing.}}

See also

  • {{Bot2}}: An alternative visual style for {{Bot}} that makes the status more obvious and uses SVG icons
  • {{User bot owner|Botname}}: Userbox for bot owner's user pages
  • {{User wikipedia/Botop}}: Userbox for bot owner's user pages