[Pkg-mediawiki-devel] Bug#652948: mediawiki: Incorrect sidebar rendering with Monobook skin and Firef*x 9

Thorsten Glaser t.glaser at tarent.de
Wed Jan 11 09:05:34 UTC 2012


Hi all,

I’ve just engineered a better fix for this and applied it to
the MW 1.15 branch in the pkg-mediawiki SVN, so it will be
included with the next regular upload.

Index: mediawiki-1.15.5/skins/common/wikibits.js
===================================================================
--- mediawiki-1.15.5.orig/skins/common/wikibits.js	2012-01-11 09:58:07.000000000 +0100
+++ mediawiki-1.15.5/skins/common/wikibits.js	2012-01-11 09:58:18.000000000 +0100
@@ -11,7 +11,7 @@
 	var webkit_version = parseInt(webkit_match[1]);
 }
 var is_khtml = navigator.vendor == 'KDE' ||
-	( document.childNodes && !document.all && !navigator.taintEnabled );
+	( navigator.product != 'Gecko' && document.childNodes && !document.all && !navigator.taintEnabled );
 // For accesskeys; note that FF3+ is included here!
 var is_ff2 = /firefox\/[2-9]|minefield\/3/.test( clientPC );
 var is_ff2_ = /firefox\/2/.test( clientPC );


This way, is_khtml is still true on KDE 3 Konqueror (tested).

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Elmar Geese





More information about the Pkg-mediawiki-devel mailing list