如何提交 bug

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page How to report a bug and the translation is 59% complete.

Other languages:
беларуская (тарашкевіца)‎ • ‎български • ‎català • ‎čeština • ‎Cymraeg • ‎dansk • ‎Deutsch • ‎Ελληνικά • ‎English • ‎British English • ‎Esperanto • ‎español • ‎euskara • ‎suomi • ‎français • ‎galego • ‎Hawai`i • ‎עברית • ‎हिन्दी • ‎hrvatski • ‎magyar • ‎Bahasa Indonesia • ‎italiano • ‎日本語 • ‎ქართული • ‎ಕನ್ನಡ • ‎한국어 • ‎Lëtzebuergesch • ‎lietuvių • ‎Bahasa Melayu • ‎Napulitano • ‎norsk bokmål • ‎Nederlands • ‎occitan • ‎polski • ‎پښتو • ‎português • ‎português do Brasil • ‎русский • ‎Scots • ‎shqip • ‎svenska • ‎தமிழ் • ‎తెలుగు • ‎українська • ‎ייִדיש • ‎中文 • ‎中文(繁體)‎

These guidelines explain how to write a good bug report or feature request in Wikimedia's bugtracker (see Phabricator for more information). Effective bug reports are the most likely to be fixed.

Bug报告需要用英语写。如果你不会用英语写,试着用机器翻译,比如Google翻译

提交要领[edit | edit source]

  • 精确
  • 明确:说明如何重现问题,说明步骤,以便其他人重现bug
  • 每份报告中只提一个问题

提交之前[edit | edit source]

你可以重现此问题吗?[edit | edit source]

在软件的最新版中尝试重现问题,检查它是否已经被修复了。如果是在维基百科中的一个bug你可以在最新版的test2.wikipedia.org中试试看。

有人已提交了此问题吗?[edit | edit source]

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

报告新bug或功能请求[edit | edit source]

如果你在最新版中发现了没有提报过的bug,那么:

  1. Go to phabricator.wikimedia.org and click "Maniphest" in the side bar.
  2. Choose "Create task" in the upper corner.
  3. You will be asked to log in (or register) if you have not already done so (see "Creating your account").
  4. 至少填写下列内容:
    • Title: A short one-sentence summary that explains the problem (not your suggested solution).
      • 好的: "Selecting Gender is not functional."
      • 差的: "Software crashes."
    • Assigned to: You can ignore this field: Developers will set an assignee when they plan to work on the task.
    • CC: You can ignore this field: If you know specific users who will be interested in getting notified of this task you can add them here.
    • Priority: You can ignore this field: In general, the priority is set by developers who plan to work on the task (see "Setting priorities").
  5. Select the project(s) in which you've found the bug:
    This could be for example the MediaWiki-General-or-Unknown project for the wiki software itself, or Wikimedia-General-or-Unknown for configuration changes of the Wikimedia wiki sites (see "Selecting projects").
    • Security: Set this to "Security or Sensitive bug" if many users could be harmed by the security problem that you are reporting. Your report will be kept hidden from the public until it is resolved.
    • 描述:错误的完整说明,应尽可能详细。可以包含:
      • For bugs:
        • 重现步骤:能重现所述问题的最简且方便参照的步骤。需包含所有特殊设置步骤。
          例:
          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.
        • 实际结果:执行上述步骤后程序出现了什么情况。
          例:
          "There is no female gender in front of my user name."
        • 期望结果:程序正常时应实现的效果。
          例:
          "My gender is shown in front of my user name."
      • For feature requests:
        • A description of what you would like to achieve, and why. A user story is an effective way of conveying this.
          Example:
          "As a new editor, I would like to be acknowledged for my contribution to the project, so that I feel welcomed and valued"
      • 也请您提供任何其他可能有用的信息,例如:
        • 网页浏览器、皮肤或者您发现了漏洞的计算机系统;
        • 到您遇到错误的一个或多个页面的链接或比较页;
        • 该问题的出现是每次、偶尔、仅在某些页面或仅在特殊条件下。
    • 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.

Check if your report is complete, then press the "Create Task" button. Your report will now be in the database and somebody will hopefully take a look at it soon.

感谢您协助提升MediaWiki软件以及维基媒体项目!

参见[edit | edit source]