Jump to content

Manual:$wgTidyConf/zh

From mediawiki.org
This page is a translated version of the page Manual:$wgTidyConf and the translation is 56% complete.
Tidy: $wgTidyConf
应该设置为Tidy的配置文件的路径。
引进版本:1.3.0
弃用版本:1.26.0 (Gerrit change 235401; git #2c6c954e)
移除版本:1.33.0 (Gerrit change 467972; git #6db35b3c)
允许的值:(绝对路径)
默认值:"{$IP }/includes/tidy/tidy.conf" (1.26-1.32)

"{$IP }/includes/tidy.conf" (1.20-1.25)

"{$IP }/extensions/tidy/tidy.conf" (1.3-1.19)

细节

May be set to the path of the custom configuration file for tidy if $wgUseTidy is set.

Before MediaWiki Version 1.10, this should be set to the actual location of the tidy configuration file, or a working configuration should be placed at $IP /extensions/tidy/tidy.conf. See Manual talk:$wgUseTidy#Example Tidy Configuration File for an example. 从1.10版本开始,一组默认配置在$IP /includes/tidy.conf提供。

參見