Manual:$wgAlwaysUseTidy

From MediaWiki.org

Jump to: navigation, search
Tidy: $wgAlwaysUseTidy
??
Introduced in version: 1.6.0 (r12844)
Removed in version: still in use
Allowed Values: (boolean)
Default Value: false

Other settings: Alphabetical | By Function


[edit] Details

Unknown.

Obviously it relates to $wgUseTidy and the ability to run 'HTML tidy' tool over the parser output.

In Parser.php line 357:

if (($wgUseTidy and $this->mOptions->mTidy) or $wgAlwaysUseTidy) {
    $text = Parser::tidy($text);
} else {
    # attempt to sanitize at least some nesting problems


...but what is $this->mOptions ? This implies that it wont always run HTML tidy over parser output, but will allow this to be switched off via some parser options mechanism.... unless you set $wgAlwaysUseTidy=true;

TODO: somebody who knows what this is, please enlighten us!

[edit] See also