Firefox 9.0.1打破内部维基布局 [英] Firefox 9.0.1 Broke Internal Wiki Layout
问题描述
尝试使用多个分辨率和窗口大小,问题依然存在,这似乎不是问题。
然而,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屋!