Author: bugz-wikimedia
Description:
One gets harmless errors that a stylesheet was given with content-type text/html on some browsers (like Safari) because a non-existent stylesheet was requested, and the browser got the nice html error page instead. See the similar bug #14520, https://bugzilla.wikimedia.org/show_bug.cgi?id=14520
It should be easy to fix, either by including blank such files, or adding a more complicated check to wikibits.js:
Line 96 of wikibits.js ( http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/skins/common/wikibits.js rev 37012 or http://en.wikipedia.org/skins-1.5/common/wikibits.js ) is the following:
document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/KHTMLFixes.css">');
I believe this could be changed to:
if(skin=='monobook') document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/KHTMLFixes.css">');
since this is the only skin using the file.
The missing files from SVN are:
skins/chick/KHTMLFixes.css
skins/modern/KHTMLFixes.css
skins/myskin/KHTMLFixes.css
skins/simple/KHTMLFixes.css
The missing files from wikipedia are:
skins-1.5/chick/KHTMLFixes.css
skins-1.5/cologneblue/KHTMLFixes.css
skins-1.5/modern/KHTMLFixes.css
skins-1.5/myskin/KHTMLFixes.css
skins-1.5/nostalgia/KHTMLFixes.css
skins-1.5/simple/KHTMLFixes.css
skins-1.5/standard/KHTMLFixes.css
Version: 1.13.x
Severity: minor
URL: http://en.wikipedia.org/wiki/?useskin=chick