Commit graph

7251 commits

Author SHA1 Message Date
Translation updater bot 018c9bc81a
Localisation updates from https://translatewiki.net.
Change-Id: I6fe6f0df8137275117a9d22f100a23cb3944c2ce
2024-10-14 09:29:02 +02:00
jenkins-bot 5128e3c288 Merge "Fix improper @private documentation in .js code" 2024-10-08 11:23:15 +00:00
Translation updater bot 8964b251d7
Localisation updates from https://translatewiki.net.
Change-Id: I2c235f7757c78ee4f6960225bad1d33bf0fcedde
2024-10-08 09:42:34 +02:00
James D. Forrester 291ea47dd3 tests: Namespace the PHP classes
This might make dependencies easier to find.

Change-Id: I158fd9f63f18a2b8da0368ac95d5fb5aa9bca3ff
2024-10-03 20:30:06 +00:00
Translation updater bot 7f9637e543
Localisation updates from https://translatewiki.net.
Change-Id: I5c7a98b2fa6559a8a6de6768abdee13953e4b055
2024-10-02 09:24:03 +02:00
Translation updater bot 7776cde84c
Localisation updates from https://translatewiki.net.
Change-Id: I090d63afba6815ba722553ea0f086674c75d873f
2024-09-30 09:21:00 +02:00
Translation updater bot 2cc5f4db96
Localisation updates from https://translatewiki.net.
Change-Id: I17aec82e6753c3e64e54c7e393568546b50de79a
2024-09-27 09:18:41 +02:00
Translation updater bot bb47448a8a
Localisation updates from https://translatewiki.net.
Change-Id: I18232c26a9b93f6fa32d33b01e4b27b3337016bd
2024-09-23 09:21:24 +02:00
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
thiemowmde fbcb1a5831 Fix improper @private documentation in .js code
@private usually means "cannot be used outside of this class". But
this is used. I assume it's meant to be @internal as in "internal to
this codebase".

Change-Id: I9326e17f706af336ea0d4b7c0af95330ed575810
2024-08-11 17:51:26 +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