Commit graph

3530 commits

Author SHA1 Message Date
Translation updater bot 6d4eb2e87b Localisation updates from https://translatewiki.net.
Change-Id: I9ee45a884b8689a7376bd8d0452b82d4a9ef1659
2023-08-17 12:09:46 +02:00
Umherirrender 1a8ee0f3d1 Call IDatabase::insertId only when a row was inserted
As docs says on IDatabase::insertId

Change-Id: I4a61ce625c4f31316bb9eee83f293a438bac2e0e
2023-08-16 20:54:09 +02:00
jenkins-bot ca800cf631 Merge "Use UpdateQueryBuilder and InsertQueryBuilder" 2023-08-16 18:50:19 +00:00
jenkins-bot d28b11383e Merge "Make ApiDiscussionToolsEdit non-internal, add 'tags'" 2023-08-16 17:00:37 +00:00
Martin Urbanec 16ac49fe61 Make ApiDiscussionToolsEdit non-internal, add 'tags'
What:
Growth wants to use ApiDiscussionToolsEdit to
post questions on behalf of new users (to make use
of the auto-subscribing logic DiscussionTools has).

This seems like a good moment to make the API
non-internal.

What:
* Add support for 'tags' parameter
  (this doesn't actually work w/o the depends-on)
* Add autosubscribe parameter to give more control
  to callers over whether autosubscription is used.
* Remove isInternal()

Bug: T343339
Bug: T333632
Depends-On: I0ac60ca8473fe28461b2da60f9911baac4994388
Change-Id: I39727de40557d2494f4d60bf224490caaedfdee1
2023-08-16 16:52:38 +00:00
jenkins-bot f93cb2278b Merge "Wait for mobile.init before doing initial highlightTargetComment" 2023-08-16 16:07:19 +00:00
jenkins-bot a7b703c589 Merge "Use HookHandlers for BetaFeatures hook" 2023-08-16 08:51:41 +00:00
Translation updater bot 761789f28a Localisation updates from https://translatewiki.net.
Change-Id: Ic078764b5d950f7f526ced75c8fc4e4fd529ab15
2023-08-16 09:11:31 +02:00
jenkins-bot de9ad429ee Merge "Use HookHandlers for Echo hook" 2023-08-16 05:26:09 +00:00
Umherirrender e5cbc838a8 Use HookHandlers for BetaFeatures hook
Bug: T273303
Change-Id: I685eb618b7ca2dc5b10bc5f08bfd235f682ff3c5
2023-08-16 05:23:25 +00:00
Umherirrender 3515751592 Use HookHandlers for Echo hook
Bug: T273303
Depends-On: Iffa2b409502b4269c9746e0304feb4aaee37a86e
Change-Id: I489a37b7b377b874ab3384bdc071e9c63701345a
2023-08-16 00:39:43 +02:00
Ed Sanders 2f280e11c4 Wait for mobile.init before doing initial highlightTargetComment
Change-Id: If0e4f1d0e917a058eae26fd4848382ea1ac5241a
2023-08-15 17:04:17 +01:00
jenkins-bot a6ffd38185 Merge "Remove 'internal' flag from ApiDiscussionToolsSubscribe/GetSubscriptions" 2023-08-15 16:03:24 +00:00
Translation updater bot 941ef45433 Localisation updates from https://translatewiki.net.
Change-Id: Icee6218562d3ea407e24796c148eaee93aa0cc5c
2023-08-15 08:25:48 +02:00
jenkins-bot b52bff0257 Merge "Handle Parsoid resource limit exceeded exceptions" 2023-08-14 13:33:49 +00:00
Translation updater bot 077cc2c411 Localisation updates from https://translatewiki.net.
Change-Id: I436ba819e55d079c05a1f1c18a07d25fc3b81ff9
2023-08-14 09:17:32 +02:00
C. Scott Ananian 0de3f468c3 Remove unnecessary use of Parser
Change-Id: Ib86ed6300ae85d7d69557a11bbd8f7b409e11d6c
2023-08-12 00:23:49 +02:00
Arlo Breault 3d9585acbe Handle Parsoid resource limit exceeded exceptions
Parsoid can be expected to throw limit exceeded exceptions so a more
graceful response should be provided.

Bug: T325298
Change-Id: I6bedc7639a68311d5247331d5e53f88c004ebc5e
2023-08-11 18:06:26 -04:00
jenkins-bot fce524c9f8 Merge "Use passive event listeners for window scroll events" 2023-08-11 21:30:17 +00:00
Bartosz Dziewoński 505aef8a60 Use UpdateQueryBuilder and InsertQueryBuilder
Change-Id: I8d8377a0ad3472d193b1bf9b20c8966bb6b34dd7
2023-08-11 21:59:03 +02:00
Translation updater bot baa6a39b21 Localisation updates from https://translatewiki.net.
Change-Id: Id628dbe3e7623c3dd7dead4efc85bbfc3b90a8ae
2023-08-11 09:00:00 +02:00
Translation updater bot 1942d14ef1 Localisation updates from https://translatewiki.net.
Change-Id: I22597c572f3f094ec5810387f7a0a0a8b4d65d9b
2023-08-10 09:40:36 +02:00
Ed Sanders 16924515df Use passive event listeners for window scroll events
TODO comments suggested using the VE helper util, but
that is no longer necessary since all our browsers
support passive events.

Change-Id: I7026d4c5013857f25f4474b3bec840af6fbf9fb6
2023-08-09 16:43:39 +01:00
Translation updater bot c754c93278 Localisation updates from https://translatewiki.net.
Change-Id: I5ff596660cb4015adf2d854c203682c515f5b572
2023-08-09 09:14:55 +02:00
Translation updater bot 239010fbf7 Localisation updates from https://translatewiki.net.
Change-Id: Iadd064bdba9778c8036f9e66f6c15eb2e0a1ea8b
2023-08-08 09:00:49 +02:00
Daimona Eaytoy ec41af6e8b Avoid DB access in non-database tests
Use mocks in CommentFormatterTest to avoid DB access, because the test
doesn't need it.

Add EventDispatcherTest to the Database group because it uses Parser,
whose DB access is hard to prevent.

Change-Id: Idfbf6c83a454f359e491e8c61e0629aad643d54f
2023-08-07 21:46:14 +02:00
Ed Sanders db53ae0a48 Remove 'internal' flag from ApiDiscussionToolsSubscribe/GetSubscriptions
Bug: T329474
Change-Id: Ie8e745fc83a320134d3790012311c4b35c7f3934
2023-08-07 15:14:58 +01:00
Translation updater bot 0ef532149b Localisation updates from https://translatewiki.net.
Change-Id: I1a2eacc8bbc48db3380c85a8d9816cdb9ebe5225
2023-08-07 08:38:14 +02:00
Bartosz Dziewoński a783b9371f ThreadItemStore: Ignore duplicates caused by duplicate executions
For some unknown reason our updates are being processed more than once
at the same time. Ignore or work around the "duplicate entry" errors
caused by that.

Bug: T323080
Bug: T341811
Change-Id: Iaae1dc2d5ed5bf4ac6760fb1d39dc21f2af89e9a
2023-08-04 18:56:36 +00:00
Bartosz Dziewoński 66b1ca1578 ApiDiscussionToolsPreview: Add missing documentation messages
Bug: T342634
Change-Id: If550d6ccf6fb8256d2f252d796f8bc4651dc8f7b
2023-08-04 20:55:13 +02:00
Translation updater bot 79ed131497 Localisation updates from https://translatewiki.net.
Change-Id: If4a9d0eea60f059540d6a0c9fea017ee9dcf4113
2023-08-04 09:20:18 +02:00
Translation updater bot 8d6dbe28b9 Localisation updates from https://translatewiki.net.
Change-Id: Ibba2458f4d4418d423cce4605f595c4fc8508da4
2023-08-03 08:48:27 +02:00
Translation updater bot 7c01abeaa4 Localisation updates from https://translatewiki.net.
Change-Id: If0c4196f6a9301777577b8ac928f9fc96a8fbee7
2023-08-02 09:03:55 +02:00
jenkins-bot f86bd42f01 Merge "Enable automatic topic subscriptions for autocreate accounts" 2023-08-01 16:38:27 +00:00
Translation updater bot 3bfa6f91c4 Localisation updates from https://translatewiki.net.
Change-Id: Ieccaf8b65c5838f186dfb9d1fe91b5cefc9c2e20
2023-08-01 08:36:26 +02:00
Ed Sanders eb8a689069 Enable automatic topic subscriptions for autocreate accounts
Bug: T332618
Change-Id: I0a9ed795b7a28365bca199a2db44217e53063002
2023-07-31 13:39:46 +01:00
Translation updater bot a9217efa79 Localisation updates from https://translatewiki.net.
Change-Id: I2395810e3de7b44a0b8da6bdc2787dec48359c48
2023-07-31 08:57:14 +02:00
Translation updater bot 8e0c2cba9a Localisation updates from https://translatewiki.net.
Change-Id: If11a2dfeaeec02a0fc0d80036b5d6c72207ccca9
2023-07-28 09:19:43 +02:00
Translation updater bot cfc804025f Localisation updates from https://translatewiki.net.
Change-Id: I4f54b6fd3eee0aa5027f6ec5e20cc30885e662dc
2023-07-27 10:48:30 +02:00
Ed Sanders e389fc48f1 Always use === in PHP
Change-Id: I30ca7cdf73921dcae48997841816099972cdbed0
2023-07-26 14:29:40 +01:00
jenkins-bot 5bf0110b4b Merge "Replace uses of UserNameUtils::isTemp with UserIdentityUtils::isTemp" 2023-07-26 12:54:48 +00:00
jenkins-bot e0763d81ed Merge "Use strict comparison with array_search" 2023-07-26 12:09:21 +00:00
Thalia ec8048131d Replace uses of UserNameUtils::isTemp with UserIdentityUtils::isTemp
Where a UserIdentity is available, use UserIdentityUtils, which has
fewer dependencies.

Change-Id: I035bfbc7801f4ac77a8c6f0991f0fdf71b8fb429
2023-07-26 11:32:27 +01:00
Translation updater bot 02ec113a21 Localisation updates from https://translatewiki.net.
Change-Id: I9649b8dafd998577e9a4fa69045d8c3884a6e6b9
2023-07-26 10:26:41 +02:00
jenkins-bot 93fd13c576 Merge "UsernameCompletionAction: Use @inheritdoc" 2023-07-25 12:59:04 +00:00
jenkins-bot ad482354ed Merge "Add extra documentation to config for ...reply_icon_languages" 2023-07-25 12:58:54 +00:00
Translation updater bot 6127fd1859 Localisation updates from https://translatewiki.net.
Change-Id: If8b8406979f4dbe783d4c714a58628c4dee14dc8
2023-07-25 10:42:15 +02:00
Ed Sanders 42b588c087 UsernameCompletionAction: Use @inheritdoc
Change-Id: Ic7b0eaead64cfc30e2c93b598bfbe4b9dee666f8
2023-07-24 18:53:47 +01:00
Ed Sanders df6a5e0d6e Add extra documentation to config for ...reply_icon_languages
Change-Id: Ib03fe30a85046f96adf65c0b7a92f920c4585465
2023-07-24 18:50:38 +01:00
Ed Sanders 1bb29faa58 Use strict comparison with array_search
Change-Id: Id920d49701bd9436a6247763ed40df052877ad2f
2023-07-24 18:50:00 +01:00