Commit graph

297 commits

Author SHA1 Message Date
Bartosz Dziewoński 2d40cbb6d5 ApiDiscussionToolsPageInfo: Allow excluding signatures
Special:DiscussionToolsDebug falsely promised that the API delivers
the same information, but in fact the API included the signatures in
each comment's HTML unconditionally. Allow excluding them.

Change-Id: Ie1e38d28bed0b6d5713d9051b84cc08a23da94c2
2023-05-30 15:55:41 +02:00
Translation updater bot a6b46b4ae2 Localisation updates from https://translatewiki.net.
Change-Id: I3b2bfdaed8123abf445ea324260db4c58fadd922
2023-05-30 08:56:37 +02:00
Translation updater bot 3f8235904e Localisation updates from https://translatewiki.net.
Change-Id: I043acd7ecdbff4197a7a1130e67966912a96e55d
2023-05-29 09:58:59 +02:00
Translation updater bot e456868a00 Localisation updates from https://translatewiki.net.
Change-Id: Iff5b94b6ed9647299e11c43e7797db1b4c79ab1d
2023-05-15 08:32:17 +02:00
Translation updater bot ce3699ee6e Localisation updates from https://translatewiki.net.
Change-Id: I7e97a04383861479cd702f925b9fd5e698e4395a
2023-05-11 09:15:09 +02:00
Translation updater bot 9ce7914390 Localisation updates from https://translatewiki.net.
Change-Id: I478bf4b86809dc548c09362cd42afd69cfb90641
2023-05-10 08:40:28 +02:00
Translation updater bot 12164c1606 Localisation updates from https://translatewiki.net.
Change-Id: I4b7e0f2b22cc6822e039636fef2e3c42f4cfdebc
2023-05-05 10:38:36 +02:00
Translation updater bot bfffce8691 Localisation updates from https://translatewiki.net.
Change-Id: Ib7fd1ee0e43e28c76fac5c9ff1cc389360122ae8
2023-05-02 08:59:40 +02:00
Translation updater bot 404b690d12 Localisation updates from https://translatewiki.net.
Change-Id: I847a2d04eb9e3b9a5fb245fbf230e15affc2878a
2023-05-01 09:57:34 +02:00
Translation updater bot 294f30b544 Localisation updates from https://translatewiki.net.
Change-Id: Ia7691e7940b694e179fa03e34a38301c6cce2f95
2023-04-28 08:56:09 +02:00
Translation updater bot 07b7a60527 Localisation updates from https://translatewiki.net.
Change-Id: If3032a1a939fe78a454d4641c62e103a2a8e2c61
2023-04-27 09:14:18 +02:00
jenkins-bot d74fff198d Merge "Add an API version of Special:FindComment" 2023-04-26 18:02:09 +00:00
Ed Sanders 0be67d3f20 Add an API version of Special:FindComment
Bug: T333375
Change-Id: I02f032b0a36d384b9ac9e397106eb30d325421d8
2023-04-26 17:09:15 +01:00
Translation updater bot 4b843866f7 Localisation updates from https://translatewiki.net.
Change-Id: Ia3969c0e92fb53f1870de6403a2012bb4d111448
2023-04-17 09:13:21 +02:00
Translation updater bot c0fbdbcf79 Localisation updates from https://translatewiki.net.
Change-Id: I4b75449946e5b5bd6851928452c0b4f566d7e34e
2023-04-13 06:56:48 +00:00
Translation updater bot dd2787114f Localisation updates from https://translatewiki.net.
Change-Id: I77eb6661e1030a1af274b5be1f2daaea14ac42c8
2023-04-11 09:13:42 +02:00
Translation updater bot 7687b40438 Localisation updates from https://translatewiki.net.
Change-Id: Ief7a61a70565d84f73b5b69567df5f113dff85d9
2023-04-10 09:20:59 +02:00
Translation updater bot e236fa4009 Localisation updates from https://translatewiki.net.
Change-Id: Ic76378f67e45baa2551c02affaed94fc2c0ccb50
2023-03-29 09:04:13 +02:00
Translation updater bot 6c66ab7c23 Localisation updates from https://translatewiki.net.
Change-Id: I6ef0c254bf3adb8c636d95735eb80fee08e8857e
2023-03-23 09:25:11 +01:00
Translation updater bot eb164a5a26 Localisation updates from https://translatewiki.net.
Change-Id: I4b476ba964beee06cc016fd27befb62ae9c24fb2
2023-03-08 08:42:02 +01:00
Translation updater bot c7537a8367 Localisation updates from https://translatewiki.net.
Change-Id: I9eee44cef05bc81b8581e79704732decabe2b149
2023-02-27 08:27:26 +01:00
Translation updater bot 482f8c610d Localisation updates from https://translatewiki.net.
Change-Id: I45b241044f13cadacfd16e03c7366ce1e989c4bb
2023-01-23 08:22:48 +01:00
Translation updater bot 97160052b0 Localisation updates from https://translatewiki.net.
Change-Id: Ia17a9460858563a4e9a0968c1dbb765c5f08fae1
2023-01-09 09:26:05 +01:00
Translation updater bot d326fa4671 Localisation updates from https://translatewiki.net.
Change-Id: Id7868796caad0b0440ed00abdf619446e64a17bb
2023-01-05 09:08:02 +01:00
Translation updater bot c7353aa27d Localisation updates from https://translatewiki.net.
Change-Id: I4dba5cc5da07059676143fbcef0f9e2cf5943551
2023-01-04 08:28:56 +01:00
Translation updater bot 38bc50a710 Localisation updates from https://translatewiki.net.
Change-Id: Iab8a194dac195e19ea87de5594162575ac417400
2023-01-02 08:42:52 +01:00
Translation updater bot dc936b87d8 Localisation updates from https://translatewiki.net.
Change-Id: Ib6ed325af35c475f7ba5d03140995a6b42f88b08
2022-12-22 11:03:18 +01:00
Translation updater bot 15474764f9 Localisation updates from https://translatewiki.net.
Change-Id: I607cae84983e66fb75ab3840c6aafb76847bbff4
2022-12-21 09:15:01 +01:00
Translation updater bot d1e995430f Localisation updates from https://translatewiki.net.
Change-Id: I5967d648c3af40d44379186f9e6e3c2dfdb15539
2022-11-23 08:32:09 +01:00
Translation updater bot f039a2ac07 Localisation updates from https://translatewiki.net.
Change-Id: I41d533415bd51781a00db77f7d62162e6371a8bf
2022-11-01 08:52:00 +01:00
Translation updater bot cf3bf1bb4f Localisation updates from https://translatewiki.net.
Change-Id: I5282a858c33a256972ccebcc560201edf947d082
2022-10-31 09:45:41 +01:00
Translation updater bot 66955ab733 Localisation updates from https://translatewiki.net.
Change-Id: Ib7ab233f0fd0021cd5403181e34b65a54033ab3b
2022-10-10 10:19:59 +02:00
Translation updater bot e57016414e Localisation updates from https://translatewiki.net.
Change-Id: I8e2bb9b646431fb5db67cea2414711390c96f3ad
2022-10-03 09:45:36 +02:00
Translation updater bot 7654f86129 Localisation updates from https://translatewiki.net.
Change-Id: I248cc9f89609664219874c56728a6b4a4a4631ba
2022-09-27 08:32:04 +02:00
Translation updater bot 5f94a9bf00 Localisation updates from https://translatewiki.net.
Change-Id: I1667584f86a919a1f7a25e8c9e6a95983cd12466
2022-09-23 08:29:00 +02:00
Translation updater bot 855eef1c2a Localisation updates from https://translatewiki.net.
Change-Id: I23ddaa79e5f7982a6008bea4d234730841a7504f
2022-09-20 08:33:56 +02:00
Translation updater bot 840a796c26 Localisation updates from https://translatewiki.net.
Change-Id: I4328c68d619d6ad0bd1f6b36e4c4bcb8e4d0a81d
2022-09-12 08:11:25 +00:00
Translation updater bot 88f8e534eb Localisation updates from https://translatewiki.net.
Change-Id: Ibfbc00a012fa42346c80de99e440ceb55ba42b1b
2022-09-07 09:54:37 +02:00
Translation updater bot c09f2f1a10 Localisation updates from https://translatewiki.net.
Change-Id: I0f7690590d449b31ec07a933d2243648e18c22c5
2022-09-05 10:10:33 +02:00
Translation updater bot 221374fef0 Localisation updates from https://translatewiki.net.
Change-Id: I455afc4bd48c4ec4ff37c3593388d98a4135380a
2022-08-25 08:26:07 +02:00
Translation updater bot e8068f2bf6 Localisation updates from https://translatewiki.net.
Change-Id: Id6f753dd40450da1e23314c7290dec17e9431207
2022-08-22 08:22:43 +02:00
Translation updater bot c1049bb4da Localisation updates from https://translatewiki.net.
Change-Id: Iaf39bb399fc36b1dc9ffb4cb1da48ecd5dfa7b7e
2022-08-19 08:29:21 +02:00
Translation updater bot f7cdcffbeb Localisation updates from https://translatewiki.net.
Change-Id: I64e649a69b6b66ae469bb4bae41872a3dfd6a714
2022-08-04 08:42:36 +02:00
Translation updater bot ef3da04807 Localisation updates from https://translatewiki.net.
Change-Id: I7a44132e208ae9feb4bbf1bf1cd5f0a0fe3157ba
2022-07-29 08:52:57 +02:00
Translation updater bot 122972e1c2 Localisation updates from https://translatewiki.net.
Change-Id: I6de47853e045689ac68aa5b30835a3ccd31d46d1
2022-07-25 08:36:09 +02:00
Translation updater bot f484a708c4 Localisation updates from https://translatewiki.net.
Change-Id: I8eb820f72d1a7bed69491f693ed19f0e7238fb81
2022-07-21 09:03:35 +02:00
Translation updater bot a71a33153b Localisation updates from https://translatewiki.net.
Change-Id: Ie5dce0c0ff7898a5f1989228eac09afd10ed05c1
2022-07-11 09:49:29 +02:00
Translation updater bot 2435a0859d Localisation updates from https://translatewiki.net.
Change-Id: I709e27e8e28866e5e888cd5738b02fc456230a11
2022-06-27 08:17:54 +02:00
Translation updater bot 5da21d1b82 Localisation updates from https://translatewiki.net.
Change-Id: I6017df2176682f4693c4dca3e8845d6afd18465e
2022-06-14 08:48:02 +02:00
Translation updater bot e8b16f67b1 Localisation updates from https://translatewiki.net.
Change-Id: I1ef4c49042b48914a2abfe01c33dcc2969fded47
2022-06-10 08:49:31 +02:00
Translation updater bot bd07028c47 Localisation updates from https://translatewiki.net.
Change-Id: I7073ccaa7227e285bf33f05e06c2ab066933418f
2022-06-09 08:16:30 +02:00
Translation updater bot 277c5200e9 Localisation updates from https://translatewiki.net.
Change-Id: I737cdc50a7050395e1929e5de0ae9842785474e1
2022-06-08 08:26:56 +02:00
Translation updater bot 57b6f2c29f Localisation updates from https://translatewiki.net.
Change-Id: I2c91e039f32e1a735a90d948624c8dda0970b536
2022-06-01 08:20:33 +02:00
Translation updater bot 98cd4d2358 Localisation updates from https://translatewiki.net.
Change-Id: I4e7d98d9a4e4532205faac9afe03375bcf336579
2022-05-30 09:22:58 +02:00
Translation updater bot 31901332fb Localisation updates from https://translatewiki.net.
Change-Id: Ia35ab42cd3689c6eb79514fde69ffd08d11277b5
2022-05-25 08:31:57 +02:00
Translation updater bot 3c0937b686 Localisation updates from https://translatewiki.net.
Change-Id: If30a7a4a1de05855e3e70faf444743d0039ff6d5
2022-05-23 08:16:41 +02:00
Translation updater bot 98663d4ff3 Localisation updates from https://translatewiki.net.
Change-Id: Ib3b55bf42c1ccc050c3c58cd301c7062f74706f3
2022-05-19 08:19:03 +02:00
Translation updater bot 2916e05c15 Localisation updates from https://translatewiki.net.
Change-Id: I3ffde0dd66c38b547885cf6b02043463aaf465a9
2022-04-18 10:05:54 +02:00
Translation updater bot 1d72f8863e Localisation updates from https://translatewiki.net.
Change-Id: I422911a416c37fe82956f78a5a154a6f466714f8
2022-04-14 08:26:24 +02:00
Translation updater bot 0aa721b551 Localisation updates from https://translatewiki.net.
Change-Id: I3224bb83fa60f1f359966155d0f76324f7e45a09
2022-04-11 08:13:55 +02:00
Translation updater bot 98e646fba0 Localisation updates from https://translatewiki.net.
Change-Id: I64cba0fbc6ec8e137ab8423627bf9f40537701a9
2022-04-08 08:27:33 +02:00
Translation updater bot 5b6b78a01f Localisation updates from https://translatewiki.net.
Change-Id: I46f58c0e53d8ec36142354235bec23cddc0e0bb6
2022-04-07 08:09:27 +02:00
Translation updater bot 8036f90df1 Localisation updates from https://translatewiki.net.
Change-Id: I18f43850f3737743c5f3cf6bc5f94ee92372e9e3
2022-04-04 09:34:19 +02:00
Translation updater bot 925cabf21b Localisation updates from https://translatewiki.net.
Change-Id: Icba32268a4e227cfa794bd572b0a758d9d4193c8
2022-03-31 08:35:43 +02:00
Translation updater bot f3f262a2a3 Localisation updates from https://translatewiki.net.
Change-Id: I5680453e8093bbaf9c094bacf49ae070db826ce7
2022-03-28 08:20:49 +02:00
Translation updater bot 9f8332bc68 Localisation updates from https://translatewiki.net.
Change-Id: I5eb8897d5a01c23ec746b9e32937d7cee542c01b
2022-03-24 08:34:18 +01:00
Translation updater bot 7e2502f920 Localisation updates from https://translatewiki.net.
Change-Id: I418aa8229c650e5fb1ac5582ecd0274f2351ddc3
2022-03-23 08:25:14 +01:00
Translation updater bot 7239aab22f Localisation updates from https://translatewiki.net.
Change-Id: I78e7d4323c78ef791aeabbfb2025569bb2ff3cf4
2022-03-22 08:29:21 +01:00
David Lynch 7275377b3c Talk API for apps
Exposed as DiscussionToolsPageInfo prop threaditemshtml. It returns a
version of the output of CommentParser, lightly adjusted to provide a
nested comment structure rather than a pure flat list.

Bug: T285971
Change-Id: I2f8503d4ed740a04fb2f1e3a37ae4db649b3faba
2022-03-21 16:40:45 -05:00
Translation updater bot 8a42e67558 Localisation updates from https://translatewiki.net.
Change-Id: Ibd00de72425017d96fab51879eaed57713841fd8
2022-03-14 08:13:52 +01:00
Translation updater bot b486b40835 Localisation updates from https://translatewiki.net.
Change-Id: I09ad330a75bf2d8641109a644594f0b9b166c018
2022-03-10 08:19:04 +01:00
Translation updater bot 77071a5bdd Localisation updates from https://translatewiki.net.
Change-Id: I6a28bb912f771944f9c6261fe6e8858c6af76174
2022-03-09 08:09:25 +01:00
Translation updater bot f1d1f1c5f7 Localisation updates from https://translatewiki.net.
Change-Id: Iea92d1e30030cda4d6124a814dc9fa663babb796
2022-03-08 09:01:34 +01:00
Translation updater bot 4460cd7fa9 Localisation updates from https://translatewiki.net.
Change-Id: Ifd2b7bb0429512a523a1a764dc625d9ba3f15cd6
2022-03-07 08:10:54 +01:00
Translation updater bot 6b7ea63d24 Localisation updates from https://translatewiki.net.
Change-Id: I9767b557af29d5d7345252d7a411a5667ef057e2
2022-03-04 08:29:18 +01:00
Translation updater bot 6e75e580a9 Localisation updates from https://translatewiki.net.
Change-Id: Ib2946e8d66499a2f9f609c328055e88026ae6841
2022-03-03 08:22:32 +01:00
jenkins-bot 094b77b4bb Merge "Handle reply/topic preview entirely server-side" 2022-03-02 14:13:59 +00:00
Translation updater bot b83c527193 Localisation updates from https://translatewiki.net.
Change-Id: If928b4fc6e1b2d3e681c53c2fb29255834b3e7c5
2022-02-25 09:43:22 +01:00
Translation updater bot 1d40be1dd2 Localisation updates from https://translatewiki.net.
Change-Id: If8bf6c7e2f324f2550b6c96e47aafb61683480bd
2022-02-22 14:20:18 +01:00
Translation updater bot 54f2de2c45 Localisation updates from https://translatewiki.net.
Change-Id: I5db6282f24aa8721c04454e5606146e1fbe935df
2022-02-22 08:11:31 +01:00
Bartosz Dziewoński 1d43a024f9 Handle reply/topic preview entirely server-side
We were rendering the preview in a completely different way from how
we would add the real reply, and the results would be different
sometimes, particularly for multi-line comments with messed-up markup.

Render it server-side instead, in a very similar way to real replies
(generating a DOM list node and transforming it through Parsoid),
although without the whole context of the page to improve performance.

We can remove a lot of client-side code that was used solely for this.

This will allow the preview to accurately display the signatures when
we change how they are added (T278442), without us having to implement
those changes again from scratch for the preview.

Change-Id: I53341f4d4075c25b67ec3b3032bff9b8a880dcd3
2022-02-21 17:42:28 +01:00
Translation updater bot 881faf0788 Localisation updates from https://translatewiki.net.
Change-Id: Ic91fe369d927fc079a64dec957ecd6fd7073c9a5
2022-02-15 08:17:11 +01:00
Translation updater bot b86c291422 Localisation updates from https://translatewiki.net.
Change-Id: I5939ff3e24d2d36268991ff3dda82e373b5415b0
2022-02-14 08:14:10 +01:00
Translation updater bot 0ded0d5bfb Localisation updates from https://translatewiki.net.
Change-Id: I10d162707ecc233f37d3c7c6d5bc175b1a7eb00a
2022-02-11 08:41:25 +01:00
Translation updater bot 92e3a5bb42 Localisation updates from https://translatewiki.net.
Change-Id: I1acdee01d5cfe2b22f99c73df8068f86a1f3529d
2022-02-10 08:41:31 +01:00
Translation updater bot a88dafba19 Localisation updates from https://translatewiki.net.
Change-Id: I4e4ceaed5a09c6713c4669aba7a054dfc5113db9
2022-02-09 08:12:45 +01:00
Ed Sanders aa03dc971e Add discussiontoolscompare API
For two given revisions, this API tells us which comments have
been added and which have been removed.

Can be used to highlight new comments, or check if the page
has been updated since we first loaded it.

Bug: T281624
Bug: T300504
Change-Id: Ia4d95ffe3b7cf2317cd8e7c0f034e09f64777ef3
2022-02-08 15:53:27 +00:00
Translation updater bot f8c7887adf Localisation updates from https://translatewiki.net.
Change-Id: I4baeb2087e91695285486af51734ac759eb88d59
2022-02-08 08:28:29 +01:00
Ed Sanders 7cad692afa Move ApiDiscussionTools to ApiDiscussionToolsPageInfo
Also remove 'paction' param, and instead make 'transcludedFrom' a
property of the result object.

Change-Id: I0a289f6d71e4708afff0b52066b1ed6faf76b9ae
2022-02-07 16:50:02 +00:00
Translation updater bot 14b28f6483 Localisation updates from https://translatewiki.net.
Change-Id: Ibfe6f2196800dfe948dedad2df52571147cf02f4
2022-02-03 08:43:56 +01:00
Translation updater bot ea54d68f2d Localisation updates from https://translatewiki.net.
Change-Id: I4f0fd50eb877b4d2caa90b5f8607458ff7f8c223
2022-01-24 08:27:03 +01:00
Translation updater bot 4b138f128f Localisation updates from https://translatewiki.net.
Change-Id: I2842ad13ded091c3ed7c1c88763304937f3272cc
2022-01-20 09:17:31 +01:00
Translation updater bot d354e3fff6 Localisation updates from https://translatewiki.net.
Change-Id: I092f62e4b92ba5b108c961e740622d033f3d9339
2022-01-17 08:12:00 +01:00
Translation updater bot 5499af93f7 Localisation updates from https://translatewiki.net.
Change-Id: Ia465af262bd63abae989394d3a393459edd20b93
2022-01-06 08:31:32 +01:00
Translation updater bot 8f568bb0d3 Localisation updates from https://translatewiki.net.
Change-Id: Ia6a13e585506dea820062817cb689308053348d5
2021-12-27 09:29:59 +01:00
Translation updater bot 0e82a944c9 Localisation updates from https://translatewiki.net.
Change-Id: Id2eb11ae435417f634963169d6b756de86605468
2021-12-23 08:37:59 +01:00
Translation updater bot 66bcb1d4ae Localisation updates from https://translatewiki.net.
Change-Id: I8fac6a781b92bad5968c9ad25d60b970378e236b
2021-12-17 08:17:00 +01:00
Translation updater bot 76619f31a8 Localisation updates from https://translatewiki.net.
Change-Id: Ic7fd79227b5d3342ddd15e8d2940769eeeee6a7f
2021-12-10 08:23:53 +01:00
Translation updater bot 69ba8582a9 Localisation updates from https://translatewiki.net.
Change-Id: Iff911f81b96f549dc872fcfe67ef1a6731fb8c1c
2021-12-08 08:12:23 +01:00
Translation updater bot 4908e15303 Localisation updates from https://translatewiki.net.
Change-Id: I09b385399d32e1603a79438f818df53a99f86037
2021-11-26 08:22:43 +01:00