Jump to content

Wikipedia:Reporting JavaScript errors

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SD0001 (talk | contribs) at 15:36, 26 October 2021 (use table for instructions on opening the console; fix shortcuts for firefox and safari in mac). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

When you experience an error with gadgets or user scripts and you want to report the issue at the appropriate page, please include the following information:

  1. What is the behaviour you're seeing?
  2. What is the behaviour you're expecting to see?
  3. How can the incorrect behaviour be reproduced? Describe exactly what you're doing and seeing.
  4. Confirm that you have tried bypassing your browser cache.
  5. Make note of the skin that you use, your browser, browser version, operating system, and operating system version.
  6. Append relevant JavaScript errors your browser logged. To do that, open your JavaScript console, and copy the relevant error messages. Error messages usually appear in red. Where you find your JavaScript console depends on your browser:
How to open the console
Browser Windows Mac
Chrome Ctrl+⇧ Shift+J ⌥ Option+⌘ Command+J
Edge (new versions) Ctrl+⇧ Shift+J -
Firefox F12 ⌥ Option+⌘ Command+K
Safari Ctrl+Alt+C ⌥ Option+⌘ Cmd+C*
IE or Edge (legacy versions) F12 -
Opera Page menu → Developer Tools → Error Console

On some browsers, you may have to click on the "Console" tab once the developer tools pane opens up.

[*] In Safari, you might have to enable the Develop menu first in Preferences → Advanced → check "Show develop menu in menu bar". For OSX, use ⌥ Option+⌘ Command+I then hit esc (escape) to open the JavaScript console. Errors will appear in red.

You are urged to have a look at http://www.chiark.greenend.org.uk/~sgtatham/bugs.html for hints on how to report bugs effectively, to make sure the issue you are describing can be resolved as promptly as possible.

See also