Legoktm wrote:
Arlo and myself have been working on a new MediaWiki extension to expose Parsoid's "lint errors" to users.
[...]
The main advantage of this over tracking categories is that we know the location in the wikitext so it should be easier to identify the error and fix it, as well as knowing whether the issue was caused via a template or not.
Nice.
(I haven't read/skimmed any of the code yet.)
How will the errors be queried? Will be there an api.php module to query on a per-error or per-page basis?
Does the extension distinguish between errors and warnings? Are there gradations of errors? For example, deprecated syntax v. invalid syntax?
I wonder if the name "Linter" is overly generic. This extension will only activate on wikitext, correct? It won't lint other content models/types such as JavaScript and CSS?
MZMcBride