aboutsummaryrefslogtreecommitdiffstats
path: root/includes/tidy/TidyDriverBase.php
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2018-04-09 09:56:03 -0700
committerJames D. Forrester <jforrester@wikimedia.org>2018-04-10 10:51:28 -0700
commit0da97e7a0352e8d4fd37fab2a7b2cb8c5b80f9ad (patch)
tree2d06a97b28121924530f9d82ee2ea928520f030e /includes/tidy/TidyDriverBase.php
parent568e0c32b37a144b1831232a9dd12782176f79a8 (diff)
downloadmediawikicore-0da97e7a0352e8d4fd37fab2a7b2cb8c5b80f9ad.tar.gz
mediawikicore-0da97e7a0352e8d4fd37fab2a7b2cb8c5b80f9ad.zip
Immediately drop wgValidateAllHtml and related code
Bug: T191670 Change-Id: If13d02ee1b30fec1c701226af9d363c6e08b3737
Diffstat (limited to 'includes/tidy/TidyDriverBase.php')
-rw-r--r--includes/tidy/TidyDriverBase.php12
1 files changed, 0 insertions, 12 deletions
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
@@ -21,18 +21,6 @@ abstract class TidyDriverBase {
}
/**
- * 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
*
* @param string $text HTML document fragment to clean up