Uncaught ReferenceError: wgCommentsObjects is not defined

Hi everyone,

After the recent MW update, it looks like none of the JS in skins/webplatform/webplatform.js is running, including the TOC on pages.
I’ve tracked the issue down somewhat: It seems that MW minifies & bundles all the scripts together in the same file (for perf), which means when something throws an error earlier on, nothing gets executed after that. The error is "Uncaught ReferenceError: wgCommentsObjects is not defined". I don’t know which line or file, as the browser reports the error that the minified file threw. 
I tried to grep our files to find where wgCommentsObjects is, but it took ages and had to kill it.
Does anyone know which file this is in? 
If you know how to fix it too, even better, but just finding it right now would be of huge help.

Thanks!

Cheers,
Lea

Lea Verou
W3C developer relations
http://w3.org/people/all#leahttp://lea.verou.me ✿ @leaverou

Received on Tuesday, 11 June 2013 02:33:34 UTC