Firefox 9.0.1打破内部维基布局 [英] Firefox 9.0.1 Broke Internal Wiki Layout

查看:168
本文介绍了Firefox 9.0.1打破内部维基布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最新版本的Firefox已经搞乱了我们内部的维基布局,所以现在所有页面上的内容都显示在左边的栏菜单中。



尝试使用多个分辨率和窗口大小,问题依然存在,这似乎不是问题。



然而,Chrome或IE没有任何问题。



解决方案

您使用的是旧的MediaWiki版本。它执行UA嗅探,并将不同的代码发送到不同的浏览器,依靠某些浏览器中的错误,以使代码发送给他们正确呈现。



Firefox 9删除了非标准只有Gecko用来实现的属性。 MediaWiki使用该属性来决定渲染引擎是Gecko。随着它的消失,MediaWiki现在决定你使用kthml并发送适合于html错误的CSS规则......但是Gecko碰巧没有这些错误。因此,渲染结果是错误的。

您的选项要么更新到MediaWiki 1.16或更新版本(无论如何,您应该这样做,因为您的版本不再有安全修复程序! )或等待火狐10出来,因为很可能会恢复非标准的财产,因为太多的网站嗅探它。

https://bugzilla.mozilla.org/show_bug.cgi?id=683151rel =noreferrer> https://bugzilla.mozilla.org/show_bug.cgi?id=683151 和 https://bugzilla.wikimedia.org/show_bug.cgi?id=31807 了解更多信息。

The most recent version of Firefox has messed up our internal wiki layout so that the left bar menus are displayed below the content on all pages now.

I've tried using multiple resolutions and window sizes and the problem persists so that doesn't appear to be the issue.

There are no problems with Chrome or IE however.

A screenshot of the problem is attached here for you to see.

解决方案

You're using an old MediaWiki version. It does UA sniffing and sends different code to different browsers, relying on bugs in some of the browsers to make the code sent to them render correctly.

Firefox 9 removed a nonstandard property that only Gecko used to implement. MediaWiki was using that property to decide that the rendering engine was Gecko. With it gone, MediaWiki now decides that you're using kthml and sends CSS rules tailored to khtml bugs... but Gecko happens to not have those bugs. So the rendering ends up wrong.

Your options are to either update to MediaWiki 1.16 or newer (which you should do anyway, because your version is not getting security fixes anymore!) or wait for Firefox 10 to come out, because chances are that will restore the nonstandard property because too many sites were sniffing for it.

See also https://bugzilla.mozilla.org/show_bug.cgi?id=683151 and https://bugzilla.wikimedia.org/show_bug.cgi?id=31807 for more info.

这篇关于Firefox 9.0.1打破内部维基布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆