mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-27 17:20:12 +00:00
Stop storing missing-image-alt-text lints
Bug: T370304 Change-Id: Ib473ddcc09c6c02e450a8664d21acbddaa7b2505
This commit is contained in:
parent
22d72078b4
commit
97060d06e8
|
@ -55,8 +55,8 @@ class RecordLintJob extends Job {
|
|||
// [ 'id' => LintError ]
|
||||
$errors = [];
|
||||
foreach ( $this->params['errors'] as $errorInfo ) {
|
||||
if ( $errorInfo['type'] === 'inline-media-caption' ) {
|
||||
// Drop lints of this type for now
|
||||
if ( in_array( $errorInfo['type'], [ 'inline-media-caption', 'missing-image-alt-text' ] ) ) {
|
||||
// Drop lints of these types for now
|
||||
continue;
|
||||
}
|
||||
$error = new LintError(
|
||||
|
|
Loading…
Reference in a new issue