From 0da97e7a0352e8d4fd37fab2a7b2cb8c5b80f9ad Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Mon, 9 Apr 2018 09:56:03 -0700 Subject: Immediately drop wgValidateAllHtml and related code Bug: T191670 Change-Id: If13d02ee1b30fec1c701226af9d363c6e08b3737 --- includes/tidy/TidyDriverBase.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'includes/tidy/TidyDriverBase.php') diff --git a/includes/tidy/TidyDriverBase.php b/includes/tidy/TidyDriverBase.php index f88b673479e0..a53360c9d9e5 100644 --- a/includes/tidy/TidyDriverBase.php +++ b/includes/tidy/TidyDriverBase.php @@ -20,18 +20,6 @@ abstract class TidyDriverBase { return false; } - /** - * Check HTML for errors, used if $wgValidateAllHtml = true. - * - * @param string $text - * @param string &$errorStr Return the error string - * @throws \MWException - * @return bool Whether the HTML is valid - */ - public function validate( $text, &$errorStr ) { - throw new \MWException( static::class . ' does not support validate()' ); - } - /** * Clean up HTML * -- cgit v1.2.3