null
Default value: []
(1.36+)
[ 'driver' => 'RemexHtml' ]
(1.31-1.35)
null
(1.26-1.30)
Configuration for HTML postprocessing tool. Set this to a configuration array to enable an external tool. Dave Raggett's "HTML Tidy" is typically used. See http://www.w3.org/People/Raggett/tidy/.
The replacement for Tidy is going to be RemexHtml
If this is null and $wgUseTidy
is true, the deprecated configuration parameters will be used instead. If this is null and $wgUseTidy is false, a pure PHP fallback will be used.
Keys are:
Configure MediaWiki to use the tidy PECL package:
$wgTidyConfig = [ 'driver' => 'RaggettInternalPHP', 'tidyConfigFile' => "$IP/includes/tidy/tidy.conf", ];
or to use the tidy
binary:
$wgTidyConfig = [ 'driver' => 'RaggettExternal', 'tidyConfigFile' => "$IP/includes/tidy/tidy.conf", 'tidyBin' => 'tidy', 'tidyCommandLine' => '', ];
The connection between $wgTidyConfig
and the settings used by older MediaWiki versions ($wgTidyInternal
, $wgUseTidy
, $wgTidyBin
, $wgTidyConf
, $wgTidyOpts
, $wgDebugTidy
) is roughly:
$wgTidyConfig = $wgUseTidy ? [ 'driver' => $wgTidyInternal ? 'RaggettInternalPHP' : 'RaggettExternal', 'tidyConfigFile' => $wgTidyConf, 'debugComment' => $wgDebugTidy, 'tidyBin' => $wgTidyBin, 'tidyCommandLine' => $wgTidyOpts, ] : null;
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4