Commit graph

2333 commits

Author SHA1 Message Date
jenkins-bot 32475e3da2 Merge "Add missing keyboard navigation for param/language lists" 2023-07-14 07:04:31 +00:00
Translation updater bot 7e68ac0ce9 Localisation updates from https://translatewiki.net.
Change-Id: Icc4f7c2ee4367a1c195d77622c17fe3c455948a9
2023-07-13 10:50:23 +02:00
thiemowmde ded84d30b9 Add missing keyboard navigation for param/language lists
Bug: T324384
Change-Id: I73aa7b393129fe83f48d5b271cfb10ba0f4c2cff
2023-07-12 10:26:58 +00:00
Translation updater bot f89f13d902 Localisation updates from https://translatewiki.net.
Change-Id: Iab7c25583da1bfb04aa261f08a589d5d5d9bb9fa
2023-07-10 09:39:07 +02:00
Translation updater bot b0625a63e2 Localisation updates from https://translatewiki.net.
Change-Id: I5450513830ce92691d70e604a56d96c3b9bcf823
2023-07-03 10:16:37 +02:00
jenkins-bot 4296b2d51c Merge "Stop using private properties in unit tests" 2023-06-28 09:09:01 +00:00
jenkins-bot b71050d6f6 Merge "Add missing strict types to all test code" 2023-06-28 09:08:59 +00:00
thiemowmde 5f4f15cb85 Stop using private properties in unit tests
Change-Id: I199d44882561c9b0ee84cab339a8e94dd03bf353
2023-06-28 08:16:34 +00:00
Translation updater bot 0890888fc9 Localisation updates from https://translatewiki.net.
Change-Id: I5d038445ee45a62d5f9a2436084274dd4e7e9514
2023-06-27 19:28:36 +02:00
thiemowmde afd86e2970 Add missing strict types to all test code
Change-Id: I6dacbdb8c961e504694a9f3c45d551527eb1b448
2023-06-26 18:08:42 +02:00
Translation updater bot 6f68e6a778 Localisation updates from https://translatewiki.net.
Change-Id: I171f9be5031156a61a13577e399b8fdef3fe2004
2023-06-26 12:41:08 +02:00
thiemowmde b8f4df67f9 Replace inappropriate use of "word-separator" message
These aren't sentences but lists of aliases as well as suggested
values. They are rendered as <code>, visualized as light gray boxes.
We don't need them to respect some language-specific word separation
to be able to read them like a sentence.

https://translatewiki.net/wiki/MediaWiki:Word-separator/qqq
explains how the message should be used.

Bug: T340378
Change-Id: Ia082b5ccb211524262f0c535bb178ee7ec3c20eb
2023-06-25 16:57:50 +02:00
Umherirrender a52ec4cc86 api: Remove old apihelp i18n description messages
No longer used since 1.33

Automatically removed message keys with "doc-apihelp-description" in qqq

Bug: T340253
Change-Id: I7d22bde0ec4ff6160bd26d23186c597b32a9dba0
2023-06-24 00:23:52 +02:00
Ed Sanders b296e1fc74 build: Switch linting to ES6
Disable no-var for now.

Change-Id: I9297112df4b73623cb167b60904a502abf86c526
2023-06-21 17:38:54 +01:00
Jon Robson f45b0625ad Temporary disable parser test
We need to disable this so that we can update the message box in core
to use codex components.

Once I16d8f53b9a83a468acdb3803044f6c4e9d5dfeeb has been merged
the test will be restored using the new message box markup.

Bug: T326587
Change-Id: I3959c8f8d4c7bbe019f5e3b356649b5b7dc88907
2023-06-16 21:28:55 +00:00
Translation updater bot 4a95336f46 Localisation updates from https://translatewiki.net.
Change-Id: Iba6bdb2254ead329b68d3d89cdf8eb89fface68c
2023-06-14 13:08:05 +02:00
Thiemo Kreuz 647cd0bc65 Clean up base class reaching into the subclass
This does not change anything. It's only about the readabilility
of the code.

Change-Id: Ia908bd90ebc261f3bebc7854501a6f5d5e736384
2023-06-09 07:10:19 +00:00
Translation updater bot ef4f974fc6 Localisation updates from https://translatewiki.net.
Change-Id: I5fa15b108345140cff3e02496164b61c04fcadce
2023-06-05 08:41:41 +02:00
libraryupgrader db98bd582d build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I3db37c56f5a75ca2d8ecc2ece7f351a59c14d739
2023-06-02 15:15:32 +00:00
Translation updater bot a264be49b2 Localisation updates from https://translatewiki.net.
Change-Id: Ib28b8af4aba42f51ba9240ac8eb9d20785f798bb
2023-06-01 08:44:09 +02:00
Translation updater bot 880898f8ec Localisation updates from https://translatewiki.net.
Change-Id: Ied7dd69658c08a0714075b5124ff7e8b666f4b1e
2023-05-31 08:21:04 +02:00
Translation updater bot fc957a4a00 Localisation updates from https://translatewiki.net.
Change-Id: I52fb4075d2647a9769b5415af5752b66a9246559
2023-05-29 10:00:11 +02:00
jenkins-bot d5ec6c4a5f Merge "Fix incomplete validation & enter key when adding new parameter" 2023-05-26 12:38:26 +00:00
Translation updater bot b1af379d08 Localisation updates from https://translatewiki.net.
Change-Id: I9e196eeea2ebf05b594781631df470e6ac4c62f0
2023-05-26 08:30:51 +02:00
thiemowmde eb7fec0877 Fix broken ActionFieldLayout construction
OO.ui.ActionFieldLayout requires 3 parameters: 2 widgets and optional
configuration. But this code was passing only 1 widget. The config
object was actually used as a widget and never as config. It's a
miracle this was not throwing an error. ;-)

Replace with a more trivial FieldLayout which requires only 1 widget.

Also clean up some closely related code.

Change-Id: Idca9a39e9f442f3a5412027906de9f868fc12b76
2023-05-23 18:59:24 +02:00
thiemowmde 03feb0d2a7 Fix incomplete validation & enter key when adding new parameter
This fixes a whole sequence of issues:
* It was actually possible to add a parameter with no name.
* It was also possible to add parameters where the name is nothing
  but whitespace.
* Pressing enter was not possible.
* The button was initially enabled with the input field being empty.
* Validation code was duplicated, but incomplete, which made it
  possible to add duplicate parameters with enter.

Bug: T324381
Change-Id: I598997efc63256fd59a2b4f71fb7c3d99306bd85
2023-05-23 18:48:26 +02:00
Translation updater bot 4c2cfdc45f Localisation updates from https://translatewiki.net.
Change-Id: I6ea4f79e18298ec459d26f6c1e1d2a873dfb12df
2023-05-22 08:46:48 +02:00
Umherirrender fe40e527c0 tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: Id3e2d5645dfd89d2b7d3586a4e1446d16a9ca60e
2023-05-20 14:10:49 +02:00
Translation updater bot 9a99ec4645 Localisation updates from https://translatewiki.net.
Change-Id: Ib93ec224f59225b46fc36a0373d1c56e867f153a
2023-05-17 08:49:58 +02:00
Translation updater bot 9d639f8568 Localisation updates from https://translatewiki.net.
Change-Id: Ife61eae2ea73866d1a525b98fc4c43145d525d78
2023-05-15 08:33:52 +02:00
Translation updater bot 5561f68b41 Localisation updates from https://translatewiki.net.
Change-Id: Ib2532aaeafbe97f88b326ea1a8c1d0de084a16a0
2023-05-10 08:42:04 +02:00
gerritbot 2d16a7c72f Update moved class EditPage
See T321882. Moved in Ibefc44eb64aed

Bug: T321681
Change-Id: I9de606e32ac58ddbf68ee00587ee9b7f0f9f157d
2023-05-06 21:20:32 +00:00
Translation updater bot cfbfa8dfa7 Localisation updates from https://translatewiki.net.
Change-Id: Ic6a76a9ac69203cb0d4f47aa0edaf86ec88e4d13
2023-05-05 10:41:05 +02:00
libraryupgrader c407256521 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Ic5f44292b65ddfc30674ea6ca0a01fbb124798d4
2023-05-04 12:59:27 +00:00
Translation updater bot 8d4771e0ad Localisation updates from https://translatewiki.net.
Change-Id: Icb427ea82d37509fb36ec9ce095d5da110b869af
2023-05-03 08:44:29 +02:00
libraryupgrader 1ca585792d build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Ie91b9f93b6b3f308dba81455908411c01ec8ff16
2023-04-29 12:13:27 +00:00
Translation updater bot a8e1f30ef4 Localisation updates from https://translatewiki.net.
Change-Id: Icc490a6d5c1014e09610aafaa57b024e3389bb75
2023-04-28 08:57:31 +02:00
Translation updater bot 12aa893937 Localisation updates from https://translatewiki.net.
Change-Id: I1cfdf786e380de14811f73d7e9cfa9f031735b07
2023-04-26 08:44:15 +02:00
Translation updater bot 51b2995a96 Localisation updates from https://translatewiki.net.
Change-Id: I3338841d37133687d6148893fa0b7733badcc14a
2023-04-25 08:48:39 +02:00
Translation updater bot 3b47550e74 Localisation updates from https://translatewiki.net.
Change-Id: I6afb70f194240a0df222600e3f25e2cfe97247c6
2023-04-24 09:17:22 +02:00
jenkins-bot 82e5ba9172 Merge "Replace IDatabase with IReadableDatabase where possible" 2023-04-22 20:47:44 +00:00
jenkins-bot 849150c814 Merge "Add missing validation for empty parameter names" 2023-04-21 13:12:29 +00:00
jenkins-bot cd58aa88bb Merge "Update TemplateDataEditor logging for IP masking" 2023-04-21 11:32:18 +00:00
Translation updater bot 1147a8f4ef Localisation updates from https://translatewiki.net.
Change-Id: I5009676ab695f845dc589a2abda6e49d2f390a10
2023-04-20 08:49:18 +02:00
Translation updater bot 2ca2525ae2 Localisation updates from https://translatewiki.net.
Change-Id: I9194d63e4de62e0a492ccbbdbc24298feaa8a3ad
2023-04-19 08:27:39 +02:00
Bartosz Dziewoński f2c89028bd Update TemplateDataEditor logging for IP masking
Bug: T332434
Change-Id: I9935e7d35b1cdb14c0958351cd84d9d6476d6363
2023-04-18 19:30:54 +00:00
Translation updater bot dd1b6a3436 Localisation updates from https://translatewiki.net.
Change-Id: I0f79e387bd472be2607346d3a9b0c6de76e6ddbf
2023-04-14 09:27:23 +02:00
thiemowmde b632162245 Add missing validation for empty parameter names
Note this will make the templatedata API temporarily fail for
templates that are affected by this, until their documentation is
fixed. I think we have two ways to proceed here:

1. Thanks to Ie572809 we can change the API module to not do the
validation again. This allows us to make the validation more strict,
but the API module will continue to deliver the same data as before
until the parser cache is invalidated.

2. We accept it and merge this patch as it is. The problem is
extremely rare and easy to fix.

Bug: T333826
Change-Id: I16c7cc2328c47dde196e2dc07edb2eace33a624f
2023-04-11 19:08:37 +00:00
jenkins-bot 0298a2d116 Merge "Split validation and normalization into separate services" 2023-04-11 04:51:02 +00:00
Translation updater bot 738482a25c Localisation updates from https://translatewiki.net.
Change-Id: If70b9f021106a824134cf4fd2b8c1d842a41836e
2023-04-10 09:46:47 +02:00