Commit graph

7042 commits

Author SHA1 Message Date
Umherirrender a0cb29f1a2 Check for empty strings in markasread query param
explode always returns an array with one item, even for the empty string
Filter out every possible empty string

Change-Id: I0cf0794c0f3e0eedab7e5626e973d8458b28e46a
2021-09-20 22:57:17 +02:00
Translation updater bot 13df1d9e11 Localisation updates from https://translatewiki.net.
Change-Id: Ie6797e6af09ae035695d41c4a26fdd8e73c5fa43
2021-09-20 08:18:52 +02:00
Umherirrender 76227585f9 Avoid non-namespaced aliases for Wikimedia\Rdbms namespace
Change-Id: Ic924c72cb06d09bebd42272f204c3666ce62844b
2021-09-18 20:06:54 +02:00
Translation updater bot 3bd94c99bf Localisation updates from https://translatewiki.net.
Change-Id: I34fc53e1c036b912ccaf7e54fdf69069f1bba950
2021-09-17 08:45:17 +02:00
Bartosz Dziewoński 840edd835f Clarify the references to talk pages in notification preferences (#2)
Follow-up to d4564f1e00.

Bug: T286954
Change-Id: I0b182ccdf04f4d21ac045e047c100173b8526564
2021-09-15 22:21:22 +02:00
Translation updater bot 97771e3369 Localisation updates from https://translatewiki.net.
Change-Id: If01c84cdf53e822ad337f97764575cbfd513c893
2021-09-14 08:32:42 +02:00
jenkins-bot f6ac02aec7 Merge "Remove obsolete LESS box-shadow() mixin" 2021-09-13 07:50:51 +00:00
Translation updater bot a1dc84e6e5 Localisation updates from https://translatewiki.net.
Change-Id: Idacd828c5c020a4625407beef277404a38274f5e
2021-09-13 08:29:29 +02:00
Volker E eb8e3b5aac Remove obsolete LESS box-shadow() mixin
Replace with unprefixed property.

Bug: T290796
Change-Id: I5dbdd915330d24deb226932e7d4b3bb4d55799f3
2021-09-11 02:51:30 -07:00
Translation updater bot e5ae6910f4 Localisation updates from https://translatewiki.net.
Change-Id: I22a5b9b15b053dc1f17041b8991d43bebfedd15e
2021-09-10 08:15:29 +02:00
libraryupgrader 43efb95e8b build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: If2e235fb97c0d39c3c14ba7c423ef45f5c0013d0
2021-09-08 23:40:19 +00:00
jenkins-bot ebd9c6a9f9 Merge "Alter use of deprecated methods to ones called 'Primary'" 2021-09-07 17:18:42 +00:00
Translation updater bot f4b4e025fc Localisation updates from https://translatewiki.net.
Change-Id: I2bf49de127f01b535ec59219a733dd57f8eaadcb
2021-09-06 08:20:41 +02:00
libraryupgrader 7d4448e4e9 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: Ib5affe3e76c81e3b077c4b787a172ec50f30a499
2021-09-04 19:42:56 +00:00
James D. Forrester a47a421696 Alter use of deprecated methods to ones called 'Primary'
This extension already depends on MW 1.37, so all these methods exist.

Bug: T254646
Depends-On: I9a90b4f74eb65cd9e20ae9faa6d1949be96543c0
Change-Id: Iebfdd33d3a967c87fbf87382a010a01da5cd4fc8
2021-09-03 17:46:20 -07:00
jenkins-bot 454f6037bb Merge "You have talk page messages item should never have icon" 2021-09-03 19:42:54 +00:00
jdlrobson bd02290724 You have talk page messages item should never have icon
talk-alert copies the mytalk link but does not disable the icon.
In future this will cause an unexpected icon to appear on the
message bar which is not wanted.

Change-Id: Icd585ad846275a140eb08edf99e1b27257484941
2021-09-03 19:22:12 +00:00
Kosta Harlan d21f8d2bb7 Remove uses of .box-shadow() mixin
The .box-shadow() LESS mixin is now obsolete as box-shadow is supported
without any vendor prefix fallbacks, and planned to be removed by the
next MediaWiki release.

Bug: T283352
Change-Id: I3a4f5299b1d6b12e4dbfa68864613f5923957607
2021-09-03 19:21:39 +00:00
jdlrobson 3f0322e16c getContent can return null
Change-Id: I535294682b59fea6c465828facd668b4f60efe6c
2021-09-03 16:34:36 +00:00
Translation updater bot c2fb14e9c1 Localisation updates from https://translatewiki.net.
Change-Id: I35807eee6d57aba99529391b149880824588df52
2021-09-02 08:26:16 +02:00
Translation updater bot 5167ea0620 Localisation updates from https://translatewiki.net.
Change-Id: I70718506ac316b73e335e5017276fc1d8ee1f349
2021-09-01 08:16:13 +02:00
Translation updater bot a898df055e Localisation updates from https://translatewiki.net.
Change-Id: Ib80011e24c59b3417f3f6acf84e43c6c5232448d
2021-08-31 08:15:41 +02:00
Translation updater bot 30afb5746f Localisation updates from https://translatewiki.net.
Change-Id: I26b9a59e6a4cc4c6703291a378022cef03b7ae1e
2021-08-30 08:20:07 +02:00
jenkins-bot d94e62fde5 Merge "Push: Make default notification options mirror web if push is enabled" 2021-08-29 03:57:37 +00:00
Translation updater bot fb5c89e413 Localisation updates from https://translatewiki.net.
Change-Id: I9ddcf068448bfbe3ecebdb9207960357972b296a
2021-08-27 08:43:43 +02:00
Amir Aharoni 5156baf822 Remove double spaces from messages
Change-Id: I8f8b9e729296ed87315048e4113ab9773c1415cf
2021-08-26 17:51:10 +03:00
Translation updater bot 51ed264d31 Localisation updates from https://translatewiki.net.
Change-Id: Ic5d9ebc4d820c60b487668f4fb54c32121423bc2
2021-08-26 08:36:03 +02:00
Translation updater bot 7bc29d07bf Localisation updates from https://translatewiki.net.
Change-Id: I8fb3b6cb5b2ce2f912dad8f20e9fdbe865d1abf4
2021-08-24 10:21:07 +02:00
jenkins-bot 7e9565cba1 Merge "Fix camelCase of getUserEnabledEventsBySections" 2021-08-23 20:48:28 +00:00
jenkins-bot 6d55b5a0bd Merge "Make DEFAULT_SECTION a constant" 2021-08-23 20:45:01 +00:00
Translation updater bot aaf8d8a98c Localisation updates from https://translatewiki.net.
Change-Id: I205bb1bf3cc19bddf693f294a45f7dd9bd3917fe
2021-08-23 09:03:53 +02:00
Matěj Suchánek 628122e155 Fix camelCase of getUserEnabledEventsBySections
Change-Id: I14b6750f7f3cc5334e3143f0e85ca033681b4e35
2021-08-20 17:03:28 +00:00
Matěj Suchánek 6cd82d25a7 Make DEFAULT_SECTION a constant
Change-Id: I565f1e127cfffcbdad8fe5f6cb81a71bf86136f8
2021-08-20 18:59:34 +02:00
jenkins-bot 31a5ab4e7b Merge "Parse messages in hook onSkinTemplateNavigationUniversal" 2021-08-20 08:06:48 +00:00
jenkins-bot e3850832bc Merge "Use EchoEventPresentationModel::msg inside models" 2021-08-20 08:03:35 +00:00
Translation updater bot ef3347fc49 Localisation updates from https://translatewiki.net.
Change-Id: Id3ce4b877b2be5294e98f532214fa9f2ca3f6754
2021-08-20 08:24:05 +02:00
Umherirrender 6c3dc7449f Parse messages in hook onSkinTemplateNavigationUniversal
Using 'text' in skins must provide a string,
not a message (see Skin->makeLink)
Avoid also global state by using the SkinTemplate as ContextSource for
the message

Change-Id: Ie736487023d7aeb31cdb1829ba59adeb0ba2b022
2021-08-20 00:44:31 +02:00
Umherirrender b4617bfa31 Use EchoEventPresentationModel::msg inside models
Avoid global state for the message

Change-Id: I0a961aeed9c352ebbe24d07f0986cdac2c457e37
2021-08-20 00:39:39 +02:00
Translation updater bot ed4a80422d Localisation updates from https://translatewiki.net.
Change-Id: I7d00b788b6898f13c20cb882152d5e2ec73b7d58
2021-08-19 08:13:24 +02:00
jenkins-bot 5cfc33d546 Merge "Add notifiertypes parameter to ApiEchoNotifications" 2021-08-19 05:06:57 +00:00
jenkins-bot fa5a623be0 Merge "Move isBundleExpandable to EchoAttributeManager" 2021-08-19 02:02:46 +00:00
jenkins-bot 25439c471b Merge "Use constant in EchoAttributeManager::getNotificationSection" 2021-08-19 02:02:44 +00:00
Matěj Suchánek 199c9084d4 Move isBundleExpandable to EchoAttributeManager
It's an attribute, so it is definitely the manager's
responsibility. Unit test case included.
(EchoDataOutputFormatter really calls for becoming a service.)

Change-Id: If2658dd8c107246158cd93cbb233d8af62fd4424
2021-08-18 18:23:22 -07:00
Michael Holloway 4a5d1d5ad3 Push: Make default notification options mirror web if push is enabled
Bug: T288770
Change-Id: I445b7a302b7be615a4b796fd8cd946c2a0f98a4e
2021-08-18 17:58:44 -04:00
Translation updater bot 15c72fe4ed Localisation updates from https://translatewiki.net.
Change-Id: I2ac7f45016c0c76096dd5eb18ed1a80906612cf1
2021-08-18 08:13:28 +02:00
Michael Holloway 5eb4c6cd1d Add notifiertypes parameter to ApiEchoNotifications
Previously, ApiEchoNotifications returned only events which were
enabled for the `web` notifier type. With this change, the notifier
type or types to consider can be specified by argument to the new
`notifiertypes` parameter.

This change is required so that the apps can request notification
content from the API for push notifications.

Bug: T287909
Change-Id: I2d1155e113f2defb0f02416a7a659c3ee162d3a6
2021-08-17 10:27:14 -04:00
Translation updater bot 0d5bd6fd18 Localisation updates from https://translatewiki.net.
Change-Id: Ia938ba88e3a3872acc5d2e9ce0a7774812139bd0
2021-08-17 08:19:19 +02:00
jenkins-bot 45ed9cac93 Merge "Clarify the references to talk pages in notification preferences" 2021-08-16 20:43:34 +00:00
Bartosz Dziewoński d4564f1e00 Clarify the references to talk pages in notification preferences
Bug: T286954
Change-Id: I6c9a65501619a3d80f431b0b5fa9ca4a9aec5b1e
2021-08-16 21:58:49 +02:00
Translation updater bot 4b73c510c8 Localisation updates from https://translatewiki.net.
Change-Id: I6a064f27942f2f3b7d05fb0a33d992a97e99de01
2021-08-16 08:16:15 +02:00