Usuario:Chlewey/Bots

De Wikipedia, la enciclopedia libre

Requisitos para correr un bot[editar]

Todo bot que corra en la Wikipedia en español debe estar autorizado para correr en ésta. Existen dos modalidades para correr un bot: modo de pruebas y modo de operación.

Adicionalmente el bot debe contar con una página de usuario propia y, si así es requerido, debe estar marcado como usuario bot(conocido también como flag o botbit). Normalmente un bot en modo de pruebas se ejecuta sin marca.

Página de usuario[editar]

La página de usuario de un bot debe contener la siguiente información:

  • Nombre del usuario operador (con vínculo a su página de usuario).
  • Si el usuario operador no es colaborador activo de Wikipedia en español, indicar en qué proyecto es activo y cual es el lenguaje más apropiado para contactarlo.
  • Indicar que el usuario es un bot. Esto puede lograrse mediante la inclusión de las plantillas {{bot en pruebas}}, {{Usuario:Userbox/Bot autorizado}} o {{bot autorizado sin flag}}.
  • La página debe estar correctamente categorizada en la categoría adecuada: Categoría:Wikipedia:Bots o Categoría:Wikipedia:Bots (en pruebas).
  • La página de discusión del bot debe ser revisada periódicamente o, en su defecto, debe haber un enlace a la página de discusión del operador (aquella más leída si es en otro proyecto Wikimedia).

Adicionalmente, si el operador no es editor activo de Wikipedia en español es necesario que sea editor activo en otro proyecto de Wikimedia. Es preferible que el operador tenga su propia página de usuario en Wikipedia en español, indicando cual es el proyecto principal en el que colabora y en qué idiomas se le puede escribir.

Corriendo en modo de pruebas[editar]

Todo nuevo bot está autorizado para realizar pruebas preliminares sin notificación a la comunidad siempre y cuando estas no superen las cinco (5) ediciones y el operador esté atento para revertir cualquier comportamiento indebido del bot. El objetivo de las pruebas preliminares es comprobar que el bot funciona y no son necesarias y se desaconsejan si el operador tiene la certeza de que el bot funcionará (por ejemplo, si ya ha corrido el bot en otra wiki).

Antes de iniciar las pruebas formales, el bot debe ser anunciado en Wikipedia:Bot/Autorizaciones indicando claramente el nombre del operador y la forma como éste puede ser contactado, así como los propósitos del bot. (Ver más abajo).

Una vez anunciado y a partir de su primera edición, el bot entra en modo de pruebas hasta que sea autorizado o rechazado.

Durante el modo de pruebas el operador y su bot deben estar atentos a las siguiente recomendaciones:

  1. Si un usuario objeta las pruebas, estas deben suspenderse mientras se soluciona el problema objetado.
  2. Las ediciones del bot deben evitar inundar el historial de cambios recientes. Se recomienda que no realice más de 10 ediciones en una hora y no más de 30 ediciones en un día.
  3. El operador debe estar atento para revertir cualquier comportamiendo indeseado del bot.

Autorización formal[editar]

Transcurridos 15 días del inicio de las pruebas, cualquier usuario activo en Wikipedia en español (registrado, con más de 50 ediciones previas al anuncio del bot y con algún aporte en el Café durante el último mes) salvo el operador del bot, puede autorizar el bot si no hay objeciones serias a su utilización. Para hacer esto basta indicar en Wikipedia:Bot/Autorizaciones que el bot ha sido aprobado por falta de objeciones.

Si hay objeciones, pero al mismo tiempo otros usuarios manifiestan su apoyo, se formalizará una votación. Todo comentario favorable o desfavorable emitido por un usuario registrado (diferente al operador), con 50 ediciones previas al anuncio del bot, será contado como un voto. Se requerirá que el 75% de los votos sean positivos. Si transcurridos 15 días desde el inicio de las pruebas no hay un mínimo de 5 votos en total se anunciará en el Café y se prorrogará la votación por cinco días adicionales. Nótese que si toda objeción se levanta y hay al menos tres votos favorables, se considerará que el bot ha sido inmediatamente autorizado.

Si el bot es autorizado por votación, cualquier usuario registrado, salvo el propio operador, podrá cerrar la votación y anunciar que el bot está autorizado.

Si el bot requiere marca de bot (por ejemplo los bots de mantenimiento o los bots de vínculos interlenguaje), se debe esperar hasta que el flag sea otorgado en meta.wikimedia.org. Se considerará que el bot sigue en modo de pruebas hasta que el flag sea otorgado.

Si el bot no requiere de marca de bot, entrará a modo de operación una vez la autorización sea anunciada en la página respectiva.

Marca de usuario bot[editar]

Los bots de mantenimiento y de vínculos interlenguaje, así como cualquier bot al que se le exija operar con marca de usuario bot deben adquirir este flag, que le será otorgado por un bibliotecario.

Requirements for running a bot[editar]

Any bot running on Spanish Language Wikipedia must be authorized for running. There are two modes for running: testing mode and operation mode.

Additionally the bot must have its own user page, and if required it must run as a bot user (also known as bot flag or botbit). Usually a bot in testing mode is not flagged.

Bot user page[editar]

The bot user page must have the following information:

  • Operator's user name (linking to his or her user page).
  • If the operator is not active in Spanish Language Wikipedia, the operator's home Wikimedia project must be given as well as which languages he or she will accept.
  • That this user is a bot. This might be done by one of the following templates: {{bot en pruebas}} (for bots in testing mode), {{Usuario:Userbox/Bot autorizado}} (for bots with botbit) o {{bot autorizado sin flag}} (for bots authorized to run with no botbit).
  • The bot user page must be correctly categorized as either Categoría:Wikipedia:Bots or Categoría:Wikipedia:Bots (en pruebas).
  • Bot user talk page must be periodically checked or, alternatively, a link to the operator's user talk page must be provided.

Additionally, if the operator is not active at Spanish Language Wikipedia, it is required that he or she is active in another Wikimedia project. It is recomended that the operator is subscribed to Spanish Language Wikipedia and that he or she had its own user page, linking to operators home wiki and marking wich language he or she would accept.

Running in test mode[editar]

Any new bot is authorized for running preliminary testing without notifying the community as long as these tests are bellow five (5) editions and the operator is ready to revert any impropper behaviour by the bot. The goal of these preliminary tests is to ensure that the bot will work. They are not necesary (and even discouraged) if the operator knows the bot will work (e.g. if the bot is already working in other wiki). Actually, if the operator is not an active colaborator of Spanish Language Wikipedia, he or she should not perform preliminary testing here, but rather in his or her home wiki.

Before beginning formal testing (test mode), the bot must be announced at Wikipedia:Bot/Autorizaciones pointing clearly the name of the operator and the purpose of the bot (see bellow).

Once the bot is announced and beginning with the first edition, the bot will be in test mode untill authorized or rejected.

During the test mode period, the operator and his/her bot must be ready for the following recomendations:

  1. If any user objects the testing, these must be suspended untill the problem is solved.
  2. The bot should not flood the recent changes log. It is recomended that there be at most 10 editions per hour and at most 30 editions per day.
  3. The operator must be ready to revert any unwanted behaviour by the bot.

Formal Authorization[editar]

After 15 days, counted from the begining of the formal testing, any active user at Spanish Language Wikipedia (registred user with at least 50 editions before bot announcement and with a comment at our Café —Local Villagepump) with the exception of the bot's operator, can authorized the bot if there are no serious objections against it. The authorizing user should only edit at Wikipedia:Bot/Autorizaciones that the bot is approved by lack of objections.

If there are any objections, but at the same time other users have speak up endorsement to the bot, a poll will be formalized. Any endorsement or rejection by a registred user with 50 editions prior the bot announcement (except by the bot's operator) will count as a vote. 75% of the votes should be positive for approving the bot. If after 15 days in testing mode there is less than 5 votes, the poll period will be extended for 5 more days and an announcement will be made at our Café. Note that if any objection is removed and there are at least three endorsements, this will be counted as authorized at once.

If the bot is authorized by poll, any registred used but the operator may close the poll and announce that the bot is authorized.

If the bot requires botbit (e.g. mantainance and interlanguage bots), these must be granted by a stewaerd from meta.wikimedia.org. Before the botbit is granted the bot will be regarded as still in test mode.

If the bot does not require the botbit, will be already in operation mode once the authorization announcement is made at the proper page.

Bot flag[editar]

Mantainance and interlanguage bots, as well as any bot that is required to run under bot flag, must be granted this flag from a bureaucrat.

Tipos de bot[editar]

Bots de mantenimiento simple[editar]

Estos son bots que realizan funciones tales como

  • revisión ortográfica
  • búsquedas de vandalismos y errores comunes
  • corrección de redirecciones dobles

Estos bots deben correr bajo flag y son autorizados por comunidad de acuerdo con el procedimiento descrito.

Bots para vínculos interlenguaje (interwiki)[editar]

Estos son bots que revisan varias wikipedias completando y corrigiendo los vínculos interlenguaje.

Estos bots deben correr bajo flag y son autorizados por la comunidad de acuerdo con el procedimiento descrito después de un período de pruebas. Es necesario que indiquen de qué forma pretenden correr:

  • barriendo automáticamente Wikipedia en español (no están autorizados por ahora)
  • barriendo otra Wikipedia (cual, e indicar cuanto español conoce el operador)
  • manualmente o a través de libretos originando en Wikipedia en español
  • manualmente o a través de libretos originando en otra Wikipedia (cual)

Bots especiales[editar]

Estos son bots que realizan tareas que incluyen creación o eliminación de contenido, traslados de artículos o modificación del contenido y formato de los artículos.

Estos bots no corren bajo flag con el objeto de que sus cambios aparezcan en cambios recientes; sin embargo deben ser autorizados por la comunidad de acuerdo con el procedimiento descrito.

Bot types[editar]

Simple mantainance bot (interwikis not included)[editar]

These are bots that perform simple mantainance tasks such as

  • orthographic revision
  • searchs for common errors and vandalic actions
  • correction of double redirects

These bots must run under a botbit and are authorized by the community according to the described process.

Interlanguage bots (interwiki)[editar]

These bots search in several wikipedias completing and correcting interlanguage links.

These bots must run under botbit and are authorized by the community according to the described process after a testing period. It is necesary to claryfy how the bot will opperate:

  • scanning Wikipedia in Spanish (they are not authorized right now)
  • scanning some other Wikipedia (which one; operator must also clarify Spanish command)
  • manually or through a script, originated at Spanish language Wikipedia
  • manually or through a script, originated from some other Wikipedia

Special bots[editar]

These bots perform tasks such as creating or deleting content, moving articles or modifying format and content of articles.

These bots run without botbit and are authorized by the community according to the described process.