From 9cf14f43cc24b8addd855a99153b4e48774c6c35 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 4 Jul 2008 16:43:44 +0000 Subject: [PATCH] KTHMLfixes no longer loaded on skins where it doesn't exist. (bug 14717) --- RELEASE-NOTES | 1 + includes/DefaultSettings.php | 2 +- skins/common/wikibits.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c5d7544ee6..898c65ebbe 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -413,6 +413,7 @@ 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 07423a461c..504393ff11 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 = '160'; +$wgStyleVersion = '161'; # Server-side caching: diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 373c8eedb4..e8e30fe6bc 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) { + } else if (is_khtml && skin == 'monobook' ) { document.write(''); } } -- 2.20.1