Commit graph

1348 commits

Author SHA1 Message Date
Aaron Schulz bfb4ef65b5 Convert onRevisionFromEditComplete handler to DomainEvents
Bug: T378937
Depends-On: I34c7aca80cfa96306e2c350a5f9bc723713b98c3
Change-Id: I020038da7c02d6c62071cdb3b572a527cee8fbd2
2024-11-22 22:04:42 +00:00
Translation updater bot 9cf7c4d30b
Localisation updates from https://translatewiki.net.
Change-Id: I463fa89922407f073c79354bd4e45ef54d814c48
2024-11-22 08:42:01 +01:00
libraryupgrader 34d2414c19 build: Updating cross-spawn to 7.0.6
* https://github.com/advisories/GHSA-3xgq-45jj-v275

Change-Id: I19795ad26e78b05c9b083e4790e28f5bf780f0ba
2024-11-21 05:30:53 +00:00
Translation updater bot 827bc8d0ce
Localisation updates from https://translatewiki.net.
Change-Id: I0550b3eece2ac86837c5773dc26246e85b4d01f0
2024-11-19 08:18:09 +01:00
Translation updater bot 5d7169791d
Localisation updates from https://translatewiki.net.
Change-Id: I6984f2dd326de1d9f3ae94805241768b57de1671
2024-11-06 08:23:05 +01:00
Translation updater bot ed5fca5d0c
Localisation updates from https://translatewiki.net.
Change-Id: I9f3d8b0e8306d47cf7a7e58a5cedd974dbf7f2dd
2024-11-04 08:22:25 +01:00
libraryupgrader 1e0cdc4b25 build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: I5e425d301448444e1685968470760947bc2898f8
2024-11-02 19:01:06 +00:00
Translation updater bot 13c2bb86a8
Localisation updates from https://translatewiki.net.
Change-Id: Id96fca2918e97a6e01d1eb4849abc40734f386d3
2024-11-01 08:36:04 +01:00
Arlo Breault 1094dbfbff Break up long words in the lint errors tables
Bug: T375800
Change-Id: If75ef4068c0509e146036d0f138954651703678b
2024-10-31 13:04:21 -04:00
Translation updater bot 71f1f3372a
Localisation updates from https://translatewiki.net.
Change-Id: Ib07a9162df1bf60925bd0b53456326dea917948f
2024-10-30 08:23:54 +01:00
Translation updater bot 8279bee27e
Localisation updates from https://translatewiki.net.
Change-Id: I867b21b913f4ed99eeab5094ca7a2d43a34319f8
2024-10-28 08:23:14 +01:00
Andre Klapper 1983629a09 Use explicit nullable type on parameter arguments (for PHP 8.4)
Implicitly marking parameter $... as nullable is deprecated in PHP
8.4. The explicit nullable type must be used instead.

Bug: T376276
Change-Id: If9163b2bcdc105555ba3e4ed8bca651dbe0ac1bb
2024-10-26 15:06:53 +02:00
Translation updater bot 46d18ece24
Localisation updates from https://translatewiki.net.
Change-Id: I6812839c1685f3bbb56e792d488d1b7dc0b09c0c
2024-10-25 09:50:21 +02:00
jenkins-bot f3e9a38c96 Merge "Force the use of the category index when paging by category" 2024-10-21 21:38:03 +00:00
Translation updater bot ac11bd01a8
Localisation updates from https://translatewiki.net.
Change-Id: I793d934c665d09ad4d5f1ff3bfb39ae0b65e29c9
2024-10-21 09:20:25 +02:00
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
Arlo Breault be1f60b6ea Force the use of the category index when paging by category
The EXPLAIN in P70205#281191 shows the PRIMARY index being used,
resulting in a long scan in newer categories where all the linter_id are
higher.

Bug: T200517
Change-Id: I373692942121ff555565c9c2c310087cd097ef21
2024-10-17 22:10:24 -04: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