Manual:$wgTidyConf/zh

From Linux Web Expert

<translate> Tidy</translate>: $wgTidyConf
应该设置为Tidy的配置文件的路径。
<translate> Introduced in version:</translate>1.3.0
<translate> Deprecated in version:</translate>1.26.0 (Gerrit change 235401; git #2c6c954e)
<translate> Removed in version:</translate>1.33.0 (Gerrit change 467972; git #6db35b3c)
<translate> Allowed values:</translate>(绝对路径)
<translate> Default value:</translate>"{$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提供。

參見