Commit graph

3413 commits

Author SHA1 Message Date
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
Translation updater bot 4c2b39658d Localisation updates from https://translatewiki.net.
Change-Id: I85991fbe999fc75d7ee5117d1a40aba5e1279ee5
2023-07-24 09:37:11 +02:00
jenkins-bot 3c64391362 Merge "ThreadItemStore: Look harder for invisible rows" 2023-07-18 09:54:17 +00:00
Translation updater bot 3ceeca8865 Localisation updates from https://translatewiki.net.
Change-Id: I19e6a6a8ee34c5c17a225b13b7d69ad3fb4fd4ad
2023-07-18 09:49:22 +02:00
Winston Sung 96d4107bb4 Follow-up of "Localisation updates from https://translatewiki.net."
Change-Id: I34551783e7d9d6fe8f2a14eece020fd70f53f22c
2023-07-17 09:20:29 +00:00
Translation updater bot 4e219040ce Localisation updates from https://translatewiki.net.
Change-Id: I0b1cca2bdee85f4768b1ef5266bd44526a14d133
2023-07-17 10:16:56 +02:00
Bartosz Dziewoński 1b80b1ffcf ThreadItemStore: Look harder for invisible rows
This reverts 08e1073f58 (T322701),
which does not work, and instead uses the same solution as
4439e934429617cc77f34cc9c783f0b52a06c920 (T247553).

Bug: T339882
Change-Id: I1b6772b1cdfd0d7e1c603333a2e43152d3591c38
2023-07-16 00:45:52 +02:00
Translation updater bot 4b776e4bcf Localisation updates from https://translatewiki.net.
Change-Id: I09960b7b30bd2a08874a3d64c282e279221a8abf
2023-07-14 09:33:37 +02:00
Translation updater bot f51043c338 Localisation updates from https://translatewiki.net.
Change-Id: I91cd635d16c4f6c81d227c545f6f49988895f262
2023-07-13 10:48:57 +02:00
Translation updater bot 7583ce6ffc Localisation updates from https://translatewiki.net.
Change-Id: I6074995303e3453524bed369c0bd8fd4900fbeed
2023-07-12 08:55:24 +02:00
jenkins-bot 218d3aea38 Merge "Backend changes related to topic subjects in message body" 2023-07-11 15:21:50 +00:00
jenkins-bot 7b147cffbf Merge "ApiDiscussionToolsPageInfo: Allow excluding signatures" 2023-07-11 15:17:02 +00:00
jenkins-bot 5b2d1046ad Merge "Reload page or redirect when saving an edit creates a temp account" 2023-07-11 15:16:59 +00:00
jenkins-bot ce286af8dc Merge "Suppress the empty state in previews again" 2023-07-11 13:59:49 +00:00
Translation updater bot 1f5be8f504 Localisation updates from https://translatewiki.net.
Change-Id: I3d9d1b0428a5c088dc761d6b4ac6096d88f6ee95
2023-07-11 08:49:13 +02:00
Bartosz Dziewoński 90f8fe5ec1 Reload page or redirect when saving an edit creates a temp account
Depends-On: I6cdc014fb39d35ce1f091b53dc3a9c4a3c95f9e9
Depends-On: I01e13ce1ebab462eeb0ba3847d4205a88965a127
Bug: T338002
Change-Id: I768e4fa2030d781bbc65428371bda17a87bd6a42
2023-07-10 22:55:58 +00:00
Translation updater bot 24cd817cee Localisation updates from https://translatewiki.net.
Change-Id: I10ece58ae0930e13af08620a2ea871d6d1ff0bac
2023-07-10 09:37:29 +02:00
jenkins-bot 671ee1c685 Merge "Replace the last use of mediawiki.Uri" 2023-07-07 15:00:37 +00:00