Jump to content

Manual:$wgTidyConf

From mediawiki.org
Tidy: $wgTidyConf
Should be set to the path of the tidy configuration file.
Introduced in version:1.3.0
Deprecated in version:1.26.0 (Gerrit change 235401; git #2c6c954e)
Removed in version:1.33.0 (Gerrit change 467972; git #6db35b3c)
Allowed values:(absolute path)
Default value:"{$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)

Details

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. Since Version 1.10 a working default configuration is provided at $IP /includes/tidy.conf.

See also