Commit graph

7242 commits

Author SHA1 Message Date
Umherirrender f95c0cc11d Pass function name to HttpRequestFactory::create
Change-Id: Ie48127731f0731f780e153f6aacce25961acc3ed
2024-09-19 22:48:37 +02:00
Gergő Tisza 89a3a1fc57 DiscussionParser: Do not create User objects from subpages
Bug: T375212
Change-Id: Id409a4f9adcda840400e529db72eb696ec55b3f4
2024-09-19 16:06:00 +00:00
Translation updater bot 816ca3ad47
Localisation updates from https://translatewiki.net.
Change-Id: I69b569e6d92245d2eeaf65ab5452903cefc53905
2024-09-19 09:18:06 +02:00
Translation updater bot 2eb264770b
Localisation updates from https://translatewiki.net.
Change-Id: I50c797f2eca214f2088696bf36df42d3bf834f97
2024-09-16 09:25:59 +02:00
Translation updater bot 5ff9e343ff
Localisation updates from https://translatewiki.net.
Change-Id: I2ab86b91603a77170721d7059132597ff8dd2cbd
2024-09-05 09:23:55 +02:00
Translation updater bot 96bb324fe1
Localisation updates from https://translatewiki.net.
Change-Id: If64219056e723de70510e7566393cc6a175ce03e
2024-09-04 09:16:21 +02:00
Sjoerd de Bruin e289b69f20 Set Codex-token for @notification-background-unseen
Bug: T370042
Change-Id: Ic91a853431a813aa77e8d7dcfadf863da56182c1
2024-09-02 17:31:47 +02:00
Translation updater bot 28c463e16b
Localisation updates from https://translatewiki.net.
Change-Id: I1874d622fd435706582db006c9149a41724614dd
2024-09-02 09:20:39 +02:00
Translation updater bot 89b02c67ba
Localisation updates from https://translatewiki.net.
Change-Id: I077160ae1173f887a137c0ee6b81d73295ba11ff
2024-08-28 09:38:07 +02:00
jenkins-bot b502c52a94 Merge "build: Update MediaWiki requirement to 1.43" 2024-08-27 14:54:28 +00:00
Translation updater bot 183d81c29d
Localisation updates from https://translatewiki.net.
Change-Id: I3180d8eed503e29953fad93cfbfacb179c48f268
2024-08-27 09:47:39 +02:00
Translation updater bot 0b1f206acf
Localisation updates from https://translatewiki.net.
Change-Id: I4c52a228d5e54e76cd4c3e0409babad2ab5965e1
2024-08-26 09:22:08 +02:00
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
James D. Forrester 017b93680c build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I9d775e6ef178200dd179454dccd9d249b280e9be
2024-08-22 16:58:41 -04: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