This use managed to escape my notice in
I2e7d990da1da378eb6e828d4b3c0f5a41791dd92. Note that $wgUseTidy
has actually been false in production since
Idf246d05d116f63a73105b50a1929a7721fbe7b9.
Bug: T175706
Change-Id: I684be210c6efde5b5eb4dca163d45b2701df7555
}
$config = $this->getConfig();
}
$config = $this->getConfig();
- if ( $config->get( 'UseTidy' ) && $options->getTidy() ) {
+ if ( MWTidy::isEnabled() && $options->getTidy() ) {
$tmp = MWTidy::tidy( $tmp );
}
$tmp = MWTidy::tidy( $tmp );
}