Revert r37063 "KTHMLfixes no longer loaded on skins where it doesn't exist. (bug...
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 4 Jul 2008 21:23:00 +0000 (21:23 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 4 Jul 2008 21:23:00 +0000 (21:23 +0000)
* Hardcoding to monobook doesn't make sense here; other skins may include such fix files
* Only addressing KHTMLfixes doesn't make sense here; there's a big pile of Opera fixes right above it which would presumably suffer the same problem

If these are required, and are required per-skin, then the skin should probably specify to the JS which ones it needs.
On the other hand, if they're not required, or can be done in a skin-independent fashion, then that should be checked.

RELEASE-NOTES
includes/DefaultSettings.php
skins/common/wikibits.js

index 898c65e..c5d7544 100644 (file)
@@ -413,7 +413,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 14088) Excessively long block expiry times are rejected as invalid,
   keeps the log page from being distorted.
 * (bug 14708) Emulate INSERT...IGNORE with standard SQL for Postgres backend.
-* (bug 14717) Wikibits no longer tries to load KTHMLFixes on non-monobook skins
 
 === API changes in 1.13 ===
 
index 504393f..07423a4 100644 (file)
@@ -1353,7 +1353,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '161';
+$wgStyleVersion = '160';
 
 
 # Server-side caching:
index e8e30fe..373c8ee 100644 (file)
@@ -92,7 +92,7 @@ if (typeof stylepath != 'undefined' && typeof skin != 'undefined') {
                document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/Opera6Fixes.css">');
        } else if (is_opera_seven && !is_opera_95) {
                document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/Opera7Fixes.css">');
-       } else if (is_khtml && skin == 'monobook' ) {
+       } else if (is_khtml) {
                document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/KHTMLFixes.css">');
        }
 }