Commit graph

7229 commits

Author SHA1 Message Date
libraryupgrader 855cef7304 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: Iade8adc0bdd11f086b59dccfa3cb3f04b0157369
2024-08-25 00:45:50 +00:00
jenkins-bot cae6fc46dd Merge "Replace deprecated LinksUpdate::getAddedLinks" 2024-08-23 20:06:58 +00:00
Translation updater bot a8c63f8a50
Localisation updates from https://translatewiki.net.
Change-Id: Ic8bf858cb22632be320cb9d0b43252eb1b646ce1
2024-08-23 09:46:01 +02:00
Translation updater bot 5d93de87d4
Localisation updates from https://translatewiki.net.
Change-Id: I34a5b0acb4bbc3c7a8ec67560d165d4c90bc40d5
2024-08-21 09:23:16 +02:00
jenkins-bot 1b4ba9a09c Merge "Consistent Casing for "iconUrl"" 2024-08-19 20:04:09 +00:00
Translation updater bot 48b3292504
Localisation updates from https://translatewiki.net.
Change-Id: I09ffd299a99af87433c3b278bc1384e24b31cae8
2024-08-19 09:23:09 +02:00
Dr4goniez 14b06b78e5 Consistent Casing for "iconUrl"
Replaced all occurrences of "iconURL" in the extension's repo with
"iconUrl" after spotting a typo in `mw.echo.dm.NotificationItem.js#13`,
"iconUrl" (find the correct "iconURL" in `mw.echo.Controller.js#394` in
the diff). Thankfully the typo was only in the documentation block, but
given the casing of other config object properties like "primaryUrl"
and "secondaryUrl", it would be best to make them all consistent to
prevent any bug that could happen in the future.

Change-Id: I56e6a1d2c7695204b35e767679a27ee22b3fe4bc
2024-08-17 07:09:41 +09:00
jenkins-bot f38a43f58d Merge "Remove obsolete PHPDoc copies from fully typed constructors" 2024-08-16 19:09:22 +00:00
jenkins-bot 507f573962 Merge "Replace gettype() with get_debug_type() in exception messages etc." 2024-08-16 17:24:03 +00:00
Bartosz Dziewoński 22b05a1e3f Replace gettype() with get_debug_type() in exception messages etc.
get_debug_type() does the same thing but better (spelling type names
in the same way as in type declarations, and including names of
object classes and resource types). It was added in PHP 8, but the
symfony/polyfill-php80 package provides it while we still support 7.4.

Also remove uses of get_class() where the new method already provides
the same information.

For reference:
https://www.php.net/manual/en/function.get-debug-type.php
https://www.php.net/manual/en/function.gettype.php

Change-Id: I54c2bf287b185e2526b0a8556166fd62182b2235
2024-08-16 16:53:47 +00:00
Translation updater bot 2622f36a2a
Localisation updates from https://translatewiki.net.
Change-Id: I6677c14f671ef8797af0af290e5635a25c522262
2024-08-15 09:20:17 +02:00
Translation updater bot b16b3f8815
Localisation updates from https://translatewiki.net.
Change-Id: I719b0699b700ab9fd6d93fb3fa1d04d09351f405
2024-08-14 09:22:36 +02:00
Translation updater bot d9aef933bb
Localisation updates from https://translatewiki.net.
Change-Id: I741e9c563ceac0a7b70ee7965f541d318a4114e7
2024-08-12 09:22:26 +02:00
thiemowmde 2a4f186400 Remove obsolete PHPDoc copies from fully typed constructors
It's all in the code now. These comments don't add anything any
more.

Change-Id: I66a3723c4fe9ccce989f5b533390d5ce928dc195
2024-08-11 18:05:01 +02:00
libraryupgrader 7e7f5ccf3f build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: I2866ec0a464aa3f064fe7f56c096f173d6eaafdf
2024-08-11 07:37:09 +00:00
Translation updater bot 0f5e628519
Localisation updates from https://translatewiki.net.
Change-Id: If1bb25b6be0517b96795a0bc1b616c6eb1b33c4f
2024-08-09 09:34:59 +02:00
Jon Robson ccbe3feadb Dark mode styles should not apply to printed content
Bug: T371331
Change-Id: Ia5f1293dba2e7037de6058475b603d0928dbb3b0
2024-08-08 20:28:40 +00:00
Translation updater bot 6f71bf3a4f
Localisation updates from https://translatewiki.net.
Change-Id: Ibf336b8e71158b265c486242b84b8034bb119ffc
2024-08-08 09:19:37 +02:00
Translation updater bot e5c5bfa273
Localisation updates from https://translatewiki.net.
Change-Id: I5203f72b62f6e496a9db0a17af5857682c442ba3
2024-08-06 09:46:55 +02:00
jenkins-bot b9ddb177c2 Merge "Immediately show middle-clicked notifications as read" 2024-08-05 18:56:54 +00:00
Translation updater bot 0db129edd5
Localisation updates from https://translatewiki.net.
Change-Id: Iff043a1bcb5a3517f3f9ed141856d6b3e60a85d2
2024-08-05 09:24:54 +02:00
Rummskartoffel 17b4f21ff0 Immediately show middle-clicked notifications as read
Before this patch, middle-clicking notifications would still mark them
as read, but the user would only find out upon closing and re-opening
the notification tray or reloading the page.

Bug: T340179
Change-Id: Ic29af0c70354087cf5f783b5a7370241a86b4bf3
2024-08-04 22:45:38 +02:00
Translation updater bot e8f982a320
Localisation updates from https://translatewiki.net.
Change-Id: Ic97a772e5500f09559565ff50649cec220cd3f03
2024-08-02 09:39:20 +02:00
Translation updater bot 75c1ea714b
Localisation updates from https://translatewiki.net.
Change-Id: I432c3ac44860582d7b8f327441dee9fb0030ade3
2024-08-01 09:18:19 +02:00
Hannah Okwelum d5c8e435b7 Prepare Less styles for math=parens-division
Bug: T368921
Change-Id: If675d293fd625b20dba935b56ebf85f1b03ca5e8
2024-07-31 20:18:16 +01:00
Umherirrender 9380504852 Replace deprecated LinksUpdate::getAddedLinks
The current code uses deprecated TitleLinksTable::getTitleArray and that
is also using Title::newFromPageReference to get Title objects,
so performance issues or more memory usage are not expected.

Change-Id: I25d047ceb707837009e0a703693ebc2f49fc0ba9
2024-07-30 01:50:17 +02:00
Translation updater bot 76fabc3bb5
Localisation updates from https://translatewiki.net.
Change-Id: I09395a21a6306aa9003493ee0dabfa9a9617b957
2024-07-29 09:26:39 +02:00
jenkins-bot 2966c87804 Merge "Use namespaced MessageSpecifier" 2024-07-28 21:29:59 +00:00
Bartosz Dziewoński 88a5a4cbc6 Use namespaced MessageSpecifier
Depends-On: I9ff4ff7beb098b60c92f564591937c7d789c6684
Change-Id: I44aa53990bc11d24afa02399dc6dfec7d0c10b9a
2024-07-28 21:59:25 +02:00
jenkins-bot 777c649f96 Merge "Use overrideConfigValue/overrideConfigValues instead of setMwGlobals" 2024-07-28 13:45:00 +00:00
jenkins-bot d396f44ff8 Merge "Use expression builder instead of raw sql" 2024-07-26 18:29:36 +00:00
Fomafix e03f7c3e82 Use overrideConfigValue/overrideConfigValues instead of setMwGlobals
Also use MainConfigNames.

Change-Id: I80d6b3ef9d7b857e35d8f93f424db1cfca1301f6
2024-07-26 12:47:09 +00:00
Translation updater bot 4ae776fa5d
Localisation updates from https://translatewiki.net.
Change-Id: I4e068f563525d5eb802f0cdbf6bb80acff861f56
2024-07-26 09:44:38 +02:00
Translation updater bot 52c2037277
Localisation updates from https://translatewiki.net.
Change-Id: I59d04886203824b16b1173eff597212285ff2205
2024-07-25 09:18:53 +02:00
Dr4goniez 68aa29fb80 Fix type error caused by spread operator on number
`groupItems[ i ].id` is of type number, and using the spread operator
on it results in a type error. This prevented users from marking
multiple cross-wiki notifications as read, with the associated button.

Bug: T368643
Change-Id: I53d404445956de288aeda8fbfe1bdd1256214839
2024-07-24 15:45:54 +00:00
Translation updater bot 90bf6ae253
Localisation updates from https://translatewiki.net.
Change-Id: I26a0cc6e88c41e20ded14691547a220d85b9c307
2024-07-23 09:45:13 +02:00
Translation updater bot ebe56f8ebf
Localisation updates from https://translatewiki.net.
Change-Id: I1477a2b63a7e50197327aaf7c80f3a20d3e0b010
2024-07-22 09:24:26 +02:00
Umherirrender 552f362cd5 Use expression builder instead of raw sql
Change-Id: I6516951fc855dc32e864a3f21187b0a73daba7c8
2024-07-21 22:52:17 +02:00
Translation updater bot df36e81d3b
Localisation updates from https://translatewiki.net.
Change-Id: I94a717f9bc1bcbeb7a5b30b6515c043f674e879c
2024-07-19 09:40:06 +02:00
Translation updater bot e7e1ea5493
Localisation updates from https://translatewiki.net.
Change-Id: I81096fe42391f28085ef5a972833a5c64b642c89
2024-07-18 09:22:47 +02:00
Translation updater bot 967d5ee2e9
Localisation updates from https://translatewiki.net.
Change-Id: I691f404503f6eb2d4fcc97fed1e50ba8bd24cdf8
2024-07-17 09:33:32 +02:00
Translation updater bot 1c6a3c0c70
Localisation updates from https://translatewiki.net.
Change-Id: I7c22d6fe9ff30416cf9e2cd14d26c3bb87b509c8
2024-07-16 09:39:53 +02:00
Translation updater bot 4327920d7a
Localisation updates from https://translatewiki.net.
Change-Id: I532b9f3abb3dcad5fb3a96c31f71306e0b3d33aa
2024-07-15 09:23:53 +02:00
jenkins-bot 518a787b74 Merge "selenium: Document when, how and why a test is skipped" 2024-07-11 15:25:05 +00:00
Translation updater bot 0d0d17cb8e
Localisation updates from https://translatewiki.net.
Change-Id: I1138bfb4bfe71e47546ae0bc878c15bd8106dccc
2024-07-09 09:42:55 +02:00
Željko Filipin 78fe1911a4 selenium: Document when, how and why a test is skipped
Bug: T280652
Change-Id: I835e86ad663d77d2623637a06a27c7a90e007cb6
2024-07-08 15:17:13 +02:00
jenkins-bot bc08edbcbf Merge "Test:Replace db with getDb method" 2024-07-08 09:30:44 +00:00
Translation updater bot e0291b8b69
Localisation updates from https://translatewiki.net.
Change-Id: Ibe82a761a3584a1e5cb6ae08a00a6469ee342975
2024-07-08 09:32:48 +02:00
thiemowmde 7845b5fab1 Fix mistake in gender support for user group changes
This was a mistake in I53c0283, sorry. There are two users involved:
The "agent" is the user (typically an administrator) that made the
user group change, while the "viewing user" is the user for which the
user group was changed. When the "agent" moves the "viewing user"
into a new user group, the "viewing user" is the one that's now
a member of that group. They are what dictates the gender for the
"group-…-member" message.

Is this mistake bad enough for a backport?

Bug: T368249
Change-Id: I4916de2fb171873b625e51ee8823811e0296d323
2024-07-05 20:18:56 +02:00
Wandji69 633682d56d Test:Replace db with getDb method
Bug: T316841
Change-Id: Ia135648c0666632165bfbe29b6587e6676082d54
2024-07-05 17:08:51 +01:00