Commit graph

2363 commits

Author SHA1 Message Date
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
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
Translation updater bot d4e8843ff2 Localisation updates from https://translatewiki.net.
Change-Id: I56ecb1392ba1a869a7b1c2f5d4530bbffc07aa0c
2024-01-18 09:27:23 +01:00
Fomafix e19cb1d9db Use MediaWiki\ResourceLoader\ImageModule instead of ResourceLoaderImageModule
ResourceLoaderImageModule is deprecated since 1.39.

Change-Id: I536c4ae981aac43d7cdefc3176b766c303aab22e
2024-01-13 20:29:41 +00:00
Translation updater bot 3ff1a16370 Localisation updates from https://translatewiki.net.
Change-Id: I876c539aad80ef560fa1324dad44412cef2b1ad5
2024-01-11 10:06:17 +01:00
Translation updater bot 81bdd4681f Localisation updates from https://translatewiki.net.
Change-Id: I49f10563ba3408cca9cb0f55a09f5df9cacf9207
2024-01-10 08:33:28 +01:00
Umherirrender b626bd18d3 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statements done manually

Change-Id: I8e049e495a0d0f3a0e1ee02a8252354b12604bf9
2024-01-04 21:53:10 +01:00
Translation updater bot c217eee567 Localisation updates from https://translatewiki.net.
Change-Id: I59a1ed28bdfde618e331e668cf7c6efdd58d864f
2023-12-29 19:23:09 +01:00
Translation updater bot d4cc2307bd Localisation updates from https://translatewiki.net.
Change-Id: Iae5a25a948c9e490e84a49a6305185a57da0ff3a
2023-12-28 14:50:32 +01:00
Translation updater bot 38c8d5974f Localisation updates from https://translatewiki.net.
Change-Id: Ib12230b95cd2fa8788f08d22f1be991e0493a3ea
2023-12-22 17:46:57 +01:00
Translation updater bot 93714ba0d4 Localisation updates from https://translatewiki.net.
Change-Id: I716950771c5f8735c5895c2a3ed592130e689b7f
2023-12-21 19:46:00 +01:00
Translation updater bot 02e3ce7e6c Localisation updates from https://translatewiki.net.
Change-Id: I17a23be511a9a636f6d7982a7195270922b96aa2
2023-12-14 08:28:20 +01:00
thiemowmde b703aa71e6 Remove misplaced message keys from a comment
These messages are still used in ParamImportWidget, originally added
via I985ea03 in 2014. The comments have been added much later, see
Ib53aa55. This was really only a copy-paste mistake because of the
very similar message keys.

Change-Id: I78e1a8aec200299e72ce8354ea722ad9c1fd27c0
2023-12-11 15:11:21 +01:00