}
$config = $this->getConfig();
- if ( $config->get( 'UseTidy' ) && $options->getTidy() ) {
+ if ( MWTidy::isEnabled() && $options->getTidy() ) {
$tmp = MWTidy::tidy( $tmp );
+ } else {
+ wfDeprecated( 'disabling tidy', '1.33' );
}
$out->addHTML( $tmp );