Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
BBC RussianHomePhabricator
Log In

MediaWiki-extensions-LinterComponent
ActivePublic

Members (4)

Watchers (7)

Details

Description

The Linter extension tracks lint errors from an external service. Currently the main use case is to track the errors identified by Parsoid and expose them to editors.

https://www.mediawiki.org/wiki/Extension:Linter

Recent Activity

Mon, Sep 2

Jonesey95 added a comment to T358818: Check MassMessages for Linter errors before sending.

I would hope and expect that
Wikimedia representatives would be diligent about heeding these warning messages (and about posting messages that use nonexistent templates). This feature request does not appear to have been implemented effectively and is causing volunteer gnomes to have to tidy up after message senders.

Mon, Sep 2, 8:29 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Essential-Work, Content-Transform-Team-WIP, Editing-team, MassMessage, MediaWiki-extensions-Linter
Gonnym added a comment to T358818: Check MassMessages for Linter errors before sending.

I imagine not everyone is going to understand how to fix all the issues

Mon, Sep 2, 5:21 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Essential-Work, Content-Transform-Team-WIP, Editing-team, MassMessage, MediaWiki-extensions-Linter

Fri, Aug 30

Izno moved T164009: Add a HTML5 validator to output of Special:Expandtemplates from To triage to Special:ExpandTemplates on the MediaWiki-Special-pages board.
Fri, Aug 30, 2:27 AM · MediaWiki-Special-pages, MediaWiki-extensions-Linter
Izno added a project to T164009: Add a HTML5 validator to output of Special:Expandtemplates: MediaWiki-Special-pages.
Fri, Aug 30, 2:27 AM · MediaWiki-Special-pages, MediaWiki-extensions-Linter

Tue, Aug 27

Jdlrobson closed T370435: New lint rule: Tables with background-color:#FFFFFF; as Declined.

Declining this for now. Seems like we should explore fixes without lints for now.

Tue, Aug 27, 8:38 PM · Web-Team-Backlog (Needs Prioritization (Tech)), MediaWiki-extensions-Linter, dark-mode

Sat, Aug 24

Pppery merged T373196: Lint error on maplink into T369282: Linter false positives caused by markup generated by <maplink> at the German Wikivoyage.
Sat, Aug 24, 3:14 AM · Content-Transform-Team, dark-mode, Maps (Kartographer), MediaWiki-extensions-Linter

Thu, Aug 22

ssastry closed T371142: Add a new "fostered-transparent" lint category for when all the fostered content in rendering transparent as Resolved.

https://en.wikipedia.org/wiki/Special:LintErrors/fostered-transparent now exists.

Thu, Aug 22, 8:46 PM · Patch-For-Review, Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter
MSantos removed a project from T334527: Allow registration of hidden lint rules: Content-Transform-Team-WIP.
Thu, Aug 22, 2:10 PM · MW-1.43-notes (1.43.0-wmf.3; 2024-04-30), Essential-Work, MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), MediaWiki-extensions-Linter

Mon, Aug 19

MSantos moved T367207: Add Linter database update maintenance scripts to the DatabaseUpdater for 3rd party use from In Progress to Backlog on the Content-Transform-Team-WIP board.
Mon, Aug 19, 3:22 PM · MW-1.43-release, Patch-For-Review, Essential-Work, Content-Transform-Team-WIP, MediaWiki-extensions-Linter
MSantos moved T371142: Add a new "fostered-transparent" lint category for when all the fostered content in rendering transparent from To Deploy to To Verify on the Content-Transform-Team-WIP board.
Mon, Aug 19, 3:09 PM · Patch-For-Review, Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter
cscott closed T358818: Check MassMessages for Linter errors before sending as Resolved.
Mon, Aug 19, 3:08 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Essential-Work, Content-Transform-Team-WIP, Editing-team, MassMessage, MediaWiki-extensions-Linter
gerritbot added a comment to T371142: Add a new "fostered-transparent" lint category for when all the fostered content in rendering transparent.

Change #1063811 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.20.0-a17

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

Mon, Aug 19, 2:32 PM · Patch-For-Review, Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter
gerritbot added a comment to T369317: False positive Linter "fostered content" errors apparently caused by noinclude tags.

Change #1063811 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.20.0-a17

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

Mon, Aug 19, 2:32 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Essential-Work, Content-Transform-Team-WIP, MediaWiki-extensions-Linter
gerritbot added a project to T369317: False positive Linter "fostered content" errors apparently caused by noinclude tags: Patch-For-Review.
Mon, Aug 19, 1:53 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Essential-Work, Content-Transform-Team-WIP, MediaWiki-extensions-Linter
gerritbot added a comment to T369317: False positive Linter "fostered content" errors apparently caused by noinclude tags.

Change #1063811 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.20.0-a17

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

Mon, Aug 19, 1:53 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Essential-Work, Content-Transform-Team-WIP, MediaWiki-extensions-Linter
gerritbot added a project to T371142: Add a new "fostered-transparent" lint category for when all the fostered content in rendering transparent: Patch-For-Review.
Mon, Aug 19, 1:53 PM · Patch-For-Review, Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter
gerritbot added a comment to T371142: Add a new "fostered-transparent" lint category for when all the fostered content in rendering transparent.

Change #1063811 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.20.0-a17

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

Mon, Aug 19, 1:53 PM · Patch-For-Review, Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter

Fri, Aug 16

Maintenance_bot removed a project from T371142: Add a new "fostered-transparent" lint category for when all the fostered content in rendering transparent: Patch-For-Review.
Fri, Aug 16, 8:31 PM · Patch-For-Review, Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter
Maintenance_bot removed a project from T369317: False positive Linter "fostered content" errors apparently caused by noinclude tags: Patch-For-Review.
Fri, Aug 16, 8:30 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Essential-Work, Content-Transform-Team-WIP, MediaWiki-extensions-Linter
ABreault-WMF moved T371142: Add a new "fostered-transparent" lint category for when all the fostered content in rendering transparent from Code Review to To Deploy on the Content-Transform-Team-WIP board.
Fri, Aug 16, 8:06 PM · Patch-For-Review, Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter
gerritbot added a comment to T371142: Add a new "fostered-transparent" lint category for when all the fostered content in rendering transparent.

Change #1054409 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Emit fostered rendering transparent lints as a separate category

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

Fri, Aug 16, 7:53 PM · Patch-For-Review, Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter
gerritbot added a comment to T369317: False positive Linter "fostered content" errors apparently caused by noinclude tags.

Change #1054409 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Emit fostered rendering transparent lints as a separate category

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

Fri, Aug 16, 7:53 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Essential-Work, Content-Transform-Team-WIP, MediaWiki-extensions-Linter
ABreault-WMF added a comment to T358818: Check MassMessages for Linter errors before sending.

It is deployed but, as mentioned in T358818#9933093, there are two caveats,

Fri, Aug 16, 6:25 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Essential-Work, Content-Transform-Team-WIP, Editing-team, MassMessage, MediaWiki-extensions-Linter
Jonesey95 reopened T358818: Check MassMessages for Linter errors before sending as "Open".

When is this fix going to be deployed? This mass message arrived in the past 24 hours with a Linter "bogus image options" error in it:

Fri, Aug 16, 5:53 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Essential-Work, Content-Transform-Team-WIP, Editing-team, MassMessage, MediaWiki-extensions-Linter

Thu, Aug 15

MSantos moved T331883: Cleanup linter code usage of params field during recordLintJob from Backlog to Needs Investigation on the Content-Transform-Team-WIP board.
Thu, Aug 15, 2:16 PM · MW-1.43-release, MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Patch-For-Review, Essential-Work, Content-Transform-Team-WIP, MediaWiki-extensions-Linter

Tue, Aug 13

Jonesey95 created T372434: "<center>200px" not detected as Linter "bogus file option".
Tue, Aug 13, 8:25 PM · MediaWiki-extensions-Linter

Thu, Aug 8

ABreault-WMF placed T367207: Add Linter database update maintenance scripts to the DatabaseUpdater for 3rd party use up for grabs.
Thu, Aug 8, 8:25 PM · MW-1.43-release, Patch-For-Review, Essential-Work, Content-Transform-Team-WIP, MediaWiki-extensions-Linter
ABreault-WMF placed T331883: Cleanup linter code usage of params field during recordLintJob up for grabs.
Thu, Aug 8, 8:24 PM · MW-1.43-release, MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Patch-For-Review, Essential-Work, Content-Transform-Team-WIP, MediaWiki-extensions-Linter
ABreault-WMF placed T361081: Fix Special:LintErrors to use standard Title selector widget up for grabs.
Thu, Aug 8, 8:23 PM · MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), MediaWiki-extensions-Linter
ABreault-WMF placed T165538: Need a mechanism / process to purge invalid / stale entries from the Linter database up for grabs.
Thu, Aug 8, 8:22 PM · Essential-Work, MediaWiki-extensions-Linter
ABreault-WMF placed T170874: Provide additional Linter statistics about template-generated issues up for grabs.
Thu, Aug 8, 8:22 PM · MediaWiki-extensions-Linter
ABreault-WMF placed T311286: Not always possible to sort table by headings on Special:LintErrors up for grabs.
Thu, Aug 8, 8:21 PM · MediaWiki-extensions-Linter
ABreault-WMF placed T151282: Linter: Improve sorting up for grabs.
Thu, Aug 8, 8:21 PM · MediaWiki-extensions-Linter
ABreault-WMF placed T274382: Make File syntax processing match the specification and documentation up for grabs.
Thu, Aug 8, 8:20 PM · Parsoid, MediaWiki-extensions-Linter
Jgiannelos moved T371073: wikitext/to/lint API is returning an empty array for night-mode-unaware-background-color lint errors from Needs Triage to Linting on the Parsoid board.
Thu, Aug 8, 2:27 PM · Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter, Parsoid
Jgiannelos added a comment to T371073: wikitext/to/lint API is returning an empty array for night-mode-unaware-background-color lint errors.

Should we close this one after https://phabricator.wikimedia.org/T371134 ?

Thu, Aug 8, 2:27 PM · Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter, Parsoid
SLopes-WMF removed a project from T371142: Add a new "fostered-transparent" lint category for when all the fostered content in rendering transparent: Parsoid.
Thu, Aug 8, 2:20 PM · Patch-For-Review, Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter

Aug 1 2024

cscott closed T361411: Parsoid lints should be added to ParserOutput as Declined.

Our current thinking is that we want lints to be more asynchronous, not less, because of issues like the recent write overload from the empty-alt-text lint. This task would be part of making lints always-synchronous. Since (at the moment) we're not going that direction, I'm going to resolve this task as declined. We can always reopen if we switch directions.

Aug 1 2024, 2:29 PM · Content-Transform-Team, MediaWiki-extensions-Linter
cscott closed T361411: Parsoid lints should be added to ParserOutput, a subtask of T341659: Please report linter-errors in parse-API too, as Declined.
Aug 1 2024, 2:29 PM · MediaWiki-extensions-Linter
cscott closed T361411: Parsoid lints should be added to ParserOutput, a subtask of T361413: Parsoid should perhaps use LinkUpdate job for lints instead of special Linter API/Hook, as Declined.
Aug 1 2024, 2:29 PM · Content-Transform-Team-WIP, MediaWiki-extensions-Linter
MSantos removed projects from T170874: Provide additional Linter statistics about template-generated issues: Essential-Work, Content-Transform-Team-WIP.
Aug 1 2024, 2:14 PM · MediaWiki-extensions-Linter
MSantos removed a project from T165538: Need a mechanism / process to purge invalid / stale entries from the Linter database: Content-Transform-Team-WIP.

It seems we have an interim solution with the script. Removing this from WIP unless someone is working on it.

Aug 1 2024, 2:14 PM · Essential-Work, MediaWiki-extensions-Linter

Jul 31 2024

Jgiannelos closed T371376: Linter related error on PCS tests: Cannot use object of type stdClass as array as Resolved.
Jul 31 2024, 7:53 AM · MediaWiki-extensions-Linter, RESTBase, Page Content Service
Legoktm added a comment to T371073: wikitext/to/lint API is returning an empty array for night-mode-unaware-background-color lint errors.

This was reverted as part of T371376: Linter related error on PCS tests: Cannot use object of type stdClass as array, the Linter extension was expecting it to be an array so need to rethink how to implement this.

Jul 31 2024, 12:40 AM · Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter, Parsoid
Legoktm added a comment to T370624: Reduce concurrency of RecordLintJobs or shard it per section.

Yeah, grep for partitioned_jobs_config in helm deployment charts.

Jul 31 2024, 12:32 AM · RESTBase Sunsetting, Content-Transform-Team-WIP, MediaWiki-extensions-Linter

Jul 30 2024

Stashbot added a comment to T371376: Linter related error on PCS tests: Cannot use object of type stdClass as array.

Mentioned in SAL (#wikimedia-operations) [2024-07-30T18:31:29Z] <brennen@deploy1003> Finished scap: Backport for [[gerrit:1058211|Bump wikimedia/parsoid to 0.20.0-a16 (T371376 T371126)]] (duration: 08m 54s)

Jul 30 2024, 6:31 PM · MediaWiki-extensions-Linter, RESTBase, Page Content Service
Stashbot added a comment to T371376: Linter related error on PCS tests: Cannot use object of type stdClass as array.

Mentioned in SAL (#wikimedia-operations) [2024-07-30T18:24:49Z] <brennen@deploy1003> brennen, cscott: Backport for [[gerrit:1058211|Bump wikimedia/parsoid to 0.20.0-a16 (T371376 T371126)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Jul 30 2024, 6:25 PM · MediaWiki-extensions-Linter, RESTBase, Page Content Service
Stashbot added a comment to T371376: Linter related error on PCS tests: Cannot use object of type stdClass as array.

Mentioned in SAL (#wikimedia-operations) [2024-07-30T18:22:35Z] <brennen@deploy1003> Started scap sync-world: Backport for [[gerrit:1058211|Bump wikimedia/parsoid to 0.20.0-a16 (T371376 T371126)]]

Jul 30 2024, 6:24 PM · MediaWiki-extensions-Linter, RESTBase, Page Content Service
Maintenance_bot removed a project from T371376: Linter related error on PCS tests: Cannot use object of type stdClass as array: Patch-For-Review.
Jul 30 2024, 5:30 PM · MediaWiki-extensions-Linter, RESTBase, Page Content Service
gerritbot added a comment to T371376: Linter related error on PCS tests: Cannot use object of type stdClass as array.

Change #1058205 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.20.0-a16

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

Jul 30 2024, 5:17 PM · MediaWiki-extensions-Linter, RESTBase, Page Content Service