Go to file
Arlo Breault fe6612e6ea Add a "fostered-transparent" lint category
Historically, Parsoid would suppress emitting lints for fostered content
that was purely rendering transparent since it's common to put include
directives, categories, etc in fosterable position and it made no
difference to rendering.

However, clients like DiscussionTools can benefit from this knowledge,
especially outside of templated content where it could result in edit
corruptions.

A separate category is used to avoid disrupting the work of editors
cleaning up lints in the "fostered" category, as in T369317.

Bug: T371142
Bug: T290936
Bug: T369317
Change-Id: I3519d86898df262eaea1a3303130453497ff27aa
2024-07-26 16:41:59 -04:00
.phan Add phan 2019-03-08 22:11:29 +01:00
i18n Add a "fostered-transparent" lint category 2024-07-26 16:41:59 -04:00
includes Stop storing missing-image-alt-text lints 2024-07-22 02:59:21 +02:00
maintenance Remove linter tag and template dual mode config and code 2024-06-14 15:40:47 -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 Remove linter tag and template dual mode config and code 2024-06-14 15:40:47 -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 a "fostered-transparent" lint category 2024-07-26 16:41:59 -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 eslint-config-wikimedia to 0.28.2 2024-06-22 07:16:08 +00:00
package.json build: Updating eslint-config-wikimedia to 0.28.2 2024-06-22 07:16:08 +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.