Go to file
Brooke Vibber ea186c1cee Add hidden lint missing-image-alt-text
Add support for new parsoid lint, missing-image-alt-text
Matches on images that don't have an alt text attribute at all
(empty alt attributes count as present).

Intended to make it easier to put workflows around these images,
including streamlined workflows for "microcontributions" in the
mobile apps.

As this has some impedence mismatch with usage of Special:LintErrors
this is marked as hidden (priority=none) so will not be displayed by
default, but has an enum value reserved for it and can be queried
explicitly.

Bug: T344378
Change-Id: I38cc1abbece3cca8155bec1f071b854027be0966
2024-05-29 19:03:41 -04:00
.phan Add phan 2019-03-08 22:11:29 +01:00
i18n Add hidden lint missing-image-alt-text 2024-05-29 19:03:41 -04:00
includes Add hidden lint missing-image-alt-text 2024-05-29 19:03:41 -04:00
maintenance Drop DatabaseFactory, just have Database as the service 2024-04-10 21:21:40 -04:00
modules Handle VisualEditor when it skips the "tempWikitextEditor" stage 2019-06-11 17:29:29 +02:00
sql Cleanup SchemaHooks and SQL files 2023-12-22 02:13:52 +00:00
tests/phpunit Inject Database into TotalsLookup 2024-04-11 12:24:42 -04:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-14 00:44:51 +00:00
.gitignore build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-03 16:06:08 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:02:51 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 40.0.1 2022-11-16 08:54:23 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-17 07:39:01 +00:00
composer.json build: Updating composer dependencies 2024-05-05 21:54:02 +00:00
COPYING Initial commit 2016-10-17 16:02:53 -07:00
extension.json Add hidden lint missing-image-alt-text 2024-05-29 19:03:41 -04:00
Gruntfile.js build: Updating dependencies 2021-01-30 03:48:34 +00:00
Linter.alias.php Linter: Add special page aliases for Chinese variants 2024-04-28 14:27:50 +08:00
package-lock.json build: Updating grunt-banana-checker to 0.13.0 2024-05-18 15:49:49 +00:00
package.json build: Updating grunt-banana-checker to 0.13.0 2024-05-18 15:49:49 +00:00
README Initial commit 2016-10-17 16:02:53 -07:00

Extension to help lint wiki pages. Currently designed to take advantage
of Parsoid's linter, could also be extended to linting JS or CSS in the
future.