Commit graph

2343 commits

Author SHA1 Message Date
Translation updater bot ce02a3bb5a
Localisation updates from https://translatewiki.net.
Change-Id: I1aed6b825eccd7cc2ac1182ad06deae3c1ee6923
2024-06-17 09:33:04 +02:00
Translation updater bot 7b331c0a9b
Localisation updates from https://translatewiki.net.
Change-Id: Ib8aa085d7e6d81eb6d2da76ed094a9d3d983e3a3
2024-06-13 09:29:20 +02:00
Translation updater bot db768f4396 Localisation updates from https://translatewiki.net.
Change-Id: I689616ef7ec2e11845533e4b2d04fa0efb075202
2024-06-11 09:55:46 +02:00
Umherirrender ebcc8ac7c5 Use new namespace for OutputPageBeforeHTMLHook
Change-Id: I7cb4a8db2d8473757434eff9476af62e310f91ad
2024-06-10 22:00:02 +02:00
jenkins-bot 1479bdba58 Merge "build: Updating npm dependencies" 2024-06-10 18:29:22 +00:00
libraryupgrader 4189c715ad build: Updating npm dependencies
* grunt-stylelint: 0.19.0 → 0.20.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.1

Change-Id: Ic798cc510df56de49cb53f1393af23e5ac64807a
2024-06-10 14:05:14 -04:00
Translation updater bot 96777623dd Localisation updates from https://translatewiki.net.
Change-Id: I78f4ed2c5103d23b20b5932150c7f25115e78404
2024-06-10 09:56:14 +02:00
jenkins-bot 26068d17b6 Merge "Use $this->getReplicaDB() instead of $this->getDB( DB_REPLICA )" 2024-06-07 10:21:13 +00:00
Fomafix 9485ab50c4 Use namespaced PHP classes
Change-Id: I9f3a45c2d1ce4b7d7c5bb4bbbe382d32d47ee342
2024-06-07 09:08:55 +00:00
Fomafix 5769ac4966 Use $this->getReplicaDB() instead of $this->getDB( DB_REPLICA )
Change-Id: Ib0fadf7b2f3ca30eb34822a2883107fa60a6f004
2024-06-07 09:05:08 +00:00
Translation updater bot 4b4dff0791 Localisation updates from https://translatewiki.net.
Change-Id: Id61bcd563cd1801c5ca7809d08b3068939b873b6
2024-06-07 09:46:30 +02:00
jenkins-bot 563828f594 Merge "Add lang and dir attributes to language search result rows" 2024-06-07 02:15:24 +00:00
Translation updater bot 02022d408c Localisation updates from https://translatewiki.net.
Change-Id: I8951833c1e5b1069a4f0e9aab58ec268defe907c
2024-06-05 09:24:04 +02:00
Translation updater bot 7f596c661d Localisation updates from https://translatewiki.net.
Change-Id: I93d512c5e062f4fa95ac6eb6e621292967982d5c
2024-06-03 09:33:10 +02:00
thiemowmde a087036f90 JSDoc: convert @cfg to @param
Bug: T138401
Change-Id: I5cd2c2552b40ed072054e4f7ae00b82dcd432ab9
2024-05-28 10:18:36 +02:00
Translation updater bot cac3573e4e Localisation updates from https://translatewiki.net.
Change-Id: Ia14e06151ad1154bd19f4a3c816130ce7243a96d
2024-05-27 09:30:02 +02:00
Translation updater bot ce7de718d2 Localisation updates from https://translatewiki.net.
Change-Id: I3a99068b4d8a508666bd7ce0438b2fa3ddca183d
2024-05-20 09:26:15 +02:00
libraryupgrader 8eb0031530 build: Updating grunt-banana-checker to 0.13.0
Change-Id: Ib6b1034cc4d5422d2499c9a6eed4d92ff7cba16b
2024-05-19 04:08:52 +00:00
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
thiemowmde 8b474b1b07 Add lang and dir attributes to language search result rows
The languages in this list are presented as "autonyms", meaning it's
the name of the language written in the language. They should be
marked accordingly in the DOM.

However, the current design breaks appart when we allow some of
the rows to be right-aligned. To avoid this we enforce the previous
left-align via CSS. This is not perfect but the best compromise at
the moment, in my opinion.

The code follows what we did in T238329, specifically the patch
Ifcbb877.

Bug: T324385
Change-Id: I53a5a96395b60f3e5d0d80bd5efa4024c4d97884
2024-04-30 21:19:17 +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