Hvordan reportere en bug

This page is a translated version of the page How to report a bug and the translation is 23% 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

Disse veiledningene forklarer hvordan å skrive en god bug rapport eller en forbedrings funksjon i Wikimedia's bugtracker (se Phabricator for mer informasjon). Effektive bug rapporter er mest sannsynlig for å bli fikset.

Bug rapporter må bli skrevet på engelsk. Vis du ikke kan skrive engelsk godt nok, prøv å oversett med Google Oversetter.

Kort anbefaling til rapporter

  • Vær nøyaktig
  • Vær klar: Forklar hvordan man kan skape problemet, steg for steg, så andre kan skape det samme problemet
  • Inkluder bare ett problem per rapport
  • 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

Før du gjør noe som helst

Kan du skape problemet på nytt ?

Prøv å reproduser ditt problem ved å bruke en lingnende verson av programmet, for å se om det har allerede blitt fikset. Vis problemet er på en av wiki sidene som for eksempel Wikipedia kan du prøve å teste det seneste versonen av programmet på test2.wikipedia.org

Har noen andre allerede rapportert problemet?

Use the search box of Wikimedia's bugtracker to see if your bug has already been reported, or the feature requested. You can also perform more advanced searches on the advanced search page.

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.

Rapportere et nytt problem eller en funksjons forespørsel

Vis du har møtt på et problem i en senere verson og ingen andre ser ut til å rapportert det, så :

  1. Go to phabricator.wikimedia.org.
  2. Du må logge inn (eller registrere deg) hvis du ikke allerede har gjort det (Se "Creating your accountll ").
  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. Fyll ut ivertfall følgene felt:
    • Title: A short one-sentence summary that explains the problem (not your suggested solution).
      • Bra: "Selecting gender is not functional on Special:Preferences"
      • Dårlig: "Software crashes"
    • Description: Full details of the issue, giving all the information you currently have. If that is insufficient you will be asked for additional information along with guidance on how to obtain it. This field should include:
      • For bugs:
        • Steps to Reproduce: Minimized, easy-to-follow steps that will trigger the described problem. Include any special setup steps.
          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.
        • Actual Results: What the application did after performing the above steps.
          "There is no female gender in front of my username."
        • Expected Results: What the application should have done, if there was no bug.
          "My gender is shown in front of my username."
      • For feature requests:
        • A description of what you would like to achieve, and why. 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.
          "As a new editor, I would like to be acknowledged for my contribution to the project, so that I feel welcomed and valued"
      • Please also provide any other information that might be useful, such as:
        • the web browsers, skins, or computer systems you've seen the bug on;
        • links or diffs to one or more pages where you encountered the bug; or
        • whether the problem appears every time, only occasionally, only on certain pages, or only in specific circumstances.
    • To attach a log file or screenshot (but make sure that no confidential data is included or shown), click the Upload File button (a cloud with an arrow) in the tool bar of the Description field.
    • Velg det tags (project(s)) hvor du har funnet problemet:
      • Projects are how developers find tasks to work on. To identify the right project(s), use the search function (in the top right) to find its description.
      • Dette kan være for eksempel MediaWiki-General-or-Unknown for wiki-programmet i seg selv, eller Wikimedia-Site-Requests for konfigurerings-forandringer på Wikimedia Wiki sider.
    • Subscribers: If you know specific users who will be interested in getting notified of this task you can add them here. Otherwise, ignore this field.

Check if your report is complete, then press the "Create Task" button. Your report will now be in the database. This allows somebody interested in the report to look at it and potentially work on it .

The priority for the task will be set by developers if they plan to work on the task (see Setting priorities).

That's all! Thanks for your help to improve MediaWiki and Wikimedia projects!

Reporting a JavaScript bug

See also: Help:Locating broken scripts

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

When you encounter a bug that may be related to JavaScript, do your best to identify error messages and copy them into the bug report.

It's especially important to provide all the information you have, because even the system administrators will have zero access to any error log.

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 .


Se også