Hi, On 10/24/2016 06:42 AM, MZMcBride wrote: > How will the errors be queried? Will be there an api.php module to query > on a per-error or per-page basis?
Yes, per-error is implemented, and I've also implemented per-namespace filtering, but not per-page yet. > Does the extension distinguish between errors and warnings? Are there > gradations of errors? For example, deprecated syntax v. invalid syntax? Not really. Each category has a name like "obsolete-tag" or "bogus-image-options", and that's about it. > 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? The Linter extension doesn't care about that at all - it gets told about errors from Parsoid (or any whitelisted service) stores them, and displays them to users. So if someone set up a JSCS service or something to provide errors about JavaScript pages, we could hook up that to Linter. (There's currently only one line of code in Linter that's Parsoid-specific). -- Legoktm _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
