Como reportar un erro (bug)

shortcut: BUGREPORT
From mediawiki.org
This page is a translated version of the page How to report a bug and the translation is 61% complete.
Outdated translations are marked like this.


Phabricator is for software bug reports, feature requests, and planning work.
  • To ask technical questions about Wikimedia projects, see m:Tech
  • To ask technical questions about MediaWiki in non-WMF installations, see Project:Support desk

Estas directrices explican como escribir un informe sobre un erro ou informe de requerimento (unha tarefa) en Wikimedia's task tracker (vexa Phabricator para máis información). Os informes ben escritos son os que teñen máis posibilidades de traballar neles. Necesítase que os informes estean escritos en Inglés. Se te non podes escribir en inglés, tenta usar un tradutor automático coma Google Translate.

Recomendacións rápidas para os reportes

  • Sexa preciso
  • Sexa claro: explica como reproducir o problema, paso a paso, para que outros poidan reproducir o erro, ou entender o problema.
  • Inclúe só un problema por informe
  • Inclúe calquera ligazón relevante e exemplos
  • Be clear: explain 1) how to reproduce the situation, step by step, without leaving any room for interpretation, 2) expected behavior, 3) actual behavior. In separate sections
  • Include only one specific bug or one specific feature request per task
  • Include any relevant links and examples

Antes de facer calquera cousa

Pode reproducir o problema?

Probe a reproducir o erro utilizando unha versión recente de software, a ver se xa foi corrixido. Se o erro foi nun sitio wiki, como a Wikipedia, pode tentar probar a última versión do software en test2.wikipedia.org.

Ten alguén xa informado do problema?

Empregue a caixa de busca do sistema de incidencias de Wikimedia para ver se o erro xa foi notificado. Tamén pode realizar buscas máis avanzadas na páxina de busca avanzada.

If you are unsure whether a bug has already been reported, you should report the bug. It is better to have duplicate bugs than it is to have unreported bugs.

Is it maybe a gadget / user script issue?

Some problems are a consequence of using user scripts and gadgets which need some fixes.

There is a guide available with steps how you can identify such code, which could fix your issue so that you do not waste your time reporting it.

Is it a caching issue?

Some issues relate to older cached HTML being served alongside newer JavaScript where the two are incompatible. To help determine if this is the cause it is helpful to purge the page, refresh the page and see if the issue persists and include this information in your bug report.

Informar unha nova solicitude erro ou recurso

Se ten enfrontado un erro nunha versión recente e ninguén máis semella informar disto, entón:

  1. Vaia a phabricator.wikimedia.org.
  2. Solicitaráselle que inicie sesión (ou que se rexistre) se aínda non o fixo (consulte "Creación de conta ").
  3. Click the Bookmark button in the upper right corner and choose "Report a Software Bug" (or "Report a Security Issue" to report a security problem ).
  4. Encha polo menos os seguintes campos:
    • Título (Title): Unha descrición curta dunha liña que explique o problema (non a solución que suxire).
      • Bo: "Selecting gender is not functional on Special:Preferences"
      • Malo: "Software crashes"
    • Descrición (description): Describa completamente o problema, dando tantos detalles como lle sexa posible. Estes poden incluír: If that is insufficient you will be asked for additional information along with guidance on how to obtain it. This field should include:
      • Para erros:
        • Pasos para reproducir: Pasos esquemáticos e doados de seguir que provocarán o problema descrito. Inclúe calquera configuración especial relevante.
          Exemplo:
          1. Go to https://en.wikipedia.org with Internet Explorer version 10.0;
          2. Make sure you are logged in;
          3. Select "My Preferences" menu;
          4. Go to "Gender" and select female gender from box list;
          5. Click "Save" button.
        • Resultados Actuais: Que fixo a aplicación tras seguir os pasos indicados.
          Exemplo
          "There is no female gender in front of my username."
        • Resultados previstos: O que debería ter realizado a aplicación se non existira ningún erro.
          Exemplo
          "My gender is shown in front of my username."
      • Para solicitar funcionalidades:
        • Unha descrición do que intenta lograr e por qué. Explain what you hope the feature will solve (the actual underlying problem) along with specific examples; but do not demand a specific solution, as there might be other/better solutions. A user story is an effective way of conveying this.
          Exemplo:
          "As a new editor, I would like to be acknowledged for my contribution to the project, so that I feel welcomed and valued"
      • Por favor, proporcionar calquera outra información que poidan ser útiles, tales como:
        • o navegador web, tema (skin) ou sistema operativo onde teña visto o erro;
        • semellanzas ou diferenzas nunha ou máis páxinas nas que teña atopado o erro; ou
        • se o problema se produce sempre, ocasionalmente, só en certas páxinas ou en circunstancias específicas.
    • Para adxuntar un ficheiro de rexistro ou captura de pantalla (asegúrese de que non inclúa ou mostre información confidencial), prema no botón Upload File (unha nube cunha frecha) na barra de ferramentas do campo Descrición.
    • Seleccione o/os proxecto/s no/s que atopou o erro:
      • Os proxectos é a forma na que os desenvolvedores atopan as tarefas nas que traballar. Para identificar o/s proxecto/s correcto/s, use a función de busca (na parte superior dereita) para atopar a súa descrición.
      • Este pode ser, por exemplo, o proxecto MediaWiki-General-or-Unknown para o propio software do wiki, ou Wikimedia-Site-Requests para cambios na configuración dun sitio da fundación Wikimedia. (Consulte Selecting projects ).
    • Subscritores: deberías esquecer este campo: Se coñeces usuarios específicos que estean interesados en seren notificados desta tarefa, podes engadilos aquí. Otherwise, ignore this field.

Comprobe que o informe estea completo e prema o botón "Create Task" (crear tarefa). O seu informe pasará á base de datos e é de esperar que alguén se interese por el pronto. This allows somebody interested in the report to look at it and potentially work on it .

A prioridade para tarefas debe ser definida para desenvolvedores que planexan traballar nas cuestións (vexa Setting priorities)

Iso é todo! Grazas pola súa axuda para mellorar MediaWiki e os proxectos de Wikimedia!

Informando dun erro de JavaScript

See also: Help:Locating broken scripts

A lot of functionality, such as gadgets, user scripts, and some parts of MediaWiki, rely on JavaScript.

Cando atopas un erro que pode estar relacionado con JavaScript, o mellor que podes facer e ir a [$url identify error messages] e copiárllelo no informe de erro.

É especialmente importante proporcionar toda a información que tes, porque mesmo os administradores de sistema terán cero acceso a calquera rexistro de erros.

If the problem is in the code of a user script or gadget itself, then Phabricator might not be the place where the problem will get handled.[1] Someone might redirect you to the talk page of the script (if the problematic script is identified).

Reporting a connectivity issue

If you are having difficulties reaching a Wikimedia website at all (slow internet connection etc.), please follow https://wikitech-static.wikimedia.org/wiki/Reporting_a_connectivity_issue

Reporting a login problem

If you are having problems logging into your account, please follow Manual:How to debug/Login problems .

Notes

Véxase tamén