After reading through the WP:CHECKWIKI list of errors (T152817), I think it would be a good idea to have different levels of severity for linter categories. @MZMcBride also suggested this on wikitech-l: https://lists.wikimedia.org/pipermail/wikitech-l/2016-October/086855.html
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add severity for error categories | mediawiki/extensions/Linter | master | +98 -18 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Legoktm | T153056 Linter: Support API query for getting the list of categories | |||
Resolved | Legoktm | T152822 Linter: introduce severity level for error categories |
Event Timeline
Comment Actions
Python's flake8 has a pretty neat categorization system using W, E, and F with positive integers. It might be too technical to emulate directly, but perhaps it'll provide some inspiration for a similar system.
Comment Actions
For now I think just 'error' and 'warning' should be good enough? We can add more levels as needed.
Comment Actions
Change 327410 had a related patch set uploaded (by Legoktm):
Add severity for error categories