Commit graph

7068 commits

Author SHA1 Message Date
Translation updater bot 1eddc21022 Localisation updates from https://translatewiki.net.
Change-Id: I31effe74360f13bdb7d52dbe4bdb7c54315f00bf
2024-01-08 09:15:24 +01:00
anterdc99 2c556dc642
Add aliases for Simplified & Traditional Chinese
What:
* Added aliases of Special:DisplayNotificationsConfiguration
* Added aliases of Special:NotificationsMarkRead

Change-Id: I8145a4ddd5ee975819980edbf7ee4f4996e7a50b
2024-01-07 16:55:25 +08:00
Translation updater bot 6ea2080d64 Localisation updates from https://translatewiki.net.
Change-Id: I80f32eb853993d5b73b35f86afd69b95dcad7c82
2024-01-05 09:12:34 +01:00
jenkins-bot 17ec20e0d6 Merge "Prevent clicks on bundled notif list from activating the bundle link" 2024-01-02 13:00:29 +00:00
jenkins-bot 8641483ac4 Merge "Fix borders of bundled notifications inside a bundle" 2024-01-02 13:00:26 +00:00
Translation updater bot 8de136b280 Localisation updates from https://translatewiki.net.
Change-Id: I1b2b7d90e55539931998df38640ae9d79224e8ec
2024-01-02 10:16:01 +01:00
Translation updater bot d9ebc3a7a0 Localisation updates from https://translatewiki.net.
Change-Id: I5ce146aa8ba41f3e9d536aecbfad0d20be1570f5
2023-12-28 14:49:46 +01:00
Translation updater bot 6e6369ac66 Localisation updates from https://translatewiki.net.
Change-Id: If4112b6f17ced30829506df41529778ec677a02e
2023-12-26 14:42:43 +01:00
Translation updater bot 68a639a0c4 Localisation updates from https://translatewiki.net.
Change-Id: I69e6085a052c38df97a5652357dbf794de3efec4
2023-12-22 17:45:48 +01:00
Reedy 0bc5808783 Drop schema updates from MW 1.33 and 1.34
Change-Id: I9515984e294cd3910a841a07eb3239fa20040a3e
2023-12-22 01:56:23 +00:00
Translation updater bot 36cf0becf0 Localisation updates from https://translatewiki.net.
Change-Id: I96d8976100f200c1abcbc827d8f3acf0aafe44b3
2023-12-21 19:45:14 +01:00
jenkins-bot fd16e04f7d Merge "build: Update linters" 2023-12-20 23:09:30 +00:00
Translation updater bot 025a3858bd Localisation updates from https://translatewiki.net.
Change-Id: I13a1c10cac822f17b4580a420dc351adfc574492
2023-12-20 14:04:42 +01:00
Translation updater bot 5b9ce0bc46 Localisation updates from https://translatewiki.net.
Change-Id: I83518f2561cc79149dea769aa61cee2d0539afdc
2023-12-18 18:17:08 +01:00
Bartosz Dziewoński de94e4ebe0 Prevent clicks on bundled notif list from activating the bundle link
If you click "Expand" on a notification bundle, the list of individual
notifications appears below. The list has a thin band of whitespace
around it (with grey background). Clicking inside that whitespace,
outside of the list items, would activate the bundle's primary link,
even though the cursor state did not show that would happen.

Change-Id: Id8c60503fa45f61df5bfaa07e0184634a5263c61
2023-12-16 02:28:13 +00:00
Bartosz Dziewoński 113da4ec5d Fix borders of bundled notifications inside a bundle
Follow-up to 00d6928144. I simplified
the styles too much :( They worked for cross-wiki notifications, but
not regular bundled notifications. I didn't realize they were styled
differently…

* Add the border to bundled non-cross-wiki notifs
  (this requires changes in SortedListWidget.js to add a wrapper)
* Hide the border until the list loads
* Remove unnecessary margin

Change-Id: I30c5bec11ddb49defa5957f0917f01057a3c21e7
2023-12-16 02:13:09 +00:00
Translation updater bot c7fa1a4c09 Localisation updates from https://translatewiki.net.
Change-Id: I5664b0d33729b0e0024387d1cf95c39192f3eb3b
2023-12-14 08:27:26 +01:00
Umherirrender 9c94786dea tests: Use TestingAccessWrapper::newFromClass in DiscussionParserTest
Currently using ReflectionProperty::setValue(), which is deprecated for
static values in php8.3

Change-Id: If53b7ae9d58e8e5d6eb95f6fff07038b9c1bdd42
2023-12-13 20:43:18 +01:00
Martin Urbanec 1e7c1ae8e4 Hooks: Remove override for email reverted
This override is not actually overriding anything,
as we default to false for most email notifications,
including reverted. This just confused me for some time,
so removing the line to avoid that re-happening.

Bug: T353225
Change-Id: Iccd28d61c6fec860ceeb3527827089a65bf17ff8
2023-12-13 11:47:51 +01:00
Translation updater bot b985b7357b Localisation updates from https://translatewiki.net.
Change-Id: I6543bafe9746a851976efd66bb8333cc74774e45
2023-12-13 08:40:49 +01:00
Umherirrender a0ca1d89c6 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statements done manually

Change-Id: Iad87245bf8082193be72f7e482f29e9f1bad11fc
2023-12-11 16:39:00 +01:00
Translation updater bot 8a4eecac0c Localisation updates from https://translatewiki.net.
Change-Id: I9f18eb6de42a0fde9d64f57e5822591d7e322b20
2023-12-11 10:43:06 +01:00
Translation updater bot 268443c321 Localisation updates from https://translatewiki.net.
Change-Id: Ic29fa24663da34253006c1fc497c9dc59d322bd8
2023-12-08 14:45:23 +01:00
Translation updater bot dbc03d9756 Localisation updates from https://translatewiki.net.
Change-Id: I829b319a734c6362bf5216cfaee89cf4fa45d504
2023-12-06 09:59:04 +01:00
Translation updater bot a458dad3b7 Localisation updates from https://translatewiki.net.
Change-Id: I1b093fe1371f80fd01fe42a1bcedc47041f4b7bd
2023-12-05 09:14:37 +01:00
Ed Sanders 2f61c46cf0 build: Update linters
Change-Id: I234e460ce1d1887af17c90cb9536aea76e295ca8
2023-12-04 14:11:35 +00:00
Translation updater bot 5ab5a5be15 Localisation updates from https://translatewiki.net.
Change-Id: I6fd6394a920b4084751aa772c63bbcd3e52688dc
2023-12-04 09:04:01 +01:00
Translation updater bot d1cb11f005 Localisation updates from https://translatewiki.net.
Change-Id: I5307f5c45138d951762729b998fd6dc8b07b810e
2023-12-01 09:39:18 +01:00
Translation updater bot fa3346b860 Localisation updates from https://translatewiki.net.
Change-Id: I6549a37674d0c218969b0fc7e894d3c4fdc02094
2023-11-30 09:37:53 +01:00
gerritbot 2560aa4b7f Update UserOptionsLookup's FQN
User-options related classes are being moved to the MediaWiki\User\Options namespace in MediaWiki Core; reflect that change here.

Bug: T352284
Depends-On: I9822eb1553870b876d0b8a927e4e86c27d83bd52
Change-Id: Ic3e56c6e2ec606bbecbd630d8ad96d111cab24d3
2023-11-29 15:34:02 +00:00
gerritbot 51760eefcc Update UserOptionsManager's FQN
User-options related classes are being moved to
the MediaWiki\User\Options namespace in MediaWiki Core;
reflect that change here.

Bug: T352284
Depends-On: I9822eb1553870b876d0b8a927e4e86c27d83bd52
Change-Id: Iddefd90b03a4751fce3f44e9fa0086082b21ae93
2023-11-29 12:55:39 +00:00
Translation updater bot f67e67ade6 Localisation updates from https://translatewiki.net.
Change-Id: I07e6163818e147a27cc9230f0ef209a79e76b15d
2023-11-29 08:30:58 +01:00
jenkins-bot 70051070e4 Merge "Simplify notification widget border styles" 2023-11-28 23:19:44 +00:00
jenkins-bot cf9ba679be Merge "Fix deprecated code paths" 2023-11-27 12:58:08 +00:00
Translation updater bot 12a6357220 Localisation updates from https://translatewiki.net.
Change-Id: I9b5f06f7071a5ab6689dc2c668147c46834c795d
2023-11-27 08:32:14 +01:00
Daimona Eaytoy 164b3b9148 Update tests for PHPUnit 9.6
- Avoid withConsecutive()

Bug: T342110
Change-Id: I1c68e9b259039d58b468f25ed2e6fd0f73d70776
2023-11-21 23:55:06 +01:00
Translation updater bot ecac78acea Localisation updates from https://translatewiki.net.
Change-Id: I781c5037292a846f7992c4c37f9a74497b57ab94
2023-11-20 08:51:18 +01:00
jenkins-bot 46cd111d24 Merge "Fix unnecessary scrollbars on notifications popup" 2023-11-17 19:08:07 +00:00
Bartosz Dziewoński 00d6928144 Simplify notification widget border styles
Change-Id: I86362ffc4649146cb6e25e4493c37731c5915677
2023-11-17 13:42:31 +01:00
Bartosz Dziewoński 24fdeb0170 Fix unnecessary scrollbars on notifications popup
While loading or when there were 0 notifications, the popup displayed
with a scrollbar gutter, in a displeasingly different color.
When there weren't enough notifications to require a scrollbar,
the scrollbar was shown anyway.

These issues were caused by these rules, which don't seem necessary
any more. They were added for T130153 and T159888 (and a mysterious
scrollbar rendering bug), and I can't reproduce any of these bugs.

Bug: T351481
Change-Id: I370166ce31c86ae531080490c455286879999ae5
2023-11-17 13:18:20 +01:00
Translation updater bot fb75814bd3 Localisation updates from https://translatewiki.net.
Change-Id: Ife4f6888180c0c8b4a962375b66ace401080e003
2023-11-17 08:52:32 +01:00
jenkins-bot eca1091cb5 Merge "Use $this->getServiceContainer() in maintenance and tests" 2023-11-16 21:03:26 +00:00
jenkins-bot 1026158453 Merge "Remove unused CSS classes." 2023-11-16 13:13:10 +00:00
Ed Sanders 37b9ae3ed8 Remove unused CSS classes.
* user-button removed in I55c18cf72.
* mw-notifications-widget removed in I34e27364.

Change-Id: I802be3c15fd3d09f72094fc36e101ad38864ef41
2023-11-16 10:46:23 +00:00
Jon Robson da2c42b8a5 Fix deprecated code paths
mw.mobileFrontend is deprecated

Bug: T348807
Change-Id: I0790a0973bfb0f2f9daa6b1e3c234a1b6358f8e5
2023-11-14 10:21:46 -08:00
jenkins-bot 66c80eba34 Merge "Unsets icon correctly" 2023-11-13 20:51:55 +00:00
Jon Robson a3d2f9827e Unsets icon correctly
Fixes the rendering of an empty icon in Vector 2022
(empty string is a valid icon - blank icon)

Bug: T350195
Change-Id: I7b19d7e1e85eddd5a4bac29008cd53f14d640a08
2023-11-13 11:18:07 -08:00
Translation updater bot 9ede208a6f Localisation updates from https://translatewiki.net.
Change-Id: I73ba8b2108b383c3c0e4e8b1386174a90782e30b
2023-11-13 08:40:48 +01:00
Fomafix 829003cabf Use $this->getServiceContainer() in maintenance and tests
Use
	$this->getServiceContainer()
instead of
	MediaWikiServices::getInstance()
in maintenance and tests.

Change-Id: I845e8f083b19da093166d6551683f2013eec7bb1
2023-11-09 20:18:48 +00:00
Translation updater bot e4f2c0e4b0 Localisation updates from https://translatewiki.net.
Change-Id: I5a6913da7fe833e45f3dbf898b27b64f10ab3fdd
2023-11-08 13:07:31 +01:00