Commit graph

3421 commits

Author SHA1 Message Date
Reedy 6694586fe8 .gitreview: Remove defaultrebase/defaultbranch
Change-Id: If41c87c5e4dfae824ff2bd7d245a02b1f6f4a894
2023-09-09 21:37:34 +00:00
Bartosz Dziewoński c6cf4a26a4 Update expected IDs in ThreadItemStore tests
After MediaWiki change I308617427309815062d54c14f3438cab31b08a73
there's no longer a "default" user/page/revision in the database, so
the user/page/revision IDs in the tests should start at 1 and not 2.

Bug: T345984
Change-Id: I3271e4fdd52cf6e2074d8c9d3d5571a69b150476
2023-09-09 23:36:04 +02:00
Translation updater bot 6b4e4c04a9 Localisation updates from https://translatewiki.net.
Change-Id: I3d74d017504019f5346a74e62c56b0343f07dcb8
2023-09-07 11:10:58 +02:00
Translation updater bot 5ac3708f86 Localisation updates from https://translatewiki.net.
Change-Id: Ib45381bfe0029dbcaf3dde63e8b8717f46bb8ca0
2023-09-06 08:41:50 +02:00
Bartosz Dziewoński 5d92dccafc TopicSubscriptionsPager: Handle invalid titles
This approach is borrowed from PageQueryPage in MediaWiki core,
and used in a few other places as well.

Bug: T345648
Change-Id: I7fbc3c3c1133da78eb9f15de9b2a51a90bcd1980
2023-09-05 23:40:52 +00:00
jenkins-bot 3a9bbd66a8 Merge "Hide ellipsis menu when the section is uneditable" 2023-09-05 22:44:49 +00:00
Ed Sanders 2c44828564 Hide ellipsis menu when the section is uneditable
Bug: T316388
Change-Id: I4a4f0888245ffa0c74935d24d8a64d2ed78080b7
2023-09-06 00:30:35 +02:00
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
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