On Thu, Oct 13, 2011 at 9:38 PM, Daniel Barrett danb@vistaprint.com wrote:
This is a question about an infrastructural detail of ResourceLoader and how it interacts with Internet Explorer. (It's my first post to wikitech-l, so apologies if it's the wrong forum.)
You're in the right place, don't worry :)
Our MediaWiki 1.17.0 site recently installed a bunch of extensions that use ResourceLoader, such as Extension:WikiEditor. To our surprise, some of our site's unrelated CSS styles stopped working. This was happening only in Internet Explorer. After some detective work, we discovered the problem is Internet Explorer's limit of 31 stylesheets:
ZOMG. I had no idea MSIE had that limit. And I thought I'd pretty much discovered the extent of IE's retardation. This makes me sad.
Is there a workaround for sites like mine, with many stylesheets from separate extensions loaded by ResourceLoader?
Should ResourceLoader address this IE problem? Maybe start combining stylesheets (with @import) automatically?
RL should address this problem, yes, but it currently doesn't because its authors (of which I am one) were not aware of this issue. I've filed this as https://bugzilla.wikimedia.org/show_bug.cgi?id=31676 , thanks for the report.
Roan