Commit graph

2324 commits

Author SHA1 Message Date
jenkins-bot 0f21a4b375 Merge "Simplify normalization of "params" key" 2024-05-17 19:34:33 +00:00
thiemowmde 1b7e3f6df5 Streamline code in Dialog.js and related
The goal is to make the code (especially the very large Dialog class)
more readable and easier to maintain.

Notable:
* Move cheap === comparison to the top.
* Use boolean .test() instead of .match() when we don't need an array.
* Use chained method calls where possible.

Change-Id: I1655174494911950d9d6530a512828e60bf5375d
2024-05-17 07:13:41 +00:00
Translation updater bot ff99ad3581 Localisation updates from https://translatewiki.net.
Change-Id: Idc04dbfbaac199c4a5d42759ac983a303eb93c20
2024-05-15 09:22:18 +02:00
jenkins-bot 3cb1b9ef25 Merge "Drop unused "Restore parameter" messages and code" 2024-05-14 18:16:31 +00:00
Translation updater bot bfd11e9fb1 Localisation updates from https://translatewiki.net.
Change-Id: Ie7d2a6e57581284fb13bf39c6b124f3dbb88a265
2024-05-14 09:27:21 +02:00
libraryupgrader 79c0708495 build: Updating grunt-banana-checker to 0.12.0
Change-Id: Ic7d574d559a2fc3f71332ca673050bf0caf647f8
2024-05-14 04:39:15 +00:00
thiemowmde 2d0ac92728 Drop unused "Restore parameter" messages and code
As far as I can see this was never used, not even in the original
patch Ib739ee0 that added it.

Bug: T86916
Change-Id: Ibaed8504791e54348584a5f66095a9f36e83601d
2024-05-13 19:15:09 +02:00
Translation updater bot 5618ca8036 Localisation updates from https://translatewiki.net.
Change-Id: If782f0749d1735b39ac592b345d5bfd83d94a5af
2024-05-13 09:28:04 +02:00
jenkins-bot 4a339482f0 Merge "build: Updating composer dependencies" 2024-05-06 07:32:24 +00:00
Translation updater bot 513e785cfa Localisation updates from https://translatewiki.net.
Change-Id: Ic6e49765f7f65b65464eb1480d5effd6e72db4a5
2024-05-06 09:26:37 +02:00
libraryupgrader a12a1c833b build: Updating composer dependencies
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

Change-Id: I192c0e5f1420332344d329e65a4bc049481840fa
2024-05-06 07:07:50 +00:00
Translation updater bot cb393534d0 Localisation updates from https://translatewiki.net.
Change-Id: If549a75957b75d95bb9350c62cdc2917f74c0422
2024-05-01 09:22:49 +02:00
Translation updater bot 3f7d162080 Localisation updates from https://translatewiki.net.
Change-Id: I5221812c96986a4c4386b402bc50902dc725e157
2024-04-30 09:21:19 +02:00
Translation updater bot 38202a0108 Localisation updates from https://translatewiki.net.
Change-Id: Ifaa8626e00bb06dc85572d3ca0ffc0e308f75d7e
2024-04-24 09:19:13 +02:00
Translation updater bot 8781a03088 Localisation updates from https://translatewiki.net.
Change-Id: Ie444bf34455aacac799f1c244b9886114b240f28
2024-04-22 09:29:51 +02:00
jenkins-bot 7a3c504485 Merge "Use much faster upstream assertions to compare Status values" 2024-04-21 10:32:56 +00:00
libraryupgrader eb616b40c4 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: Ibbd9d29c81160beef3b59d95ee6b5b133ab42899
2024-04-18 05:53:26 +00:00
thiemowmde 5c34ea7ea8 Use much faster upstream assertions to compare Status values
Also replace some expensive HTML formatting with something much more
straightforward. The upstream methods also give very good debug
output.

Change-Id: Ie8cca306e0cd6293877b2d54178d7b4f0690b11a
2024-04-16 14:42:48 +02:00
Translation updater bot 4e2c487ffb Localisation updates from https://translatewiki.net.
Change-Id: Id4ec9457a62a057b940b7e1c060c6bef30086b6f
2024-04-16 09:29:02 +02:00
jenkins-bot d3d9871528 Merge "Pull dependency on global MediaWikiServices up one level" 2024-04-15 17:23:20 +00:00
Translation updater bot af0dc74387 Localisation updates from https://translatewiki.net.
Change-Id: Ib4628bbc7d74c10ff43bf6d045e406dc49eb5248
2024-04-15 09:28:53 +02:00
Translation updater bot 10b9b7f045 Localisation updates from https://translatewiki.net.
Change-Id: Id3dae2304b2e2d1f607157d1f32784649fc401fc
2024-04-11 09:22:10 +02:00
thiemowmde db9c989e10 Simplify normalization of "params" key
The isset() check was odd and confusing. I think I added it in
Ie572809 to be able to run the normalizer independend from the
validator. But the "params" element is required anyway. It makes
much more sense to enforce it in the normalizer as well. Even if
this currently doesn't make a difference in real-world scenarios,
it makes the code easier to read.

Change-Id: If4eb2f3985c56146d74e760996ad983be12b921a
2024-04-08 13:56:05 +00:00
thiemowmde f09228b55a Pull dependency on global MediaWikiServices up one level
This pulls the dependency out of __construct() up into the static
newFromJSON() method.

I'm also replacing the "ContentLanguage" service, which is a Language
object, with the plain language code. Features from the Language
class are never needed.

Change-Id: Ic4892cd22d83ff557af37e36e62e2af14bc58a99
2024-04-08 13:27:18 +02:00
Translation updater bot 221efa374b Localisation updates from https://translatewiki.net.
Change-Id: I056d933095d3974937d47d7eec528680f6771d25
2024-04-08 09:27:10 +02:00
Translation updater bot c4eec0b202 Localisation updates from https://translatewiki.net.
Change-Id: I69465661897193bb0b42c48452b67ea2641adbfb
2024-04-05 09:39:01 +02:00
Translation updater bot dabbbcc87f Localisation updates from https://translatewiki.net.
Change-Id: Id154ff6965e7833897c1389b201680c6d0c44584
2024-04-04 09:39:31 +02:00
Translation updater bot 77945e3aa4 Localisation updates from https://translatewiki.net.
Change-Id: I85c9a9d40e31e0154159730580c2e94be4c10cbb
2024-04-01 09:23:16 +02:00
Translation updater bot f3371bed74 Localisation updates from https://translatewiki.net.
Change-Id: I45d8f806d0d0d29189da5b9a54035a9fd7993cce
2024-03-28 08:32:41 +01:00
Translation updater bot ad0b6b5209 Localisation updates from https://translatewiki.net.
Change-Id: Ie49a66147c3805fe66c87d1e260c4a5ddf26731f
2024-03-26 08:21:03 +01:00
Translation updater bot 99745e2a4a Localisation updates from https://translatewiki.net.
Change-Id: I537d87b1be3fe29300b3d5e9fadcbd9ea083b659
2024-03-25 08:36:52 +01:00
Translation updater bot 6682d9b89f Localisation updates from https://translatewiki.net.
Change-Id: I0d478fce0252bec71c4d6bd9ababe3638435ee53
2024-03-15 08:34:07 +01:00
Umherirrender b4abfcc0d0 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: Ide8e6d9c8ba7294005b520696b8112f08e7b9928
2024-03-12 20:49:04 +01:00
Reedy 443f191254 Fix casing of MediaWiki
Change-Id: I9ac4839fe320501667f6f82013b46a422a05cc31
2024-03-12 15:39:35 +00:00
Translation updater bot 30d28d7fac Localisation updates from https://translatewiki.net.
Change-Id: I8a5d13814d8cccf6f0c712e06ce4b64d0902af5c
2024-03-11 08:28:09 +01:00
Translation updater bot d3acc6e119 Localisation updates from https://translatewiki.net.
Change-Id: I61cf5ab02f49a997b561daaa440ec9106759b155
2024-03-04 08:24:17 +01:00
Translation updater bot 45f7ac5db1 Localisation updates from https://translatewiki.net.
Change-Id: I30096fac93c5165560aceb578e12b221ad8ed2dd
2024-03-01 08:34:07 +01:00
jenkins-bot 7f4d21ce30 Merge "Remove misplaced message keys from a comment" 2024-02-27 17:51:20 +00:00
Translation updater bot f951a36065 Localisation updates from https://translatewiki.net.
Change-Id: I2e851cb26eddccef8ef7153c6805ac61de69925a
2024-02-23 08:45:21 +01:00
Translation updater bot 3453c9ea6d Localisation updates from https://translatewiki.net.
Change-Id: I75c5bba6d0d62bcc40adf725ef27dea0e346623a
2024-02-22 08:44:12 +01:00
Translation updater bot 1e23cba6ad Localisation updates from https://translatewiki.net.
Change-Id: I523da5f624d3846905c08a28a728b4ba28597105
2024-02-19 08:41:07 +01:00
libraryupgrader 8425408661 build: Updating jsdoc to 4.0.2
Change-Id: I722eeddb1748cd822a18c01ccc0db409bd923232
2024-02-16 11:24:25 +00:00
James D. Forrester fb383cc0f2 Replace wfGetDB() with ICP getReplicaDatabase()
Bug: T330641
Change-Id: Ic6ea216ff3365f88288d6a44b723e6dca0b15d49
2024-02-14 11:08:04 -05:00
Translation updater bot 32a3acd95e Localisation updates from https://translatewiki.net.
Change-Id: I0a8832da049de5635aafdccc09d8b210a494ed79
2024-02-14 08:19:26 +01:00
libraryupgrader 2e0f4426ac build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* eslint-config-wikimedia: 0.25.1 → 0.26.0
* debug: 3.2.6, 4.3.4 → 3.2.7, 4.3.4
  * https://github.com/advisories/GHSA-gxpj-cx7g-858c

Change-Id: Iaa4643e6011772378fe3274166410b3eea701061
2024-02-13 03:26:37 +00:00
Translation updater bot af7dfd9ee4 Localisation updates from https://translatewiki.net.
Change-Id: I668b21b364e55a2577eb0b535603539e793d07b5
2024-02-05 08:50:35 +01:00
Translation updater bot 76385cb3c7 Localisation updates from https://translatewiki.net.
Change-Id: Ia1e443c83c96fb8bd1d7f08c44d2e6247eb52daf
2024-02-02 08:54:18 +01:00
Translation updater bot 906c78f460 Localisation updates from https://translatewiki.net.
Change-Id: Ibfd71b76a9564953589f893d9b22e43a2c505ca9
2024-02-01 09:03:42 +01:00
Translation updater bot eb06e50ecc Localisation updates from https://translatewiki.net.
Change-Id: Ia754dff23e0f83f9fbc6953c8f02825a63e487e7
2024-01-28 16:08:06 +01:00
Umherirrender b43ae79b22 Drop RL targets definitions from module definition, no longer honoured
Bug: T328497
Change-Id: I4cfef72003a11af2763d52428d72da012e34c69c
2024-01-23 21:56:06 +01:00