Manual:$wgTidyConfig/pt-br

Detalhes
Configuração para ferramenta de pós-processamento HTML. Configure isso em uma matriz de configuração para habilitar uma ferramenta externa. Dave Raggett's "HTML Tidy" is typically used. Ver http://www.w3.org/People/Raggett/tidy/.

The replacement for Tidy is going to be RemexHtml

If this is null and  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:


 * driver: May be:
 * RaggettInternalHHVM: Use the limited-functionality HHVM extension
 * RaggettInternalPHP: Use the PECL extension
 * RaggettExternal: Shell out to an external binary (tidyBin)
 * Html5Depurate: Use external Depurate service
 * Html5Internal: Use the Balancer library in PHP
 * RemexHtml: Use the RemexHtml library in PHP
 * tidyConfigFile: Path to configuration file for any of the Raggett drivers
 * debugComment: True to add a comment to the output with warning messages
 * tidyBin: For RaggettExternal, the path to the tidy binary.
 * tidyCommandLine: For RaggettExternal, additional command line options.

Example
Configure MediaWiki to use the tidy PECL package:

or to use the  binary:

The connection between  and the settings used by older MediaWiki versions  is roughly: