Topic on Project:Support desk

Jump to: navigation, search

Issue with new Firefox 9.0.1 / Left Navigation box display UNDER #content

12
Bhan90 (talkcontribs)

My site: http://www.princevault.com

MediaWiki 1.14.0 PHP 5.2.13 (apache2handler) MySQL 5.0.77

I was reported a bug with FF9 this morning, that appears to be linked to FF9.0.1 upgrade. The navigation boxes on the left doesn't show properly anymore, but under the main content. I have tested successfully all the other browsers (IE, Safari, Chrome, Opera), only FF9 display the boxes unproperly in Windows 7 as well as in Snow Leopard.

FF8 works well.

I've quickly checked the css in search of a way to correct that, unsuccessfully so far. If someone met a similar issue and patched it correctly, either in css or php files, please let me know.

I thank you in advance for your help. Regards.

Peachey88 (talkcontribs)

This is due to the removal of some old code in firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=679971) but that is getting reverted in Fx10, But if you update your MW install up to at least 1.17 (although 1.18 preferred) It will fix the issue.

Bhan90 (talkcontribs)

I see, thanks for the tip. Update the MW was my plan B, but I was quite reluctant to do so.

JulieC (talkcontribs)
JulieC (talkcontribs)

I am experiencing the problem under 1.13.3, but not under 1.17.0. I am not quite ready to upgrade the wiki running 1.13.3 (wiki family configuration) due to some unresolved upgrade issues from 1.17.0, so I am looking for a tweak. If anyone could spare me the trouble of comparing tons of files, I'd appreciate it.

JulieC (talkcontribs)

I continued to Google and found a hack such that I don't have to upgrade immediately to fix this.

  • Edit skins/common/wikibits.js
  • Find these two lines and comment them out:
//var is_khtml = navigator.vendor == 'KDE' ||
// ( document.childNodes && !document.all && !navigator.taintEnabled );

I found the answer at Mozillazine, courtesy of 'jusix'.

Nemo bis (talkcontribs)

For the record, it's filed as bugzilla:31807. Users can also work around it using Adblock to block */monobook/KHTMLFixes.css.

Bhan90 (talkcontribs)

Julie, thanks for pointing me the .js patch solution, I've implemented it tonight.

Tron~mediawikiwiki (talkcontribs)

Thanks Julie, it works with your solution. But, we also commented

//            } else if (is_khtml) {
//                           document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/KHTMLFixes.css">');

This post was posted by Tron~mediawikiwiki, but signed as Tron.

JulieC (talkcontribs)

I just commented these other two lines out two, for completeness.

Mgreis (talkcontribs)

Apologies if this shows up twice - tried entering it before logging in and don't think it worked.

There is another workaround to this problem if you're not ready to upgrade MW 1.15, described in this post on mozillazine.org.

Remove or rename the KTHMLFixes.css file in the skins/SKINNAME directory.

I am running MW 1.15 and wasn't ready to upgrade yet, so this was helpful. Monobook is the default skin I use. I noticed that the problem went away with a different skin (Modern), and confirmed that there is no KHTMLFixes.css in the skins/modern directory.

Bhan90 (talkcontribs)

All these actions disable the Wikitable collapse functions, so I wouldn't recommend it as the bug has been fixed in FF now, or I would recommend to de-comment these lines in your wiki if you proceeded. Regards. Bhan

Reply to "Issue with new Firefox 9.0.1 / Left Navigation box display UNDER #content"