Commit graph

7058 commits

Author SHA1 Message Date
jenkins-bot 8b365dca6f Merge "tests: Call editPage() with WikiPage when used for same page" 2023-07-17 20:48:18 +00:00
Daimona Eaytoy 0d8422a569 Avoid DB access in tests when possible
Use mocks where that makes sense, and add `@group Database` otherwise.

Change-Id: I8f8ec8f4b2c73066cc8e7a6f8e38b3fc286a1070
2023-07-17 20:12:04 +02:00
Translation updater bot b3c74b1412 Localisation updates from https://translatewiki.net.
Change-Id: Id234bc5f4ac076e2f4663cd329931e6e5d7ec79b
2023-07-17 10:17:01 +02:00
Umherirrender 36970ce54c tests: Call editPage() with WikiPage when used for same page
When calling editPage() with a string it converts it to a WikiPage each
time it is called. When edit a page only once that is okay,
but when adding more revision to the same page it is better to pass a
WikiPage instead to allow reuse of internal states of WikiPage to speed
up the tests

Change-Id: Iac4ef3a3838ba22cd98b944e3ac7f596d540b405
2023-07-15 22:32:16 +02:00
Translation updater bot c416143ea4 Localisation updates from https://translatewiki.net.
Change-Id: Ia3ace1858ebaed0a6d8c767c5f94c19a0360246c
2023-07-14 09:33:35 +02:00
Translation updater bot 7a7a5ef55d Localisation updates from https://translatewiki.net.
Change-Id: I80a2c5c0df7e4402be7c7ed07a30c9dff89b4463
2023-07-12 08:55:23 +02:00
Translation updater bot 8d462ce627 Localisation updates from https://translatewiki.net.
Change-Id: I899f42b09b2ad0317a77b306ac2f170b0c560c02
2023-07-10 09:37:30 +02:00
Translation updater bot 7e4ffb3df4 Localisation updates from https://translatewiki.net.
Change-Id: I36cd150ca3057b2696dd3ddcbb1c8470c9ff9a81
2023-07-06 10:11:55 +02:00
jenkins-bot 714da902cf Merge "Add special page name translations in Norwegian Bokmål and Nynorsk" 2023-07-05 14:24:32 +00:00
Translation updater bot 6852646e38 Localisation updates from https://translatewiki.net.
Change-Id: I24ce383e22811d26ed51e853619db0b516df51da
2023-07-05 08:29:11 +02:00
Translation updater bot a885b8f44d Localisation updates from https://translatewiki.net.
Change-Id: I4bdca740dd303f1dab6004d6a0c195dd8bc19c39
2023-07-03 10:14:58 +02:00
WMDE-Fisch ef8a472299 selenium: run tests concurrently
Bug: T226869
Change-Id: I55572d5427877364c21631db2f44f8d39b774f95
2023-06-29 15:30:28 +02:00
Tim Starling bc7a6fc65b Use the new Wikimedia\Diff namespace
Bug: T339184
Change-Id: Ibe96f4301996f4c5e05a3de78d3e2787152393e4
2023-06-29 12:01:20 +10:00
Translation updater bot 57dfb49c86 Localisation updates from https://translatewiki.net.
Change-Id: I4effd94ec9e50f6fc111c95a9a443d8d2258c4ce
2023-06-28 17:32:52 +02:00
Translation updater bot 271ead7d67 Localisation updates from https://translatewiki.net.
Change-Id: I478c5fa03254d3c27356c37a3ea6f487c58bdff2
2023-06-27 19:27:05 +02:00
Translation updater bot d28116e315 Localisation updates from https://translatewiki.net.
Change-Id: I20a732701ff2865fdfab8369d2351b91dea20a28
2023-06-26 12:38:51 +02:00
Umherirrender 84ceedb6f7 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: Ie8b849a3ad2b8bee44e41c8e9ff82c6dae41d83a
2023-06-23 23:34:55 +02:00
Jon Harald Søby a20150d9f8 Add special page name translations in Norwegian Bokmål and Nynorsk
Add translations of Echo special page names into Norwegian Bokmål (nb)
and Norwegian Nynorsk (nn).

Change-Id: Ib3838fc9865591935fb8dc4dd0692894c94dbd85
2023-06-21 11:43:20 +00:00
Translation updater bot 0f26e4904e Localisation updates from https://translatewiki.net.
Change-Id: Ia37864c84f40f141c28e6c311c41bd6701b8d183
2023-06-19 11:06:50 +02:00
Volker E 2e8e31d3c6 build: Update SVGO to v3.0.2 & re-crush icons
svgo         2.8.0  →   3.0.2

Amending to new `cleanupIds` plugin name.
Re-crushing SVGs while at it.

Bug: T339162
Change-Id: I37021bc12b29143a8a05ebbb183547df29aa1f6a
2023-06-14 19:12:11 +00:00
Translation updater bot e569955710 Localisation updates from https://translatewiki.net.
Change-Id: I5f652f6623c65360cffd301252a6968309f4e3c6
2023-06-14 13:06:43 +02:00
Translation updater bot 4c2d34d61b Localisation updates from https://translatewiki.net.
Change-Id: I1bad4de1aa6f6c58aa68b0efb1e04122f41a1683
2023-06-12 13:07:15 +02:00
jenkins-bot 526aae15f3 Merge "Replace remaining usages of deprecated MWException" 2023-06-09 14:08:12 +00:00
Translation updater bot 7a677d703d Localisation updates from https://translatewiki.net.
Change-Id: Ib75586ee208307bc45f1e1565e20f6b7908d39ac
2023-06-09 09:13:35 +02:00
Daimona Eaytoy baf711c3c5 Replace remaining usages of deprecated MWException
Bug: T328220
Change-Id: I97ea68525392e921b970d15b5d5ffd9c89bae452
2023-06-09 02:23:08 +02:00
jenkins-bot c323fa2e8e Merge "Replace some usages of deprecated MWException" 2023-06-08 16:37:24 +00:00
Daimona Eaytoy 4cd98d3048 Replace some usages of deprecated MWException
Most notably, CatchableFatalErrorException and the code that throws it
are unused since Ic5712c4ce265b6faabce7a4028b4294fe3c73f18 (in 2016).

Bug: T328220
Change-Id: I5497347e41b21d2623b7e79bf7f977268a809c1d
2023-06-08 11:52:41 +00:00
Translation updater bot 425585ab17 Localisation updates from https://translatewiki.net.
Change-Id: I3117535e2c06920ec3e086ee1a66093285642237
2023-06-08 10:39:20 +02:00
Translation updater bot 506c25818b Localisation updates from https://translatewiki.net.
Change-Id: I08c4f0a5c04ef30a706cbd586d11afc3e2b3520d
2023-06-05 08:40:40 +02:00
Timo Tijhof c51bb93320 tests: Modernize test syntax
* Remove redundant file closure.
* Remove needless QUnit.newMwEnvironment() calls as the tested
  methods don't alter mw.config or mw.messages. Slow, as per
  https://gerrit.wikimedia.org/r/c/mediawiki/core/+/912936/

Change-Id: I61bf03325d5067568d057ff2af6bf65f279a8a84
2023-06-02 16:09:38 +01:00
Translation updater bot ea2e23bf54 Localisation updates from https://translatewiki.net.
Change-Id: I240a24a0f3b0f64f7e7fdae9411455384ac1a096
2023-06-02 09:23:52 +02:00
Translation updater bot e0c130447d Localisation updates from https://translatewiki.net.
Change-Id: Ic9f48dbd48f7b9e1bd438415c741286deb185374
2023-06-01 08:43:15 +02:00
Translation updater bot 6991ef52b2 Localisation updates from https://translatewiki.net.
Change-Id: Ibec3b9715b15e6b260758b478a8a91e03fd1b6a1
2023-05-31 08:20:07 +02:00
Translation updater bot 8c6d8c5c61 Localisation updates from https://translatewiki.net.
Change-Id: I69b2823a03bee85a398e82b22c7b5ad87d14abba
2023-05-29 09:59:00 +02:00
Translation updater bot d7bdebad77 Localisation updates from https://translatewiki.net.
Change-Id: I472fb4b20020e93c6e66be9f42e11f777ef420a4
2023-05-26 08:30:05 +02:00
Translation updater bot 7580a01d97 Localisation updates from https://translatewiki.net.
Change-Id: I7cffe3a3c1fa66d1a0025c809448095ec26595ab
2023-05-25 09:09:10 +02:00
Translation updater bot 147964cade Localisation updates from https://translatewiki.net.
Change-Id: I42e13652a552f3dc8f8cfff42c5c7dc7ddceead0
2023-05-23 08:22:33 +02:00
Translation updater bot 4bde14a133 Localisation updates from https://translatewiki.net.
Change-Id: I2f320f99909a7bbdc2697e155196de192ff4ce98
2023-05-22 08:45:16 +02:00
Umherirrender 680e91c75c tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: I8b6fbfc300d62a10da770c8a1ca61756c7d7bf59
2023-05-20 20:36:33 +02:00
jenkins-bot 7bfdebfa0b Merge "Add PLURAL support for "mark all as read" buttons" 2023-05-20 15:39:10 +00:00
jenkins-bot fbaa93f3bd Merge "Update moved class FauxRequest" 2023-05-19 14:38:13 +00:00
gerritbot 68b06cac10 Update moved class RawMessage
See T321882. Moved in I195cf4c67bd514

Bug: T321681
Change-Id: I6ca53fd2b8f3523ea5e29a9119d96da51e0a55a5
2023-05-19 10:30:54 +00:00
gerritbot f3da9368e8 Update moved class FauxRequest
See T321882. Moved in I832b133aaf61ee

Bug: T321681
Change-Id: Ie2e1ff04178e3f502f90336e68ab012636b46fb5
2023-05-19 10:24:07 +00:00
Kosta Harlan 61a656ac27
LinksUpdate: Don't send page-linked notifications for pages created by bot users
Follows-up: I704a2912e0a8b0e996d4e4e0a73f4ed3b9ccf6be
Bug: T318523
Change-Id: I32edf044b858956d030d318994d799071cde521b
2023-05-16 14:54:58 +02:00
Translation updater bot 2686d9ceb1 Localisation updates from https://translatewiki.net.
Change-Id: I1761adcdfbf548d5a0763f61eb077d00ad89163b
2023-05-16 08:18:47 +02:00
Translation updater bot 269ea9249a Localisation updates from https://translatewiki.net.
Change-Id: I36670d9b1d7a8746e73111220b4abcfd5aa6dd83
2023-05-15 08:32:21 +02:00
Translation updater bot c549b96357 Localisation updates from https://translatewiki.net.
Change-Id: I1a5f66a15dfea009877e3acf4af99706f15e4216
2023-05-11 09:15:22 +02:00
Translation updater bot 3b33f2a107 Localisation updates from https://translatewiki.net.
Change-Id: Ica65125d5bd7036f56105b030d51439aacb0f938
2023-05-10 08:40:30 +02:00
Translation updater bot 30551ccde0 Localisation updates from https://translatewiki.net.
Change-Id: Ibe38758246c70f636eb577478375a8c3f4c23474
2023-05-09 08:54:52 +02:00
Translation updater bot 3558ad17d8 Localisation updates from https://translatewiki.net.
Change-Id: Id9f9e4bfe8fbf84635c0152388a0cc7666f76780
2023-05-08 10:31:48 +02:00