From 4d49a4a59ee9fd4fabf573ef352f764bbcc6d89e Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 27 Jul 2024 20:13:10 -0400 Subject: Extract LintErrorChecker out of SignatureValidator This code was partially copied into MassMessage and will hopefully enable more places that accept arbitrary wikitext to check lint errors. It also hides the internal details of checking with the Linter extension's configuration in one place until it can be refactored into something more acceptable (T360809). Bug: T368690 Change-Id: Iaeb3ccbd61a2a8cb0d8b3dc8b06a3a10bc8fa653 --- autoload.php | 1 + 1 file changed, 1 insertion(+) (limited to 'autoload.php') diff --git a/autoload.php b/autoload.php index 6baa2b851a8f..7bdfceb1c74d 100644 --- a/autoload.php +++ b/autoload.php @@ -1847,6 +1847,7 @@ $wgAutoloadLocalClasses = [ 'MediaWiki\\Parser\\Parsoid\\HtmlToContentTransform' => __DIR__ . '/includes/parser/Parsoid/HtmlToContentTransform.php', 'MediaWiki\\Parser\\Parsoid\\HtmlTransformFactory' => __DIR__ . '/includes/parser/Parsoid/HtmlTransformFactory.php', 'MediaWiki\\Parser\\Parsoid\\LanguageVariantConverter' => __DIR__ . '/includes/parser/Parsoid/LanguageVariantConverter.php', + 'MediaWiki\\Parser\\Parsoid\\LintErrorChecker' => __DIR__ . '/includes/parser/Parsoid/LintErrorChecker.php', 'MediaWiki\\Parser\\Parsoid\\PageBundleJsonTrait' => __DIR__ . '/includes/parser/Parsoid/PageBundleJsonTrait.php', 'MediaWiki\\Parser\\Parsoid\\PageBundleParserOutputConverter' => __DIR__ . '/includes/parser/Parsoid/PageBundleParserOutputConverter.php', 'MediaWiki\\Parser\\Parsoid\\ParsoidOutputAccess' => __DIR__ . '/includes/parser/Parsoid/ParsoidOutputAccess.php', -- cgit v1.2.3