Hi,
On Thu, Jul 6, 2017 at 5:53 PM, Subramanya Sastry <ssastry(a)wikimedia.org>
wrote:
3. How feasible would it be to build bots to make 90%
of high priority
fixes and 90% of all fixes?
Since the start of the Linter project (when we started off with the GSoC
prototype in summer of 2014, and once again when Kunal picked it up in
2016), we have been in conversation with Nico V (frwiki and who maintains
WPCleaner) and with Marios Magioladitis and Bryan White (Checkwiki) to
integrate the output with their projects / tools. On Nico's request, we
have added API endpoints to Linter, Parsoid, and RESTBase so that the tool
can programmatically fetch linter issues, and let editors / bots fix them
appropriately.
I'm happy to announce that I have just released WPCleaner[1] version 1.43
which brings a better integration which the Linter extension.
It's a first step, but I hope it can already help in fixing errors reported
by Linter.
The features related to the Linter extension are the following:
- On the main WPCleaner window, there's a "Linter categories" button
which gives the list of categories that Linter is detecting. Clicking on
one of the categories returns the list of pages detected by Linter for this
category. From the list of pages, you can go to the full analysis window
for the pages that you want to fix.
- On the Full Analysis window, the second button with a globe and a
broom (Subbu, would you have a recommended icon for Linter related stuff ?)
allows to retrieve the list of errors still detected by Linter on the
current text: for each error, there's a magnifying glass that brings you to
the location of the error in the text. You can then fix errors and check if
Linter still finds something in your current version.
- On the Check Wiki window, there's a similar button
Subbu, I have a question about the result returned by the API to transform
wikitext to lint : in the "dsr" fields, what is the meaning of the 4th
value? (the first one is the beginning of the error, the second one is the
end of the error, the third one is the length of the error...)
Nico
[1]
https://en.wikipedia.org/wiki/Wikipedia:WPCleaner