https://bugzilla.wikimedia.org/show_bug.cgi?id=47277

--- Comment #4 from Matthew Flaschen <[email protected]> ---
Chris, it is not set globally on test2 (nor should it be).  Perhaps you have
the cookie set.  Go to https://test2.wikipedia.org/wiki/Main_Page (no URL
parameters), then run:

console.log(mw.config.get('debug'));

console.log($.cookie('resourceLoaderDebug'));

The first gives the debug mode (true is debug), and the second checks if you
have that cookie set.

> Is it true that extensions should not load enough style sheets to cause 
> errors 
> in IE regardless?

No.  This is a bug/design flaw in Internet Explorer, fixed in IE 10.  It only
impacts debug mode (see bug 31676 for production), and we should not hurt
modularity on that account.  Moreover, I think it's often more to do with the
number of extensions, then just any one hogging too many.

I think the proposal of this bug is to have ResourceLoader itslef restrict the
number of stylesheets to 31 by combining them when necessary.  Daniel correctly
points out this partly goes against the purpose of debug mode.

It should be possible to only do this for affected versions of IE based on user
agent sniffing and having ResourceLoader add a parameter for this.  This is
kind of a hack, but it should work, and avoids impacting other browsers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to