Commit graph

171 commits

Author SHA1 Message Date
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
Translation updater bot 3ece3e7f43 Localisation updates from https://translatewiki.net.
Change-Id: I03a0ff0a5c1dc0686c076dcd00c28a94b8502ec0
2021-11-23 08:26:34 +01:00
Translation updater bot e682c3faba Localisation updates from https://translatewiki.net.
Change-Id: I9f25ee7534d5bf836484f559f1a31a9650a45a6f
2021-11-22 09:02:55 +01:00
Translation updater bot caa279718c Localisation updates from https://translatewiki.net.
Change-Id: Ibda93aa2194808c63f58238d97c0b72f450dd023
2021-11-15 08:11:36 +01:00
Translation updater bot 9fb04a89b0 Localisation updates from https://translatewiki.net.
Change-Id: Ib50b438239bc69b43fefe73b52a451e9ab966bab
2021-11-09 07:28:51 +01:00
Translation updater bot 9836d75a0c Localisation updates from https://translatewiki.net.
Change-Id: Ia2342595ed2bfd1310093dc29e88a7447d0e6de8
2021-11-08 08:16:50 +01:00
Translation updater bot 91fa55cb9b Localisation updates from https://translatewiki.net.
Change-Id: If7396ed8d5d457b32ebda51816035c2cb6b345c3
2021-11-05 08:17:04 +01:00
Translation updater bot 53a864f0bc Localisation updates from https://translatewiki.net.
Change-Id: Ie90bf444781c3e3e5ba86911185040f54afee0b2
2021-11-04 10:07:58 +01:00
Translation updater bot 6cb595296f Localisation updates from https://translatewiki.net.
Change-Id: I8b8d65bd5a300c545b801d02c3f77ccc0f151f44
2021-11-03 08:20:33 +01:00
Translation updater bot 11d4c397bf Localisation updates from https://translatewiki.net.
Change-Id: I8487db1a4c2d0ccbc8529f69748b40c6fee01461
2021-11-02 08:06:51 +01:00
Translation updater bot 5006e938fb Localisation updates from https://translatewiki.net.
Change-Id: I72ea77f58b2e3e6ed0b7cb8520ffea2fa89eddca
2021-11-01 09:33:31 +01:00
Amir E. Aharoni cc865692f1 Remove "successfully" from a message
This word is usually unnecessary in messages. See
https://www.mediawiki.org/wiki/Localisation#Avoid_jargon_and_slang

Change-Id: I54a11d4e18365209ff198a45e5e3c1c20e8353c4
2021-10-31 10:16:12 +02:00
jenkins-bot 10111ea872 Merge "Generate form tokens in the client to prevent double posting" 2021-10-29 22:32:47 +00:00
Translation updater bot ff9512178f Localisation updates from https://translatewiki.net.
Change-Id: Ia9ac49eba82e57f4f2a0892034c5c79907b0cc03
2021-10-29 08:21:41 +02:00
Ed Sanders 6022982eb9 Generate form tokens in the client to prevent double posting
Store used tokens in session storage.

Bug: T286409
Change-Id: I88c81689d9cf3447f6cc77c849a84d52c8b2c0db
2021-10-29 00:17:14 +01:00
Translation updater bot 4a5b1874f7 Localisation updates from https://translatewiki.net.
Change-Id: Iace040cd46e1f089d1a0dc9c874a9563ee99bdbd
2021-10-27 08:22:01 +02:00
Translation updater bot 7ee34804ac Localisation updates from https://translatewiki.net.
Change-Id: I1c265dce272bac7dd92e625ff763c416a6a25586
2021-10-26 08:17:12 +02:00
Translation updater bot c805edb7f0 Localisation updates from https://translatewiki.net.
Change-Id: If4c239af117de94c36a8fd594b6671f50f77dcb8
2021-10-25 08:51:19 +02:00
Bartosz Dziewoński 6fb376a11a Rephrase 'apierror-discussiontools-commentname-ambiguous'
I think API error messages should be impersonal. Also clarify which
parameter must be provided.

Change-Id: I43ab66fddbd0c7f9948a6e2859d621a45d3f34ba
2021-10-22 17:18:54 +02:00
Translation updater bot eaa2fb5c5c Localisation updates from https://translatewiki.net.
Change-Id: I7192db6b21ba983357c3738cb271e554fef6cce6
2021-10-20 08:36:44 +02:00
Translation updater bot cdc4954fe2 Localisation updates from https://translatewiki.net.
Change-Id: I8e7b9700691394c145c8feb867925ed1dc9873c2
2021-10-18 15:19:56 +02:00
Translation updater bot 0dd0fc0013 Localisation updates from https://translatewiki.net.
Change-Id: I7c1b1d49bca753a6a99c361cb42f1f0bc124403d
2021-10-08 09:20:45 +02:00
Ed Sanders 02642e48dd Fix linting on i18n key order
Change-Id: Id30b228f2aaa710f75086b6b64ffda5726d59a8e
2021-10-07 17:37:51 +01:00
Translation updater bot bbf98c00a4 Localisation updates from https://translatewiki.net.
Change-Id: I9a0584c3b7e17e6d7dc078cd57951824b34317da
2021-10-05 08:29:31 +02:00
Translation updater bot cdf089b20c Localisation updates from https://translatewiki.net.
Change-Id: Ice11be400a9d4893eb5fad9367bdda296047b7f4
2021-10-01 09:29:49 +02:00
Translation updater bot 0ddcdb8a5b Localisation updates from https://translatewiki.net.
Change-Id: I35c68af690b6662ce9b4b2815200ed0bd4bb72ca
2021-09-30 08:57:24 +02:00
Translation updater bot 2e18a49315 Localisation updates from https://translatewiki.net.
Change-Id: I2c05926cc8d035728ec2fb99ca2e06b72fa5fc32
2021-09-29 09:01:43 +02:00