Commit graph

3541 commits

Author SHA1 Message Date
jenkins-bot 48b09b8967 Merge "Replace some moved Title class uses, now MediaWiki\Title\Title" 2023-08-19 13:45:11 +00:00
James D. Forrester 7c3ffa1107 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ib1d90e83ad03887b40908fdc422dc6a9cf708be3
2023-08-19 13:14:07 +08:00
gerritbot dfb413ed81 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I688fe73f46ecc2bbd8f4c59fc42b8e85fadf7689
2023-08-19 04:14:36 +00:00
jenkins-bot 44587634a1 Merge "Translate magic words into Bengali (bn)" 2023-08-19 01:33:30 +00:00
MdsShakil 57848af151 Translate DiscussionTools alias into Bengali (bn)
Change-Id: I79801574b3b2ee05f93fdcf7bce1d3882b91ae75
2023-08-19 00:31:46 +00:00
MdsShakil d6a14d42e3 Translate magic words into Bengali (bn)
Change-Id: I14699b02c2b3645af27913c495e394393ff8707e
2023-08-19 00:06:13 +00:00
Translation updater bot 3209cf8f18 Localisation updates from https://translatewiki.net.
Change-Id: Id21cc63f57970e8aa997cb4a303c0605f51d190c
2023-08-18 09:08:00 +02:00
jenkins-bot a63b710a24 Merge "Manually expand any section containing a highlight" 2023-08-17 19:08:27 +00:00
jenkins-bot fbd2e491d7 Merge "MWUsernameCompletionAction: Fix text for exact match" 2023-08-17 15:01:51 +00:00
Ed Sanders b33cafe0cd Manually expand any section containing a highlight
Bug: T336190
Change-Id: Ia0d46dad8f98c3f364bc1c378ab25f745e642f86
2023-08-17 13:25:03 +01:00
Ed Sanders af6b4443a1 MWUsernameCompletionAction: Fix text for exact match
This broke when we introduced matching to display names.

Bug: T344399
Change-Id: I30512e09edafe0e7e170a17a9a02446c71650d0b
2023-08-17 12:49:15 +01:00
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