Don't load nonexistent fix files for non-Monobook
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 13 Jan 2010 20:39:50 +0000 (20:39 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 13 Jan 2010 20:39:50 +0000 (20:39 +0000)
commitb7cf4d0671fa72205f1befda4f82d9cdfa48798b
tree4f3d02a0f788252796aa69e2d5d2712c8b0da87c
parentf33c8d775b9d206deb307cf6a11f38fcc73b9052
Don't load nonexistent fix files for non-Monobook

Bug 14717.  I just hardcoded "&& skin == 'monobook'" in wikibits.js.  As
far as I know, no other skin actually uses fix files -- Vector, for
instance, just uses selector hacks in main-{ltr,rtl}.css as far as I
know.  Using separate files is arguably a bad idea, because it
gratuitously adds extra loads, encourages style changes to fall out of
sync, etc.  Plus, happily, the era of CSS fixes seems to be drawing to a
close -- Firefox 3.0, IE8, Opera 10, and all Safari and Chrome get by
fine with no fix files for any skin.
RELEASE-NOTES
skins/common/wikibits.js