Manual:$wgTidyConf
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.33.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgTidyConfig['tidyConfigFile']</tvar> for an alternative way to use this feature.</translate> |
<translate> Tidy</translate>: $wgTidyConf | |
---|---|
Should be set to the path of the tidy configuration file. |
|
<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> | (absolute path) |
<translate> Default value:</translate> | "{$IP }/includes/tidy/tidy.conf" (1.26-1.32)
"{$IP }/extensions/tidy/tidy.conf" (1.3-1.19) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
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
.