This was already deprecated in the release notes, and is not used in
production, but I'd overlooked adding an appropriate hard deprecation
notice in MWTidy::factory() to notify downstream users.
Change-Id: I8f4d8154a1d8a233017f54f0fb4bcfdf4a0373e1
$wgTidyConfig instead.
* All Tidy configurations other than Remex have been hard deprecated;
future parsers will not emit compatible output for these configurations.
+ In particular, running MediaWiki with tidy disabled has been deprecated.
* (T198214) OutputPage::addWikiText(), OutputPage::addWikiTextWithTitle(),
and OutputPage::addWikiTextTitle() have been deprecated, since they
can result in untidy output. In addition OutputPage::addWikiTextTidy()
$instance = new MediaWiki\Tidy\RemexDriver( $config );
break;
case 'disabled':
+ wfDeprecated( '"disabled" tidy driver', '1.32' );
return false;
default:
throw new MWException( "Invalid tidy driver: \"{$config['driver']}\"" );