Hard deprecate codepaths where tidy is disabled
[lhc/web/wiklou.git] / includes / specials / SpecialExpandTemplates.php
index 4587d40..619665b 100644 (file)
@@ -117,6 +117,8 @@ class SpecialExpandTemplates extends SpecialPage {
                        $config = $this->getConfig();
                        if ( MWTidy::isEnabled() && $options->getTidy() ) {
                                $tmp = MWTidy::tidy( $tmp );
+                       } else {
+                               wfDeprecated( 'disabling tidy', '1.33' );
                        }
 
                        $out->addHTML( $tmp );