From: Brion Vibber Date: Fri, 4 Jul 2008 21:23:00 +0000 (+0000) Subject: Revert r37063 "KTHMLfixes no longer loaded on skins where it doesn't exist. (bug... X-Git-Tag: 1.31.0-rc.0~46736 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=798bb1cdc4f9867d0138bd7d8a6536eba8e4c7e0;p=lhc%2Fweb%2Fwiklou.git Revert r37063 "KTHMLfixes no longer loaded on skins where it doesn't exist. (bug 14717)" * 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. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 898c65ebbe..c5d7544ee6 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 504393ff11..07423a461c 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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: diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index e8e30fe6bc..373c8eedb4 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -92,7 +92,7 @@ if (typeof stylepath != 'undefined' && typeof skin != 'undefined') { document.write(''); } else if (is_opera_seven && !is_opera_95) { document.write(''); - } else if (is_khtml && skin == 'monobook' ) { + } else if (is_khtml) { document.write(''); } }