Commit graph

6928 commits

Author SHA1 Message Date
Translation updater bot 8294a154b0 Localisation updates from https://translatewiki.net.
Change-Id: I3b0a9c28bda8585d62c6417f4b1d46f774aca7cb
2023-08-04 09:20:22 +02:00
Daimona Eaytoy 713f60aaa5 Avoid DB access in non-Database tests
Use mocks when possible, and add the test to the Database group
otherwise.

Also rename 2 test files to avoid a PHPUnit deprecation of file name not
matching class name.

Change-Id: I16b2392daf01f63511c82b4ed0e67a38e35ddbe1
2023-08-04 02:31:24 +02:00
Umherirrender 9017ad5d76 Replace deprecated Linker::formatComment
Bug: T324906
Follow-Up: Ibe0092a96d96f6fa9d93991418b723f3e70e1b75
Change-Id: I375fe9114429057f7a0220fee50cb75d4e39864b
2023-08-03 23:37:32 +02:00
Translation updater bot 8a3f47e070 Localisation updates from https://translatewiki.net.
Change-Id: Iaa22f93e9c77828022d4cb53026dc2e91aa8299e
2023-08-03 08:48:28 +02:00
jenkins-bot ba4fa27bd9 Merge "Update notification badge to not rely on mw-ui-icon" 2023-08-02 21:44:24 +00:00
bwang ddaf43c5a0 Update notification badge to not rely on mw-ui-icon
This will essentially all be deleted after I55c18cf723a32f80b93a01dd0687e005162c4e93, but thats fine\

Bug: T343053
Change-Id: Ifb382af388cdc24dc1ecef105ec89c9129194c19
2023-08-02 19:10:34 +00:00
gerritbot db44be03bb Migrate ILB::getConnectionRef() calls to ILB::getConnection()
Deprecated since 1.39 (I6e7544763bd)

Bug: T343277
Change-Id: Ia5dd9a2db1d00148fe84e5ba791fd073368adcc4
2023-08-01 20:58:25 +00:00
jenkins-bot 562ffe2dab Merge "Revert "Fixes: Echo notification count disappears on load in mobile skin"" 2023-08-01 09:14:25 +00:00
Urbanecm c6dd920800 Revert "Fixes: Echo notification count disappears on load in mobile skin"
This reverts commit 38c26f66d0.

Reason for revert: causes T343192

Bug: T335273
Bug: T343192
Change-Id: I807c2b35bba86c2905931b61e9ef9d726d60a1da
2023-08-01 08:56:59 +00:00
Translation updater bot 88eeacf012 Localisation updates from https://translatewiki.net.
Change-Id: I855c34c77a16840571fb891595b63a9575a6868a
2023-08-01 08:36:27 +02:00
jenkins-bot 1a50f5041f Merge "Fixes: Echo notification count disappears on load in mobile skin" 2023-07-31 20:01:31 +00:00
Translation updater bot eac8f2b4e4 Localisation updates from https://translatewiki.net.
Change-Id: Ied37b044122f2da218e0ce05bb1f7b5e53df8924
2023-07-31 08:57:22 +02:00
Jon Robson 38c26f66d0 Fixes: Echo notification count disappears on load in mobile skin
Bug: T335273
Change-Id: Ife0f3093c145d10e2432d3130ba71b03cc4817a1
2023-07-28 18:52:59 +00:00
bwang d002532295 Update Echo to use MobileFrontend IconButton.js
Bug: T340262
Depends-on: I186e3d22aa9c2b331a80d35514d578949a4b9e86
Change-Id: I415f5092df5b757576a67b612a7691e9038a696f
2023-07-26 21:05:43 +00:00
Translation updater bot 24d6ddcc1b Localisation updates from https://translatewiki.net.
Change-Id: I07c07566a6056a6f16ccb50f6f403ad9a82659d0
2023-07-26 10:26:44 +02:00
Translation updater bot c82f9d046f Localisation updates from https://translatewiki.net.
Change-Id: Ia1ca448e29522e54e2772e4c38903238fbf15d87
2023-07-24 09:37:22 +02:00
Translation updater bot 36087d6ac5 Localisation updates from https://translatewiki.net.
Change-Id: Ic5f92e8b987179fd6f089fc1f213543b3d568174
2023-07-21 08:41:27 +02:00
Translation updater bot 39bb085d10 Localisation updates from https://translatewiki.net.
Change-Id: Ie986e6df0f87d700e955011286374fa7536ded76
2023-07-20 09:32:26 +02:00
jenkins-bot b33a8a36a4 Merge "Set a fixed default for echo-email-format" 2023-07-18 23:23:27 +00:00
Daimona Eaytoy f305c2d778 Set a fixed default for echo-email-format
Always set the default value to HTML, and then potentially change it in
onUserGetDefaultOptions.

Bug: T341931
Change-Id: I19efaa2361cd936125b623f90d9a564caa51d4f1
2023-07-19 01:00:46 +02:00
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