Commit graph

3916 commits

Author SHA1 Message Date
jenkins-bot a475754d68 Merge "Permalinks: Replace hard-coded notification with i18n string" 2023-10-03 14:49:01 +00:00
jenkins-bot 0e6ca97067 Merge "Show a hint for ctrl-enter for comment submission if just enter is used" 2023-10-03 14:41:11 +00:00
Ed Sanders d24ef5396a Permalinks: Don't prevent default when clicking links
The gadget version doesn't do this, and we already have code
to prevent your scroll position from changing.

Allowing default rewrites the address bar and highlights the
copied comment.

Change-Id: I9aec2b2be7498a268d7b2eb3d2b4a4f76e658042
2023-10-03 15:32:30 +01:00
Ed Sanders 8405305f2a Permalinks: Replace hard-coded notification with i18n string
Change-Id: Id68006b67a055c32e2ecccdac94a37e03c0d722e
2023-10-03 15:31:48 +01:00
David Lynch 5b6018b244 Show a hint for ctrl-enter for comment submission if just enter is used
Bug: T326500
Change-Id: I7dc0e2ed7ccc101e896c18969b1f7d679150190b
2023-10-03 09:04:59 -05:00
Translation updater bot c0bcceec3d Localisation updates from https://translatewiki.net.
Change-Id: I58c58015a0372f168ed61cce1bef17769a74bf0c
2023-10-03 09:32:31 +02:00
jenkins-bot 70c62667ce Merge "Turn comment timestamps into permalinks" 2023-10-02 21:06:09 +00:00
jenkins-bot 3d633a0717 Merge "HookUtils: Fix checking page props" 2023-10-02 16:22:11 +00:00
Bartosz Dziewoński 9fb16a40dc HookUtils: Fix checking page props
Follow-up to b4def00ed0.

Bug: T347878
Change-Id: Ia834b0f8d5cf48fce85e83af48d9fdcc789fc8e2
2023-10-02 16:59:57 +02:00
Ed Sanders b63884f561 Turn comment timestamps into permalinks
Bug: T275729
Change-Id: Ica9cfd9743a67fce170e8b078016fa79bf6fbb84
2023-10-02 14:53:47 +01:00
Translation updater bot 906a4f1c36 Localisation updates from https://translatewiki.net.
Change-Id: I612faa30fb4b483cce596eee9abe04c4c38b7150
2023-10-02 10:57:12 +02:00
Translation updater bot 8da1d467d8 Localisation updates from https://translatewiki.net.
Change-Id: Ia74015315f257723dd6b5bdde5d3ae2cf9ee77fa
2023-09-27 09:20:04 +02:00
jenkins-bot 82bab7a4e6 Merge "Show new topics subscription button on history pages" 2023-09-26 17:40:55 +00:00
jenkins-bot ae2f2dcde8 Merge "topicsubscriptions.js: Factor out initNewTopicsSubscription and expose" 2023-09-26 17:40:54 +00:00
Translation updater bot 16ef89d96b Localisation updates from https://translatewiki.net.
Change-Id: I9a43b85363c52f9ebeae638e4d7526052c4988c9
2023-09-26 08:43:45 +02:00
jenkins-bot 5bd37d6e6d Merge "Fix visibility of preview of new topic on mobile" 2023-09-25 18:22:59 +00:00
Ed Sanders a77fd29c67 Fix visibility of preview of new topic on mobile
Bug: T335220
Change-Id: I048e73c7579d822c28e9c648c26401c00b2c471b
2023-09-25 18:17:15 +00:00
Translation updater bot 3d5f4b7953 Localisation updates from https://translatewiki.net.
Change-Id: I032ae6ab8310e18ce3c379ebaafa6926b4e248c7
2023-09-25 08:46:10 +02:00
jenkins-bot e0b34b46d8 Merge "HookUtils: Fetch all needed props in one query" 2023-09-24 00:12:58 +00:00
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
jenkins-bot e886923d4a Merge "Action::getPageTitle() should return a Message" 2023-09-22 07:09:07 +00:00
jenkins-bot 9db3ebb3e0 Merge "SpecialPage::getDescription() should return a Message" 2023-09-22 07:08:22 +00:00
Translation updater bot 584b0fb620 Localisation updates from https://translatewiki.net.
Change-Id: I1450870dc40cf3d700775e453894c9cc5cdd9125
2023-09-22 08:46:46 +02:00
Bartosz Dziewoński 19fa706693 Action::getPageTitle() should return a Message
Bug: T343994
Change-Id: Ice968d8a5651a21260b9389526b4f7694b3deca8
2023-09-21 22:17:15 +02:00
Bartosz Dziewoński e825084546 SpecialPage::getDescription() should return a Message
Bug: T343994
Change-Id: I9902a7f0c2c74c34a887e4429f1de857bd087d28
2023-09-21 22:10:57 +02:00
Translation updater bot 7a1337e430 Localisation updates from https://translatewiki.net.
Change-Id: If6bc6ad58c1a7e527c6bbb000e70148f4d1055e1
2023-09-21 10:15:40 +02:00
Bartosz Dziewoński 97dbe19a34 ThreadItemStore: Fix rows with itr_items_id=0 corrupted by T339882
In T339882 we thought that these rows are harmless, but for the
specific case of itr_items_id that's not true.

Bug: T343859
Change-Id: Iebfa583d7d4b00a59291f91ec84c41241d5469d4
2023-09-21 03:51:48 +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 07df1ac620 Fix truncating multibyte chars in section names
Bug: T345648
Change-Id: I968c954aac94e3bbf8fa4a886f2422194ae0608f
2023-09-17 21:50:54 +00: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
Bartosz Dziewoński 461809a060 Avoid a Chrome bug causing text to be cut off in topic subject input
Bug: T345489
Change-Id: If153da43bf3dc5d6d3f78aee75c3765381acad50
2023-09-06 00:45:32 +02: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