Firefox 9.0.1 破坏了内部 Wiki 布局
最新版本的 Firefox 打乱了我们的内部 wiki 布局,因此左侧栏菜单现在显示在所有页面的内容下方。
我尝试过使用多种分辨率和窗口大小,但问题仍然存在,因此这似乎不是问题所在。
不过 Chrome 或 IE 没有问题。
此处附有问题的屏幕截图供您查看。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您使用的是旧的 MediaWiki 版本。它进行 UA 嗅探,并将不同的代码发送到不同的浏览器,依靠某些浏览器中的错误来使发送给它们的代码正确呈现。
Firefox 9 删除了只有 Gecko 用来实现的非标准属性。 MediaWiki 使用该属性来确定渲染引擎是 Gecko。随着它的消失,MediaWiki 现在决定您正在使用 kthml 并发送针对 khtml 错误量身定制的 CSS 规则...但 Gecko 恰好没有这些错误。所以渲染结果是错误的。
您的选择是更新到 MediaWiki 1.16 或更高版本(无论如何您都应该这样做,因为您的版本不再获得安全修复!)或等待 Firefox 10 发布,因为这很可能会恢复非标准属性,因为太多网站正在嗅探它。
另请参阅https://bugzilla.mozilla.org/show_bug.cgi?id=683151 和 https://bugzilla.wikimedia.org/show_bug.cgi?id=31807 了解更多信息。
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.