Open main menu
This page is a translated version of the page Manual:$wgAlwaysUseTidy and the translation is 78% complete.

Other languages:
Tidy: $wgAlwaysUseTidy
总是使用Tidy
引进版本:1.6.0 (r12844)
移除版本:1.26.0 (Gerrit change 235401; git #2c6c954e)
允许的值:(布尔值)
默认值:false

详情

In some internal places in MediaWiki (mainly when generating parts of the interface), HTML Tidy is not used by default, even when $wgUseTidy is turned on. If you want to override this, and always use HTML Tidy for every bit of wikitext parsing, you can set this option to true.

您并不清楚进行该操作的原因;您的服务器性能不理想。 但是如果MediaWiki继续生成错误的HTML代码甚至当$wgUseTidy处于启用状态时,您值得考虑采用快速修复等方法来快速解决问题。

参见