Commit graph

3616 commits

Author SHA1 Message Date
Bartosz Dziewoński efceaaa2ad Fix temp user popup appearing on every new page creation
Follow-up to c0f5a95504.
I missed that this code path can also be reached when
a temp user has not in fact been created.

Bug: T345569
Change-Id: Ia37760c674074b12baa17d842fa4f4d95ca20c5e
2023-09-04 17:17:06 +02:00
Translation updater bot bca916d617 Localisation updates from https://translatewiki.net.
Change-Id: I4fbbd8dcb383de2e65cebca7c9ccf8333d0e87f0
2023-09-04 08:43:34 +02:00
Translation updater bot ac480fe7fe Localisation updates from https://translatewiki.net.
Change-Id: I16d0cad643ca0200a025edc875ba48504203a34b
2023-09-01 09:02:47 +02:00
Translation updater bot 669fb55c65 Localisation updates from https://translatewiki.net.
Change-Id: Ib3c0ac3dd532939aa7ce3215203b6f15e599c9a4
2023-08-31 14:35:15 +02:00
jenkins-bot d01f01fe46 Merge "Fix showing temp user popup after page reload" 2023-08-30 13:32:43 +00:00
jenkins-bot a1f2185a0f Merge "Acquire a temporary user username before previewing" 2023-08-30 13:15:05 +00:00
Translation updater bot 67f51ae7ea Localisation updates from https://translatewiki.net.
Change-Id: Ife687fa2b5f3e462215035d8af09b07361d788e3
2023-08-30 08:44:10 +02:00
jenkins-bot 7f733972db Merge "DiscussionToolsDebug: check whether the given page exists" 2023-08-29 19:33:18 +00:00
Translation updater bot f9bca0177c Localisation updates from https://translatewiki.net.
Change-Id: Idbe82059d49ee61529db83958e8b6f040c87847f
2023-08-29 08:28:14 +02:00
Ed Sanders 7dff37e354 Show new topics subscription button on history pages
Bug: T345096
Change-Id: I5da6ac0bca900f9fe3482d247d20aaf24feb61f2
2023-08-28 19:54:56 +01:00
Ed Sanders da3604d994 topicsubscriptions.js: Factor out initNewTopicsSubscription and expose
Change-Id: Ia7c3910fd531d371daeeb41135c82da6edd3306a
2023-08-28 19:54:38 +01:00
Translation updater bot c8cf126e30 Localisation updates from https://translatewiki.net.
Change-Id: I9a353fe8299848dc0fbbdbfda8ca0fa1bbfd48b1
2023-08-28 09:29:58 +02:00
Rajashree Talukdar bc495dfd10 DiscussionToolsDebug: check whether the given page exists
Check whether the page given to DiscussionToolsDebug exists or not.
Without the check, it throws Wikimedia\Assert\PreconditionException.
Add 'exists' => true in the getFormFields() array.

Bug: T338480
Change-Id: I57222f60cb5c5645e6bc97b86be22c502c85d650
2023-08-26 21:42:59 +05:30
jenkins-bot 3583d7367a Merge "Fix exception trying to store comments transcluded from special pages" 2023-08-24 16:36:40 +00:00
Bartosz Dziewoński c0f5a95504 Fix showing temp user popup after page reload
Bug: T344879
Change-Id: I1bb86468c27d4fbbd55ebcdc81ec841fbfeeb952
2023-08-24 16:09:25 +00:00
Translation updater bot 7b43ead5d4 Localisation updates from https://translatewiki.net.
Change-Id: I2420bcfe02d19ac9bd8ee946f0ddf2d86e90d467
2023-08-24 09:49:22 +02:00
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