Hide the styles from Netscape 4 without hiding them from IE/Mac -- Microsoft are...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 25 Feb 2004 08:45:56 +0000 (08:45 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 25 Feb 2004 08:45:56 +0000 (08:45 +0000)
includes/Skin.php

index f3d0558..ba5c4d7 100644 (file)
@@ -132,9 +132,9 @@ class Skin {
                }
                $s = "<style type='text/css'><!--\n";
                $s .= "@import url(\"$wgStyleSheetPath/$sheet\");\n";
-               $s .= "@media screen {\n";
+               $s .= "/*/*/\n"; # <-- Hide the styles from Netscape 4 without hiding them from IE/Mac
                $s .= $this->doGetUserStyles();
-               $s .= "}\n";
+               $s .= "/* */\n";
                $s .= "//--></style>\n";
                return $s;
        }