aboutsummaryrefslogtreecommitdiffstats
path: root/autoload.php
diff options
context:
space:
mode:
authorKunal Mehta <legoktm@debian.org>2024-07-27 20:13:10 -0400
committerArlo Breault <abreault@wikimedia.org>2024-07-29 14:35:40 -0400
commit4d49a4a59ee9fd4fabf573ef352f764bbcc6d89e (patch)
tree22622c79d9f9a4f6ca51755de489cb515d050d62 /autoload.php
parent575cca8db1a8bcf960e7aafc0147afc1d52500eb (diff)
downloadmediawikicore-4d49a4a59ee9fd4fabf573ef352f764bbcc6d89e.tar.gz
mediawikicore-4d49a4a59ee9fd4fabf573ef352f764bbcc6d89e.zip
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
Diffstat (limited to 'autoload.php')
-rw-r--r--autoload.php1
1 files changed, 1 insertions, 0 deletions
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',