Page MenuHomePhabricator

Enhanced Recent Changes: Uncaught ReferenceError/TypeError
Closed, ResolvedPublic



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

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

Uncaught TypeError: Cannot read property 'options' of undefined

Version: unspecified
Severity: normal



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).
brion added a comment.Oct 4 2011, 10:40 PM

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


Screenshot of broken watchlist


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.

tagging bugs for Marcus to look at