Review and deploy Linter extension to Wikimedia wikis
Open, NormalPublic

Subscribers
Tokens
"100" token, awarded by RandomDSdevel."Like" token, awarded by Liuxinyu970226."Like" token, awarded by Luke081515."Love" token, awarded by He7d3r."Like" token, awarded by Ladsgroup."Like" token, awarded by MarcoAurelio.
Assigned To
None
Authored By
Legoktm, Oct 19 2016

Description

Parsoid has a linter that can identify common errors in wikitext (deprecated elements, fostered content, bad image options, etc.). The Linter extension collects them in a database table, and surfaces them to users. It additionally has some small client-side JS that highlights the section of wikitext with the error to make it easier for editors to fix.

Legoktm created this task.Oct 19 2016, 6:51 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 19 2016, 6:51 AM
Ladsgroup added a subscriber: Ladsgroup.
JJMC89 added a subscriber: JJMC89.Oct 22 2016, 8:01 AM
He7d3r added a subscriber: He7d3r.
MZMcBride edited the task description. (Show Details)Oct 26 2016, 4:25 AM
MZMcBride added a subscriber: MZMcBride.
Ltrlg added a subscriber: Ltrlg.Nov 26 2016, 12:49 AM
NicoV added a subscriber: NicoV.Dec 2 2016, 6:50 AM
Elitre added a subscriber: Elitre.Dec 2 2016, 4:09 PM

Change 332003 had a related patch set uploaded (by Legoktm):
make-wmf-branch: Add Linter

https://gerrit.wikimedia.org/r/332003

Change 332003 merged by jenkins-bot:
make-wmf-branch: Add Linter

https://gerrit.wikimedia.org/r/332003

Mentioned in SAL (#wikimedia-operations) [2017-03-08T21:39:36Z] <legoktm@tin> Synchronized wmf-config/InitialiseSettings.php: Enable Linter on testwiki - T148609 (1/2) (duration: 00m 44s)

Mentioned in SAL (#wikimedia-operations) [2017-03-08T21:41:25Z] <legoktm@tin> Synchronized wmf-config/CommonSettings.php: Enable Linter on testwiki - T148609 (2/2) (duration: 00m 41s)

Change 342874 had a related patch set uploaded (by Legoktm):
[operations/mediawiki-config] Deploy Linter to group0 and small wikis

https://gerrit.wikimedia.org/r/342874

Change 342874 merged by jenkins-bot:
[operations/mediawiki-config] Deploy Linter to group0 and small wikis

https://gerrit.wikimedia.org/r/342874

Mentioned in SAL (#wikimedia-operations) [2017-03-15T18:25:16Z] <legoktm@tin> Synchronized wmf-config/InitialiseSettings.php: Deploy Linter to group0 and small wikis - T148609 (duration: 00m 42s)

Johan added a subscriber: Johan.Thu, Mar 16, 3:53 PM

This has been marked for inclusion in Tech News. A few questions:

a) What's the timeline, both for group0 and small wikis (in .17? .18?) and larger wikis?

b) Do we have a specific definition of small wikis in this case?

c) Would something like the text below make sense? (To be edited somewhat depending on the answers to the questions above.)

The Linter extension is now on smaller Wikimedia wikis. It helps editors find common wikitext errors so they can be fixed. It will come to other Wikimedia wikis later.

@Johan:

  • since yesterday all wikis in small.dblist and group0.dblist have this extension enabled.
  • the definition of small wiki is probably that the wiki is listed in the small.dblist database.
  • text looks okay to me, although I'd prefer if @Legoktm could give the green light.

Regards.

This has been marked for inclusion in Tech News. A few questions:

The Linter extension is now on smaller Wikimedia wikis. It helps editors find common wikitext errors so they can be fixed. It will come to other Wikimedia wikis later.

It is better and more accurate to say "find some wikitext errors" instead of "common wikitext errors". We don't find all common wikitext errors yet. If possible, you could add an additional line that says: "This list of errors will be expanded as we gain more experience with this extension.". @Legoktm thoughts?

This has been marked for inclusion in Tech News. A few questions:

a) What's the timeline, both for group0 and small wikis (in .17? .18?) and larger wikis?

I was aiming for medium wikis this week, but since the train is delayed it might be next week too.

b) Do we have a specific definition of small wikis in this case?

https://noc.wikimedia.org/conf/highlight.php?file=small.dblist

c) Would something like the text below make sense? (To be edited somewhat depending on the answers to the questions above.)

The Linter extension is now on smaller Wikimedia wikis. It helps editors find common wikitext errors so they can be fixed. It will come to other Wikimedia wikis later.

What Subbu said about just some wikitext errors. The current list is on https://www.mediawiki.org/wiki/Help:Extension:Linter so you could link to that.