Last modified: 2013-06-27 09:04:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52163, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50163 - "TypeError: $.aftUtils is undefined" on en.wikipedia.beta.wmflabs.org
"TypeError: $.aftUtils is undefined" on en.wikipedia.beta.wmflabs.org
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized minor
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-25 10:00 UTC by Andre Klapper
Modified: 2013-06-27 09:04 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andre Klapper 2013-06-25 10:00:40 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/ ?
Comment 1 Alex Monk 2013-06-25 14:26:15 UTC
Worksforme...
Comment 2 Bartosz Dziewoński 2013-06-25 14:34:23 UTC
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.
Comment 3 Antoine "hashar" Musso (WMF) 2013-06-26 09:24:29 UTC
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 =)
Comment 4 Andre Klapper 2013-06-27 09:04:22 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links