mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-23 23:44:17 +00:00
fe6612e6ea
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 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
sql | ||
tests/phpunit | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
Linter.alias.php | ||
package-lock.json | ||
package.json | ||
README |
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.