From 798bb1cdc4f9867d0138bd7d8a6536eba8e4c7e0 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 4 Jul 2008 21:23:00 +0000 Subject: [PATCH] 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. --- RELEASE-NOTES | 1 - includes/DefaultSettings.php | 2 +- skins/common/wikibits.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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(''); } } -- 2.20.1