Last modified: 2014-05-13 08:44:36 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 T65535, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63535 - TypeError: mw.beta is undefined defaultTracking.js:5 (caused by AdBlock filters)
TypeError: mw.beta is undefined defaultTracking.js:5 (caused by AdBlock filters)
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
VectorBeta (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Liangent
https://hg.adblockplus.org/easylist/r...
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-04 17:40 UTC by Liangent
Modified: 2014-05-13 08:44 UTC (History)
6 users (show)

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


Attachments

Description Liangent 2014-04-04 17:40:21 UTC
The JavaScript-created interface doesn't appear at all. Firefox 27.
Comment 2 Bartosz Dziewoński 2014-04-07 15:53:23 UTC
Works for me on Firefox 28 and several other browsers I've tried. Is it still happening for you, and if so, is it only on Firefox?
Comment 3 Liangent 2014-04-07 16:03:03 UTC
(In reply to Bartosz Dziewoński from comment #2)
> Works for me on Firefox 28 and several other browsers I've tried. Is it
> still happening for you, and if so, is it only on Firefox?

It's still happening. Firefox only for me.
Comment 4 Bartosz Dziewoński 2014-04-07 16:17:46 UTC
So, obvious questions:
* Have you tried upgrading to Firefox 28?
* Is the browser console for JavaScript (Ctrl+Shift+J) displaying anything
  interesting?
Comment 5 Liangent 2014-04-07 16:22:15 UTC
(In reply to Bartosz Dziewoński from comment #4)
> * Is the browser console for JavaScript (Ctrl+Shift+J) displaying anything
>   interesting?

Good question. It says:

TypeError: mw.beta is undefined defaultTracking.js:5

URL:

https://bits.wikimedia.org/static-1.23wmf20/extensions/VectorBeta/resources/compactPersonalBar/defaultTracking.js

I think it prevents execution of other JavaScript code.
Comment 6 Juliusz Gonera 2014-04-07 21:31:16 UTC
I can't reproduce on Firefox 28. I tried both when logged in and logged out. If it really happens on some configurations, it might be a bug in debug mode in ResourceLoader. According to module dependencies in VectorBeta, mw.beta should always be defined when defaultTracking.js is loaded.
Comment 7 Juliusz Gonera 2014-04-09 22:22:05 UTC
Liangent, is it still happening for you? Have you tried updating Firefox? Do you have any custom JS or gadgets enabled?
Comment 8 Liangent 2014-04-10 10:13:06 UTC
(In reply to Juliusz Gonera from comment #7)
> Liangent, is it still happening for you? Have you tried updating Firefox? Do
> you have any custom JS or gadgets enabled?

Firefox 27, unlogged in (using a private window) = TypeError.

Firefox 28 makes no difference.
Comment 9 Andre Klapper 2014-04-10 12:24:59 UTC
Confirming the line
   TypeError: mw.beta is undefined defaultTracking.js:5
in Firefox 28, being logged in.
Comment 10 Bartosz Dziewoński 2014-05-09 20:58:42 UTC
I just had an epiphany.

The file trackClick.js is blocked by AdBlock's default configuration.

This might be affecting whatever metrics you guys are running.
Comment 11 James Forrester 2014-05-10 05:10:10 UTC
(In reply to Bartosz Dziewoński from comment #10)
> I just had an epiphany.
> 
> The file trackClick.js is blocked by AdBlock's default configuration.
> 
> This might be affecting whatever metrics you guys are running.

Maybe we should WONTFIX then? Broken browser plugins are broken…
Comment 12 Liangent 2014-05-10 15:12:43 UTC
Reported at http://forums.lanik.us/viewtopic.php?f=64&t=16788
Comment 13 Andre Klapper 2014-05-13 07:59:59 UTC
(In reply to Liangent from comment #12)
> Reported at http://forums.lanik.us/viewtopic.php?f=64&t=16788

Thanks! ...and fixed in https://hg.adblockplus.org/easylist/rev/5f1b307f0ffe

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


Navigation
Links