Aiuta Wikitravel a crescere grazie al tuo contributo: scrivi un articolo! Ecco come.

Wikitravel:Politica script: differenze tra le versioni

Da Wikitravel.
m (Bot: Aggiungo: hu:Wikitravel:Botok)
 
(Una revisione intermedia di un utente non mostrata)
Riga 41: Riga 41:
  
 
* [[Wikitravel:Bot|Approved scripts]]
 
* [[Wikitravel:Bot|Approved scripts]]
 +
 +
 +
  
  
Riga 60: Riga 63:
 
[[hu:Wikitravel:Botok]]
 
[[hu:Wikitravel:Botok]]
 
[[ja:Wikitravel:スクリプトの基本方針]]
 
[[ja:Wikitravel:スクリプトの基本方針]]
 +
[[ko:Wikitravel:스크립트 정책]]
 
[[nl:Wikitravel:Richtlijnen scripting]]
 
[[nl:Wikitravel:Richtlijnen scripting]]
 +
[[pl:Wikitravel:Boty]]
 
[[pt:Wikitravel:Robôs]]
 
[[pt:Wikitravel:Robôs]]
 
[[ro:Wikitravel:Bot]]
 
[[ro:Wikitravel:Bot]]
Riga 66: Riga 71:
 
[[zh:Wikitravel:機器人方針]]
 
[[zh:Wikitravel:機器人方針]]
 
[[wts:Script policy]]
 
[[wts:Script policy]]
 
  
 
[[wikipedia:Wikipedia:Bot]]
 
[[wikipedia:Wikipedia:Bot]]

Versione attuale delle 10:16, 2 nov 2009

Questa pagina non è ancora stata tradotta completamente dalla lingua inglese. Se puoi, terminala o riscrivila tu, eliminando il testo in lingua straniera quando hai finito. Non usare traduttori automatici! Per l'elenco completo delle altre pagine da tradurre dalla stessa lingua vedi la relativa categoria.
Nota: se non vedi il testo da tradurre potrebbe essere nascosto, fai clic su modifica per visualizzarlo.


As with most computing tasks, editing Wikitravel can benefit from using automated scripts -- programs that modify Wikitravel pages and images with content, or at a pace, not directly controlled by humans. This page describes Wikitravel's policy towards scripts: what we like, what we don't like, and how to make a script that works on Wikitravel.

Indice

Pros and cons[Modifica sezione]

Scripts are nice for the following reasons:

  • Repetitive work. Using a script can make repetitive tasks a lot easier to do. The script program does the work, instead of someone -- or a lot of someones -- having to do it by hand.
  • Accurate work. Well-written scripts don't make common typos, spelling mistakes, etc. A script will do the same task over and over pretty well.

But scripts have the following problems:

  • Unintended consequences. If you have a bug in your script, you muck up a whole lot of pages, and either we have to correct those problems by hand, or we have to create another script to clean up after it.
  • Unilateral. The writer of a script can make a whole bunch of pages that work exactly the way they want them to. If someone else wants them to work another way, they have to write another script.
  • Suck up resources. Bots take up bandwidth and other resources on the server that could be used by people hand-editing a page.
  • Unnecessary. Many problems that people want to make scripts for are unnecessary. The time and energy the person would have to put into creating, debugging, and running the script could be spread across a number of people doing the same task by hand. This would be less unilateral, and may actually be faster.
  • No new knowledge. In general, scripts just re-adjust the formatting or presentation of knowledge on Wikitravel. Unless they're importing information from another database, there's nothing new added. We could better spend that time and energy adding actual travel information to the guide.

Script policy[Modifica sezione]

For these reasons, we have the following rules for running scripts against Wikitravel:

  1. Scripts have to be approved by the Wikitravel administrators. To create a script that runs against Wikitravel, post the name and reason for the script on Script nominations. Explain why we need the script, why it can't be done by hand, and what the script will do. If 2 administrators voice their support for the script within 7 days, and none oppose it in that period, the script can be run.
  2. Scripts should be in accordance with our Wikitravel:Politiche e linee guida and Wikitravel:Manuale di stile. For example, a script that reformats all restaurant listings on the site should make them look like our preferred form rather than something else. If you think we should use that something else, get the policy or style guideline changed first.
  3. Each script has to run with its own user name. All edits made to the site need to be marked with this user name.
  4. The user page for the script's user name should describe what the script does.
  5. Scripts have to check two pages, [[Wikitravel:Politica script/Run]] and [[User:name of script/Run]], before making each edit. Both these pages have to contain exactly the word "yes" before the edit should be saved. This allows any Wikitraveller to turn off all scripts, or individual scripts, just by changing the contents of one or the other page.
  6. Scripts should make less than one change per minute. This keeps them from overwhelming the community's ability to monitor and correct errors in the script.
  7. If possible, scripts should be run against a test version of Wikitravel before running against the live site. (We may set up a test server, with a mirror of the live site, for this purpose.)

Read-only programs[Modifica sezione]

Programs that only read pages and images, and don't modify the versions on the server, don't require an approval process. However, there are some guidelines to follow for these programs, too; see Wikitravel:terms of use#spiders.

Non-compliant scripts[Modifica sezione]

Scripts that don't comply to these requirements will be blocked from reading or editing Wikitravel pages -- even if they're not doing any actual harm.

See also[Modifica sezione]

Varianti

Azioni

Docenti dell'articolo

In altre lingue

Altri siti