Page MenuHomePhabricator

Enhanced Recent Changes: Uncaught ReferenceError/TypeError
Closed, ResolvedPublic

Description

(1.18wmf/mwwiki)

http://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20110920T093744Z

load.php:142Uncaught ReferenceError: addOnloadHook is not defined

http://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&modules=site&only=scripts&skin=vector&*

load.php:1Uncaught ReferenceError: importScript is not defined
load.php:1Uncaught ReferenceError: addOnloadHook is not defined

http://www.mediawiki.org/wiki/Special:RecentChanges

Uncaught TypeError: Cannot read property 'options' of undefined


Version: unspecified
Severity: normal

Details

Reference
bz31358

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:55 PM
bzimport set Reference to bz31358.
bzimport added a subscriber: Unknown Object (MLST).

I'm not seeing it there, but it sounds like wikibits.js hasn't been loaded properly.

screenshot

Screenshot of broken watchlist

Attached:

This should be resolved now. thedj reported on IRC that the jquery|mediawiki request was reporting the jquery and mediawiki modules as missing, but not if you pressed F5 or Ctrl+F5. So it seemed like a bad response was stuck in Varnish cache. I touched jquery.js, so requests for jquery|mediawiki now have a timestamp on Oct 5 rather than Sep 20 (which avoids hitting the bad cache entry), and that made the problem go away for me.