Last modified: 2013-06-27 09:04:22 UTC
(Also mentioned as one issue in bug 49886, main issue became bug 49911, refiling this aspect so it does not get lost) Loading http://en.wikipedia.beta.wmflabs.org/wiki/Main_Page triggers Timestamp: 06/25/2013 11:55:00 AM Error: TypeError: $.aftUtils is undefined Source File: http://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=site&only=scripts&skin=vector&* Line: 10 Maybe related to bug 43892 / https://gerrit.wikimedia.org/r/#/c/70349/ ?
Worksforme...
http://en.wikipedia.beta.wmflabs.org/w/index.php?title=MediaWiki:Common.js&oldid=57656 checks `typeof $.aftUtils.verify` without waiting for AFTv5 to load its modules. On a related note, http://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Common.js is currently showing the contents of http://en.wikipedia.beta.wmflabs.org/w/index.php?title=MediaWiki:Common.js&oldid=55058 (and that's where the "Permanent link" in toolbar points), while the latest revision in history is http://en.wikipedia.beta.wmflabs.org/w/index.php?title=MediaWiki:Common.js&oldid=57656.
The load.php resources are cached on the text squid. I have pruned its cache a few minutes ago for bug 49911 (some javascript issue as well). That most probably fixed this AFT issue as well. $wgLoadScript on beta needs to be adjusted to points to the bits cache instead of the text cache. The change is https://gerrit.wikimedia.org/r/#/c/70322/ So I believe the issue is fixed now. If someone can confirm, go ahead and close this bug report =)
I can confirm that don't get this error anymore, closing as FIXED. Now I get a different one: Timestamp: 06/27/2013 11:03:26 AM Error: ReferenceError: mw is not defined Source File: http://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=site&only=scripts&skin=vector&* Line: 1