Commit graph

3437 commits

Author SHA1 Message Date
Bartosz Dziewoński b4def00ed0 HookUtils: Fetch all needed props in one query
Bug: T347123
Change-Id: I54e5dfeb8ee07f0c3b6df4bffd2c6112cc1ad145
2023-09-23 06:35:49 +02:00
Translation updater bot 7a1337e430 Localisation updates from https://translatewiki.net.
Change-Id: If6bc6ad58c1a7e527c6bbb000e70148f4d1055e1
2023-09-21 10:15:40 +02:00
Translation updater bot e59761b8e2 Localisation updates from https://translatewiki.net.
Change-Id: I5667b562f9aee1a6e1cd2333a0743ffbf620a7d5
2023-09-20 08:54:58 +02:00
Translation updater bot 713932e296 Localisation updates from https://translatewiki.net.
Change-Id: I3a4122506556717de78038b606e1bfc8af1f1b1d
2023-09-19 09:25:22 +02:00
jenkins-bot 50811cf28c Merge "Fix interaction of "Add topic" button with categories" 2023-09-18 16:42:35 +00:00
Translation updater bot 080616dffd Localisation updates from https://translatewiki.net.
Change-Id: Ib438fcc78562df548ff03a1c5eb365cc09d9a157
2023-09-18 08:42:57 +02:00
Bartosz Dziewoński 0c1ec851bf Fix interaction of "Add topic" button with categories
For real this time. I hope.

Follow-up to 52de4b0b1b.

Bug: T335219
Change-Id: I0f073cf660f221c1e996f7f46d161316e0b0b79e
2023-09-17 23:49:14 +02:00
Ed Sanders 2aafd08c4b Require CTRL+Enter to submit a comment, regardless of the input
Bug: T326500
Depends-On: I408adfe2b04f0d0a3e819e615e0db91c85997a9c
Change-Id: I5a4c482348b5e7dd9a4780bc4aedd8253a82ca72
2023-09-17 20:18:05 +00:00
Bartosz Dziewoński 6b633803c8 ThreadItemStore: Add details to row insertion exceptions
Bug: T343859
Change-Id: Ic0d741c192f42a3bd54276259820f25edcb0705b
2023-09-14 19:05:04 +00:00
jenkins-bot d315c901f2 Merge "SubscriptionStore: Tweak comment to fix Gerrit syntax highlighting" 2023-09-14 16:19:42 +00:00
Bartosz Dziewoński 70ff6fa463 SubscriptionStore: Tweak comment to fix Gerrit syntax highlighting
For some reason this apostrophe is treated like the start of a string
by Gerrit's syntax highlighting, messing up the whole file. It annoys
me very much.

Change-Id: Ie1ce88eefda6ae2a8a73237556affba4cbc6db4b
2023-09-14 17:58:16 +02:00
Translation updater bot 73bd70c9df Localisation updates from https://translatewiki.net.
Change-Id: Iac3317d9daa28545c56fc8156cf546c95d5aac28
2023-09-14 09:29:37 +02:00
Translation updater bot 7d52c2e59e Localisation updates from https://translatewiki.net.
Change-Id: I1ef99047dd68a18bfeaec214b90e487873e551f0
2023-09-13 08:31:51 +02:00
Translation updater bot 34a8a1ff4c Localisation updates from https://translatewiki.net.
Change-Id: I1c1dbfbbad584eb36cf83b523c7d155d2fedeb0a
2023-09-12 08:26:43 +02:00
jenkins-bot 63b3c8ea5e Merge ".gitreview: Remove defaultrebase/defaultbranch" 2023-09-11 09:48:42 +00:00
Translation updater bot 16637f4c07 Localisation updates from https://translatewiki.net.
Change-Id: I25c79806705b8d28d07e70a43e254bc01b42db07
2023-09-11 09:03:34 +02:00
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