Commit graph

3700 commits

Author SHA1 Message Date
Translation updater bot ac3f4a563a Localisation updates from https://translatewiki.net.
Change-Id: I6d2ca63a38f679dd637c10041d62be0e115cab3e
2023-08-23 08:39:11 +02:00
Bartosz Dziewoński 5c612862a1 Acquire a temporary user username before previewing
When rendering a preview of the comment in order to check whether it's
signed, use the previously acquired temporary user username for the
signature.

Depends-On: Iec8a15dadd595bed0f7e54f907fbb8e192b45cf3
Bug: T331397
Change-Id: I7aeb1cc4c107ed752dc805405780a7609a6d4d3c
2023-08-22 23:42:32 +02:00
Translation updater bot 44f652aa82 Localisation updates from https://translatewiki.net.
Change-Id: I6751891e2a0a0d35cb3d95b66994818caa589cc0
2023-08-22 09:01:29 +02:00
Bartosz Dziewoński dd58d07ff5 Fix exception trying to store comments transcluded from special pages
Bug: T344622
Change-Id: I57dbd088dff15ac2cd9998663d7eac60dccd0dec
2023-08-21 19:02:42 +02:00
Ed Sanders 73c341f02d Fix regression in layout of mobile expand icon
Bug: T344548
Change-Id: I0af27071419d4b0b993746d891051a742b239efb
2023-08-21 17:28:33 +01:00
Translation updater bot 65fdd99dd0 Localisation updates from https://translatewiki.net.
Change-Id: Ic93b600ee1776210910c6a66082af22b599e2d0a
2023-08-21 08:47:38 +02:00
Umherirrender 58f184cc97 Use namespaced Wikimedia\Rdbms\IDatabase
Bug: T344536
Change-Id: I0d710d3598e63262675bc072e52e4f97dd8a9ef3
2023-08-20 14:48:33 +02:00
Umherirrender b160472953 Use namespace MediaWiki\Request\DerivativeRequest
Bug: T321681
Change-Id: Ia9e4557af6fc958d2c3e61cb876958540d25674b
2023-08-20 01:39:56 +02:00
Umherirrender fd0de6b09a Use namespaced Title
Bug: T321681
Change-Id: I66a498679d0743b7740887c636eca001efc170cd
2023-08-19 20:16:15 +02:00
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