/**
* @return bool|\MediaWiki\Tidy\TidyDriverBase
*/
- protected static function singleton() {
+ public static function singleton() {
global $wgUseTidy, $wgTidyInternal, $wgTidyConf, $wgDebugTidy, $wgTidyConfig,
$wgTidyBin, $wgTidyOpts;
case 'Html5Internal':
$instance = new MediaWiki\Tidy\Html5Internal( $config );
break;
+ case 'RemexHtml':
+ $instance = new MediaWiki\Tidy\RemexDriver( $config );
+ break;
case 'disabled':
return false;
default: