<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://kitakujo.de/w/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Ŝablono:Bots/dokumentado - Historio de redaktoj</title>
		<link>http://kitakujo.de/w/index.php?title=%C5%9Cablono:Bots/dokumentado&amp;action=history</link>
		<description>Revizia historio por ĉi tiu paĝo en la vikio</description>
		<language>eo</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Mon, 20 Apr 2026 13:44:33 GMT</lastBuildDate>
		<item>
			<title>WikiSysop:&amp;#32;1 versio:&amp;#32;Dokumentaĵoj por tri ŝablonoj</title>
			<link>http://kitakujo.de/w/index.php?title=%C5%9Cablono:Bots/dokumentado&amp;diff=1599&amp;oldid=prev</link>
			<description>&lt;p&gt;1 versio:&amp;#32;Dokumentaĵoj por tri ŝablonoj&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Antaŭa versio&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Kiel registrite je 21:45, 5. Dec 2009&lt;/td&gt;
		&lt;/tr&gt;
		&lt;!-- diff generator: internal 2026-04-20 13:44:33 --&gt;
&lt;/table&gt;</description>
			<pubDate>Sat, 05 Dec 2009 21:45:20 GMT</pubDate>			<dc:creator>WikiSysop</dc:creator>			<comments>http://kitakujo.de/w/index.php?title=%C5%9Cablona_diskuto:Bots/dokumentado</comments>		</item>
		<item>
			<title>Obersachse:&amp;#32;Nova paĝo: &lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&gt;  This is a template for pages to specify whether or not they want visits from any bots, most bots or specific bots.  This …</title>
			<link>http://kitakujo.de/w/index.php?title=%C5%9Cablono:Bots/dokumentado&amp;diff=1598&amp;oldid=prev</link>
			<description>&lt;p&gt;Nova paĝo: &amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;  This is a template for pages to specify whether or not they want visits from any &lt;a href=&quot;/w/index.php?title=WP:BOT&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:BOT (paĝo ne ekzistas)&quot;&gt;bots&lt;/a&gt;, most bots or specific bots.  This …&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nova paĝo&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a template for pages to specify whether or not they want visits from any [[WP:BOT|bots]], most bots or specific bots.  This can be used to easily and explicitly opt-in or opt-out of unsolicited bot posts to user pages or to cause maintenance bots to avoid certain pages.  Explicitly opting-in has the advantage of possibly receiving useful changes or targeted posts that might otherwise be skipped by the bot assuming a default &amp;quot;opt-out&amp;quot; behavior.  These templates should be used mainly on the &amp;quot;User&amp;quot; and &amp;quot;User talk&amp;quot; namespaces and should be used carefully in other spaces.&lt;br /&gt;
&lt;br /&gt;
Users should be aware that by opting-out of bot posts, they will not be notified of matters relating to material they have edited or uploaded, which are tagged or scanned by bots per policy. &lt;br /&gt;
&lt;br /&gt;
In particular, in the encyclopedia spaces:&lt;br /&gt;
*Avoid using the template as a blunt instrument&lt;br /&gt;
*Address the root problem with the bot owner or bot community&lt;br /&gt;
*Remove the template tag once the underlying problem has been resolved.&lt;br /&gt;
&lt;br /&gt;
== Syntax: ==&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{nobots}}&amp;lt;/nowiki&amp;gt;'''                Ban all compliant bots (shortcut)&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots}}&amp;lt;/nowiki&amp;gt;'''                  Allow all bots (shortcut)&lt;br /&gt;
&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|allow=&amp;lt;botlist&amp;gt;}}&amp;lt;/nowiki&amp;gt;'''  Ban all compliant bots not in the list&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|deny=&amp;lt;botlist&amp;gt;}}&amp;lt;/nowiki&amp;gt;'''   Ban all compliant bots in the list&lt;br /&gt;
&lt;br /&gt;
 ''Where &amp;lt;botlist&amp;gt; is a comma-delimited string of bot usernames (AWB can be used for all [[WP:AWB|AWB]]-based bots):''&lt;br /&gt;
   '''&amp;lt;nowiki&amp;gt;{{bots|allow=HagermanBot,Werdnabot}}&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
   '''&amp;lt;nowiki&amp;gt;{{bots|deny=AWB}}&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
 ''&amp;lt;botlist&amp;gt; can also be &amp;quot;none&amp;quot; or &amp;quot;all&amp;quot; as in the following examples:''&lt;br /&gt;
   '''&amp;lt;nowiki&amp;gt;{{bots|allow=all}}&amp;lt;/nowiki&amp;gt;'''      Allow all bots&lt;br /&gt;
   '''&amp;lt;nowiki&amp;gt;{{bots|allow=none}}&amp;lt;/nowiki&amp;gt;'''     Ban all compliant bots&lt;br /&gt;
&lt;br /&gt;
   '''&amp;lt;nowiki&amp;gt;{{bots|deny=all}}&amp;lt;/nowiki&amp;gt;'''       Ban all compliant bots&lt;br /&gt;
   '''&amp;lt;nowiki&amp;gt;{{bots|deny=none}}&amp;lt;/nowiki&amp;gt;'''      Allow all bots&lt;br /&gt;
&lt;br /&gt;
Bots are not bound to observe the nobots tag, it will depend on their functionality, their owners and their terms of approval. The bots which currently support exclusion are listed at [[:Category:Exclusion compliant bots|exclusion compliant bots]].&lt;br /&gt;
&lt;br /&gt;
== Message notification opt out ==&lt;br /&gt;
Another option is to opt out of specific types of messages for users who wish to be notified of certain problems, but not others. Users should be aware that by opting-out of specific notification posts, they will not be notified of matters relating to material they have edited or uploaded, which are tagged per policy. Actions (such as deletion) may be executed without you being notified as a result. By applying this to your own user talk page, you agree to this consequence. Applying this to a user talk page other than your own will be considered vandalism. All bots and scripts that leave messages on a user's talk page are encouraged to add this capability.&lt;br /&gt;
&lt;br /&gt;
By adding this to a user's talk page, a user may still receive these messages by non-compliant bots or scripts, or humans who add the tag manually.&lt;br /&gt;
&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=all}}&amp;lt;/nowiki&amp;gt;'''            Opt out of all messages (see limitations below).&lt;br /&gt;
&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=nosource}}&amp;lt;/nowiki&amp;gt;'''       Opt out of [[Template:Image source|no source]] messages.&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=nolicense}}&amp;lt;/nowiki&amp;gt;'''      Opt out of [[Template:Image copyright request|no license]] messages.&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=orfud}}&amp;lt;/nowiki&amp;gt;'''          Opt out of [[Template:Di-orphaned fair use-notice|orphaned fair use]] messages.&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=norationale}}&amp;lt;/nowiki&amp;gt;'''    Opt out of [[Template:Missing rationale|no rationale]] messages.&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=replaceable}}&amp;lt;/nowiki&amp;gt;'''    Opt out of [[Template:Di-replaceable fair use-notice|replaceable fair use]] messages.&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=bettersource}}&amp;lt;/nowiki&amp;gt;'''   Opt out of [[Template:Bsr-user|better source request]] messages.&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=afd}}&amp;lt;/nowiki&amp;gt;'''            Opt out of [[Template:AFDWarningNew|articles for deletion]] messages or [[Template:AFDWarning|variant]] [[Template:Adw|forms]].&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=ifd}}&amp;lt;/nowiki&amp;gt;'''            Opt out of [[Template:Idw|images for deletion]] messages or [[Template:Idw-multi|variant]].&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=prod}}&amp;lt;/nowiki&amp;gt;'''           Opt out of [[Template:PRODWarning|prod warning]] messages or [[Template:PRODNote|variant]].&lt;br /&gt;
&lt;br /&gt;
Items can be combined by putting a comma between options&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=nosource,nolicense}}&amp;lt;/nowiki&amp;gt;'''                 Opt out of no source, and no license messages.&lt;br /&gt;
 '''&amp;lt;nowiki&amp;gt;{{bots|optout=orfud,norationale,replaceable}}&amp;lt;/nowiki&amp;gt;'''      Opt out of fair use messages.&lt;br /&gt;
&lt;br /&gt;
===Restrictions of messages that can be opted out===&lt;br /&gt;
Some message notifications are not allowed to be opted out. These include (but are not limited to):&lt;br /&gt;
#Copyright violation notifications&lt;br /&gt;
#Vandalism (and other) warning notices.&lt;br /&gt;
#Any message tag that isn't included as a way of opting out above. (Is there one that should be included? Leave a message on the talk page.)&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
*List of some interwiki bots&lt;br /&gt;
:SieBot,A4Bot,AlleborgoBot,Thijs!bot,YurikBot,Tsca.bot,Eskimbot&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{bots|deny=SieBot,A4Bot,AlleborgoBot,Thijs!bot,YurikBot,Tsca.bot,Eskimbot,Phe-bo,BotMultichill}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
*Pywikipediabot supports bots and nobots since r4096. The templates may be ignored using a parameter.&lt;br /&gt;
*Since version 3.2.0.0 [[Wikipedia:AutoWikiBrowser|AutoWikiBrowser]] fully supports &amp;lt;nowiki&amp;gt;{{bots}} and {{nobots}}&amp;lt;/nowiki&amp;gt;. Additionally, pseudo-username ''AWB'' can be specified to ban all AWB-based bots from the page. However, AWB has an option to ignore these templates.&lt;br /&gt;
*Opt out message notification was introduced here April 3, 2008. Individual bot/script implementation will vary and notice above of implementation may not include this feature.&lt;br /&gt;
&lt;br /&gt;
=== Example implementations ===&lt;br /&gt;
==== PHP ====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
function allowBots( $text ) {&lt;br /&gt;
    global $user;&lt;br /&gt;
    if (preg_match('/\{\{(nobots|bots\|allow=none|bots\|deny=all|bots\|optout=all|bots\|deny=.*?'.preg_quote($user,'/').'.*?)\}\}/iS',$text)) { return false; }&lt;br /&gt;
    return true;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Perl ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;perl&amp;quot;&amp;gt;&lt;br /&gt;
sub allowBots {&lt;br /&gt;
    my($text, $user, $opt) = @_;&lt;br /&gt;
    return 0 if $text =~ /{{nob[o]ts}}/;&lt;br /&gt;
    return 1 if $text =~ /{{b[o]ts}}/;&lt;br /&gt;
    if($text =~ /{{bots\s*\|\s*allow\s*=\s*(.*?)\s*}}/s){&lt;br /&gt;
        return 1 if $1 eq 'all';&lt;br /&gt;
        return 0 if $1 eq 'none';&lt;br /&gt;
        my @bots = split(/\s*,\s*/, $1);&lt;br /&gt;
        return (grep $_ eq $user, @bots)?1:0;&lt;br /&gt;
    }&lt;br /&gt;
    if($text =~ /{{bots\s*\|\s*deny\s*=\s*(.*?)\s*}}/s){&lt;br /&gt;
        return 0 if $1 eq 'all';&lt;br /&gt;
        return 1 if $1 eq 'none';&lt;br /&gt;
        my @bots = split(/\s*,\s*/, $1);&lt;br /&gt;
        return (grep $_ eq $user, @bots)?0:1;&lt;br /&gt;
    }&lt;br /&gt;
    if(defined($opt) &amp;amp;&amp;amp; $text =~ /{{bots\s*\|\s*optout\s*=\s*(.*?)\s*}}/s){&lt;br /&gt;
        return 0 if $1 eq 'all';&lt;br /&gt;
        my @opt = split(/\s*,\s*/, $1);&lt;br /&gt;
        return (grep $_ eq $opt, @opt)?0:1;&lt;br /&gt;
    }&lt;br /&gt;
    return 1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== C# ====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
public static bool AllowBots(string text, string user)&lt;br /&gt;
{&lt;br /&gt;
    return !Regex.Match(text, @&amp;quot;\{\{(nobots|bots\|(allow=none|deny=.*?&amp;quot; + user.Normalize() + @&amp;quot;.*?|optout=all|deny=all))\}\}&amp;quot;, RegexOptions.IgnoreCase).Success;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Java ====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
public static boolean AllowBots(String text, String user)&lt;br /&gt;
{&lt;br /&gt;
      return !Regex.Match(text, &amp;quot;\\{\\{(nobots|bots\\|(allow=none|deny=.*?&amp;quot; + user.Normalize() + &amp;quot;.*?|optout=all|deny=all))\\}\\}&amp;quot;, RegexOptions.IgnoreCase).Success;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Python ====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
def Allowbots(text, user):&lt;br /&gt;
    if (re.search(r'\{\{(nobots|bots\|(allow=none|deny=.*?' + user + r'.*?|optout=all|deny=all))\}\}', text)):&lt;br /&gt;
        return false&lt;br /&gt;
    return true&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[m:Template:Bots|Template:Bots]] at Meta.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia utility templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ADD INTERWIKIS BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[de:Vorlage:Bots]]&lt;br /&gt;
[[en:Template:Bots]]&lt;br /&gt;
[[fr:Modèle:Nobots]]&lt;br /&gt;
[[hu:Sablon:Bots]]&lt;br /&gt;
[[it:Template:Bots]]&lt;br /&gt;
[[ja:Template:Bots]]&lt;br /&gt;
[[nl:sjabloon:Bots]]&lt;br /&gt;
[[no:Mal:Bots]]&lt;br /&gt;
[[pl:Szablon:Bots]]&lt;br /&gt;
[[fi:Malline:Bots]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</description>
			<pubDate>Wed, 13 May 2009 14:50:00 GMT</pubDate>			<dc:creator>Obersachse</dc:creator>			<comments>http://kitakujo.de/w/index.php?title=%C5%9Cablona_diskuto:Bots/dokumentado</comments>		</item>
	</channel>
</rss>