Commit graph

1332 commits

Author SHA1 Message Date
Umherirrender ad1e665d5b Use namespaced classes
Changes to the use statements done automatically via script

Change-Id: I2883f6ccb1b3019cddcc2c957d022acf2d5c0ff7
2024-10-20 09:25:08 +02:00
jenkins-bot a6f9c364bf Merge "SpecialLintErrors: Reduce code always run in findNamespace" 2024-10-18 23:47:44 +00:00
Translation updater bot 2bbc24e9bb
Localisation updates from https://translatewiki.net.
Change-Id: Id764a7d1287e488b7e846c9b2f756e1a6557e661
2024-10-17 09:22:06 +02:00
jenkins-bot 724f836b1b Merge "Wire migration scripts to SchemaHooks" 2024-10-16 23:33:51 +00:00
Translation updater bot 4029d93e77
Localisation updates from https://translatewiki.net.
Change-Id: I12938847994a830db80c402ed2e2023edcc0b592
2024-10-15 09:41:25 +02:00
Reedy e352f39fc3 SpecialLintErrors: Reduce code always run in findNamespace
Array filtering/manipulation is only useful if wpNamespaceRestrictions is set and a useable value,
so only manipulate canonical namespace list if we're going to use it

Change-Id: Ib6d0884f396ca6e0b32817d9b4b90a0de36ba707
2024-10-14 20:28:16 +00:00
Reedy 61152ae1ac maintenance: Minor cleanup
* Call non static functions non statically
* Remove unused getConfig() call

Change-Id: I36d618c1f070b303c6d50966b23979d31fa8266a
2024-10-14 14:44:36 +00:00
Reedy f80076f5aa SpecialLintErrors: Fix phan failure due to MW core change
Caused by 7be5a303d162ad525e69fa57820ac6108ce175b2

Bug: T377145
Change-Id: Id9cd01a392ef620aecac6254f643c53a8f94a8c3
2024-10-14 15:43:39 +01:00
Translation updater bot 5faac3fe93
Localisation updates from https://translatewiki.net.
Change-Id: Ie8186f650c7d177cde02f2763dcab77dda3e09c4
2024-10-14 09:29:25 +02:00
Isabelle Hurbain-Palatin 165354ab91 Wire migration scripts to SchemaHooks
Add MigrateNamespace and MigrateTagTemplate as post database update
maintenance operations.

Bug: T367207
Change-Id: I7676f9ce4bef59febc463d897cb26d47347a3968
2024-10-10 13:52:30 +02:00
jenkins-bot 135d32579d Merge "Use ParserOutputAccess for LintUpdate job" 2024-10-08 21:36:05 +00:00
Translation updater bot 9d5c586377
Localisation updates from https://translatewiki.net.
Change-Id: Ia871bacfe7ef5b4076e2c5875f457ac16d79da84
2024-10-04 09:21:39 +02:00
Translation updater bot e5a66c3c63
Localisation updates from https://translatewiki.net.
Change-Id: I01f76be2fc11f97c57e83f83dfa16f07fcc9cc4d
2024-10-03 09:17:07 +02:00
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