Skabelon:Bots

Fra Wikipedia, den frie encyklopædi
Gå til: navigation, søg

This is a template for pages to specify whether or not they want visits from any bots, most bots or specific bots. It is part of some globally identical templates (on Wikimedia wikis) to control bots' behaviour.

The template 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 "opt-out" behavior. These templates should be used carefully in the main namespace. They can be used to solve interwiki conflicts. Once the underlying problem has been resolved, the template has to be removed.

Syntax[redigér wikikode]

{{nobots}}                Ban all compliant bots (shortcut)
{{bots}}                  Allow all bots (shortcut)
{{bots|allow=<botlist>}}  Ban all compliant bots not in the list
{{bots|deny=<botlist>}}   Ban all compliant bots in the list
Where <botlist> is a comma-delimited string of bot usernames (AWB can be used for all AWB-based bots):
  {{bots|allow=HagermanBot,Werdnabot}}
  {{bots|deny=AWB}}
<botlist> can also be "none" or "all" as in the following examples:
  {{bots|allow=all}}      Allow all bots
  {{bots|allow=none}}     Ban all compliant bots
  {{bots|deny=all}}       Ban all compliant bots
  {{bots|deny=none}}      Allow all bots

Bots are not bound to observe the nobots tag, it will depend on their functionality, their owners and their terms of approval.

See also[redigér wikikode]

Gnome-fs-directory.svg Kategori mangler
Denne skabelon hører til i en eller flere kategorier. Kategoriser venligst denne skabelon ved at placere den sammen med lignende emner. Fjern skabelonen efter kategorisering. Bemærk, at kategorier påsat via skabeloner, samt meget generelle kategorier ikke bør betragtes som tilstrækkelige.
https://da.wikipedia.org/wiki/Skabelon:Bots
da.wikipedia.org
crawl=CC-MAIN-2016-44
48350
application/http; msgtype=response
sha1:V7QCKDGYLZXUHC3BLRNFEDPVVH3CCIVU
<urn:uuid:886a3b15-f775-45df-9881-129ada7161ed>
2016-10-24T00:03:34Z
208.80.154.224
sha1:UNL2FLPP4TNI2YRCAHAZAACCRPSFG7OF
<urn:uuid:2d3209b6-efa8-4f6e-854d-394a2723e4dd>
https://da.wikipedia.org/wiki/Skabelon:Bots
response
<urn:uuid:1ca51340-8fe7-4c8c-8da4-3993bd52deba>
robots: classic
hostname: ip-10-171-6-4.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-44
operator: CommonCrawl Admin
description: Wide crawl of the web for October 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf