Commit graph

1319 commits

Author SHA1 Message Date
C. Scott Ananian e6a510fbed Use ParserOutputAccess for LintUpdate job
This avoids a duplicate parse with DiscussionTools (T376325) and also
reduces some redundancy by using the metrics-gathering code from
ParserOutput instead of having to clone it here.  Finally, it allows
the parse to use the output of a previous parse for selective
update.

Bug: T376325
Follows-Up: I64a4556a74da4f735a5b562070c21310ecda36d1
Change-Id: I11386e307caaa9fce34870b08bd4dce4c5e6eb25
2024-10-02 20:06:15 -04:00
Translation updater bot 2c0f27bea2
Localisation updates from https://translatewiki.net.
Change-Id: I7fdaeae362e607c78aeecc28e7baf25df805bc19
2024-10-02 09:24:18 +02:00
Translation updater bot 10e0ee00c9
Localisation updates from https://translatewiki.net.
Change-Id: I01d890091ccb3cd9e4268ef86bddfd3eb6958b5a
2024-10-01 09:37:52 +02:00
Translation updater bot eb49b543b2
Localisation updates from https://translatewiki.net.
Change-Id: I46671e8945b8032485d270c8a3cc2c35378cda90
2024-09-30 09:21:23 +02:00
jenkins-bot 27b5eaeaf8 Merge "Collect selective update statistics from LintUpdate job" 2024-09-27 19:01:52 +00:00
jenkins-bot 75cd94bc4f Merge "LintUpdate: use content handler instead of directly invoking ParsoidParser" 2024-09-27 19:01:51 +00:00
Arlo Breault 9bb5f7af97 Change capitalization of duplicate IDs
Bug: T200517
Change-Id: If7a15b5c6c7405465ab3197c9779fdc091d961ee
2024-09-26 19:47:12 -04:00
Translation updater bot 60df2687bd
Localisation updates from https://translatewiki.net.
Change-Id: I847deee2b449f3e92b64cf9c2200338d3f258f0e
2024-09-26 09:20:10 +02:00
Translation updater bot 090cc0d7e0
Localisation updates from https://translatewiki.net.
Change-Id: Ifaae9d2b0a7634df8ef42020b77822a43e3bac1b
2024-09-25 09:18:10 +02:00
Translation updater bot fdd5f76d6e
Localisation updates from https://translatewiki.net.
Change-Id: If38e6d832dea5f8df3a75aa2b15a551416e52739
2024-09-23 09:21:53 +02:00
Translation updater bot 3db989f005
Localisation updates from https://translatewiki.net.
Change-Id: I4fcd9200604eb7c76325f09ce7ad08c433c3adf6
2024-09-20 09:23:48 +02:00
C. Scott Ananian 0937838f1e Collect selective update statistics from LintUpdate job
This ensures that all parsoid parses are accounted for in our
statistics.  In the future we might want to query the cache for
an existing 'dirty' parse in this codepath to potentially allow
for selective update, but for now assume that selective updates
are not possible here.

Bug: T371713
Depends-On: I5b8c7ab48d5a1d6c1e311149fcac6abdc523aa13
Change-Id: I391e928175f60a1ff2e5c181e20ed72efe4dfd66
2024-09-19 14:00:48 -04:00
Arlo Breault 0dad8f46b0 Add a "duplicate-ids" lint category
Bug: T200517
Change-Id: Ifc3aeb167de8ef1c9a686919408d1d6fbd85c581
2024-09-17 19:43:44 -04:00
C. Scott Ananian ba41d323f9 LintUpdate: use content handler instead of directly invoking ParsoidParser
We don't need to directly handle the ParsoidParserFactory in the
LintUpdate job; use the existing ContentHandler pathways to reduce
dependencies.

Change-Id: I64a4556a74da4f735a5b562070c21310ecda36d1
2024-09-17 16:44:37 -04:00
Translation updater bot e045162e23
Localisation updates from https://translatewiki.net.
Change-Id: I8b24c3c654ba447fe3729f3a0d6133dec109fb14
2024-09-13 09:18:14 +02:00
Translation updater bot 925261319d
Localisation updates from https://translatewiki.net.
Change-Id: Iec8de302459be6643dd52dba2a439e5302c7a308
2024-09-10 09:30:05 +02:00
Translation updater bot e571f59abe
Localisation updates from https://translatewiki.net.
Change-Id: Ic5b832b5d8761500c956072c44af4c7af974f03b
2024-09-09 09:22:43 +02:00
Translation updater bot 412d3b1ae5
Localisation updates from https://translatewiki.net.
Change-Id: I26b2fad159e7786505f180b80d5925d4be742a34
2024-09-06 09:40:01 +02:00
Translation updater bot 4f7b202bf3
Localisation updates from https://translatewiki.net.
Change-Id: Ib2cc39b4a303ad13deac203a47cead254adfb162
2024-09-05 09:24:56 +02:00
Translation updater bot 32eeadc931
Localisation updates from https://translatewiki.net.
Change-Id: Ie6278bc2985ba72df53b2723657d6e36ff4d28e9
2024-09-03 09:32:54 +02:00
Translation updater bot dcba4155ee
Localisation updates from https://translatewiki.net.
Change-Id: I6a8f4ec5e92c4fdc44e4114aa5c61a75f710111e
2024-09-02 09:20:59 +02:00
Translation updater bot 1d665c54c2
Localisation updates from https://translatewiki.net.
Change-Id: I470374794aa8048b3449877409355e7d47828d7b
2024-08-29 09:18:03 +02:00
Translation updater bot 62cde71f6d
Localisation updates from https://translatewiki.net.
Change-Id: I81d2c6ff053d34bfe7b8c4e77d08a49496178316
2024-08-28 09:38:49 +02:00
jenkins-bot 6899bf5f67 Merge "build: Update MediaWiki requirement to 1.43" 2024-08-24 12:40:17 +00:00
libraryupgrader 00dd4326eb build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I1c05371ca09a8be9bc58e68acd70acc3e64b3502
2024-08-24 06:21:55 +00:00
James D. Forrester 95686b4e7d build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I098a7fd0e99412cffa22bc55bde960d6c2a3af35
2024-08-22 17:37:43 -04:00
Translation updater bot 6cac54d602
Localisation updates from https://translatewiki.net.
Change-Id: Ia3721a9f45ab4191446cbd6c9f36e6a5a9ffaaaa
2024-08-19 09:23:51 +02:00
Translation updater bot 33e3e77d7a
Localisation updates from https://translatewiki.net.
Change-Id: I155afb852610ff92e79e157d83edc5d2160cecfa
2024-08-16 09:28:36 +02:00
Translation updater bot f016bc7be0
Localisation updates from https://translatewiki.net.
Change-Id: I1603eb46cf69919e3efd80e1d000fd85ea129d62
2024-08-15 09:20:41 +02:00
Translation updater bot a9a6ea91e5
Localisation updates from https://translatewiki.net.
Change-Id: I2f2a31b75cff8f55692102759a52ed75e844f659
2024-08-13 09:51:19 +02:00
Bartosz Dziewoński 539946a92a Remove some redundant checks
$sleep must already be an integer (due to type hints).

Change-Id: I468ea23cafd2706bdeb23676d8aab85daa09a599
2024-08-12 23:04:28 +02:00
libraryupgrader f8909a36da build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: I8543f3046580666401e872c2abfaf0df1c99563f
2024-08-11 19:33:50 +00:00
Translation updater bot a775405867
Localisation updates from https://translatewiki.net.
Change-Id: I5e0a5d7e98b864d21672dbace4ab1e204827252a
2024-08-09 09:35:33 +02:00
Translation updater bot 703c99e0ad
Localisation updates from https://translatewiki.net.
Change-Id: I3e43989a2a38ec3fcb5d32a68163f5232f5eb8f4
2024-08-07 09:24:17 +02:00
Translation updater bot bafb624625
Localisation updates from https://translatewiki.net.
Change-Id: Ife20442a63acd8edbf76571072c659d2e6022060
2024-08-06 09:47:34 +02:00
Translation updater bot dd74796af4
Localisation updates from https://translatewiki.net.
Change-Id: Ica50be6711c801c3e004c4d41001b6b566877217
2024-08-05 09:25:17 +02:00
Translation updater bot 8368180604
Localisation updates from https://translatewiki.net.
Change-Id: I133c4e5e7445cb7099d161b171346866a8a463d1
2024-08-01 09:18:37 +02:00
Translation updater bot 2fa9d04cea
Localisation updates from https://translatewiki.net.
Change-Id: I9f6b6f8afc5d4e3a0dfae16dc7cafa408517b119
2024-07-31 09:22:58 +02:00
Arlo Breault 7847bbde58 Add a hyphen to rendering-transparent
Change-Id: Ifacd67304c429dae0bb4a552314dcbc4fd175a84
2024-07-29 17:38:30 -04:00
Translation updater bot cd2a2bdd09
Localisation updates from https://translatewiki.net.
Change-Id: I79f249322206c10476720f0036f38a7f2f5cd2e7
2024-07-29 09:27:30 +02:00
jenkins-bot 9f089f122b Merge "Add a "fostered-transparent" lint category" 2024-07-27 00:36:19 +00:00
Arlo Breault fe6612e6ea Add a "fostered-transparent" lint category
Historically, Parsoid would suppress emitting lints for fostered content
that was purely rendering transparent since it's common to put include
directives, categories, etc in fosterable position and it made no
difference to rendering.

However, clients like DiscussionTools can benefit from this knowledge,
especially outside of templated content where it could result in edit
corruptions.

A separate category is used to avoid disrupting the work of editors
cleaning up lints in the "fostered" category, as in T369317.

Bug: T371142
Bug: T290936
Bug: T369317
Change-Id: I3519d86898df262eaea1a3303130453497ff27aa
2024-07-26 16:41:59 -04:00
jenkins-bot f35e29b6ea Merge "Drop disabled lints" 2024-07-26 20:25:43 +00:00
Translation updater bot c41c96c243
Localisation updates from https://translatewiki.net.
Change-Id: I63fb990bc1b795a7c000431624598967fca90c47
2024-07-26 09:45:31 +02:00
Arlo Breault ed8e449e13 Drop disabled lints
Covered by RecordLintJobTest::testDropInlineMediaCaptionLints

Change-Id: I564389ec9bd20cf36ec7a9bf96b1aebf7777cbbc
2024-07-25 11:29:36 -04:00
Translation updater bot 648b48f283
Localisation updates from https://translatewiki.net.
Change-Id: I416db756563467769f18e5da25ecb9da0be0692b
2024-07-25 09:19:26 +02:00
Translation updater bot cb7e062472
Localisation updates from https://translatewiki.net.
Change-Id: I9060fe5ac489a32a8c1c32c9659e3403f6680a98
2024-07-24 09:23:11 +02:00
Translation updater bot 0071a8d5c7
Localisation updates from https://translatewiki.net.
Change-Id: I57ac7c6d74a572b2a1474162c2eb7fcd40c79f9a
2024-07-23 09:46:00 +02:00
Amir Sarabadani 388106b0a4 Stop storing missing-image-alt-text lints
Bug: T370304
Change-Id: Ib473ddcc09c6c02e450a8664d21acbddaa7b2505
2024-07-22 02:59:21 +02:00
Brooke Vibber 8ec69f87aa Disable missing-image-alt-text lint
It's not actively used at this time and it's causing a lot of writes,
affecting production. Disabling it should be harmless and reduce load.

Bug: T370304
Change-Id: I2170f657088993dd3fb81a9601284d3af7fc1883
2024-07-21 21:56:38 +00:00