Screenshot showing a debug window and the error console
Where?
At Wikimedia Commons.
How to reproduce?
- Use FF 20.0.1 (older versions are reported having the same behaviour)
- Reset account preferences or create fresh account.
- Go to user pages like https://commons.wikimedia.org/wiki/User:Bidgee (then Wikilove will trigger the issue) or go to http://commons.wikimedia.org/wiki/User_talk:FlickreviewR/bad-authors?debug=true (try anon and logged-in)
Reproducible?
Difficult. Does not always happen. Took me also a while to get it. But if you once have it, it happens always.
What happens?
-Visible to everyone
If you have a slow machine you see the page content (boxes, colors, letters) for a short time and then, it vanishes (leaving a blank page) and Firefox seems to redirct to a WYCIWYG URL (https://commons.wikimedia.org/wiki/File:Wyciwyg.jpg).
-Visible with debugging tools
mw or jQuery or mediaWiki are supposed to be undefined. However, I can't say whether the error logged before the page vanished or after.
Here is the HTML content of the blank page:
<html><head><script src="//bits.wikimedia.org/commons.wikimedia.org/load.php?debug=true&lang=de&modules=ext.gadget.libAPI&only=scripts&skin=vector&version=20130412T161949Z&*"></script></head></html>
This all leads to the conclusion that document.write is used where it should not be used (after document finished loading). Note that Commons has *a lot of JavaScript loaded through RL*
I am not sure whether it is a MediaWiki or a Firefox bug. Were there recent changes affecting RL?
Expected behaviour:
No blank pages.
Error from the FF JS Error console (which is visible in the attached screenshot)
Zeitstempel: 24.04.2013 14:46:45
Fehler: ReferenceError: jQuery is not defined
Quelldatei: https://bits.wikimedia.org/commons.wikimedia.org/load.php?debug=true&lang=de&modules=ext.gadget.libAPI&only=scripts&skin=vector&version=20130412T161949Z&*
Zeile: 921
Version: 1.21.x
Severity: major
Attached: