Commit graph

621 commits

Author SHA1 Message Date
Translation updater bot 77071a5bdd Localisation updates from https://translatewiki.net.
Change-Id: I6a28bb912f771944f9c6261fe6e8858c6af76174
2022-03-09 08:09:25 +01:00
jenkins-bot 4b2f9ede8e Merge "Use MessageWidget's showClose option" 2022-03-08 22:41:39 +00:00
Translation updater bot f1d1f1c5f7 Localisation updates from https://translatewiki.net.
Change-Id: Iea92d1e30030cda4d6124a814dc9fa663babb796
2022-03-08 09:01:34 +01:00
Ed Sanders 6869112aad Use MessageWidget's showClose option
Change-Id: I81292bd84ce6feefdb852f6a636109f68e55291d
2022-03-08 01:25:22 +00:00
Translation updater bot 4460cd7fa9 Localisation updates from https://translatewiki.net.
Change-Id: Ifd2b7bb0429512a523a1a764dc625d9ba3f15cd6
2022-03-07 08:10:54 +01:00
jenkins-bot 0c93b16c21 Merge "Poll for new comments in the section you are replying in" 2022-03-04 21:09:32 +00:00
Translation updater bot 6b7ea63d24 Localisation updates from https://translatewiki.net.
Change-Id: I9767b557af29d5d7345252d7a411a5667ef057e2
2022-03-04 08:29:18 +01:00
Ed Sanders da49448f43 Poll for new comments in the section you are replying in
Bug: T300504
Change-Id: I3a887ab2f5260bb4893a3d680103c9d8ec767f45
2022-03-04 00:40:29 +00: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 88132fbd99 Localisation updates from https://translatewiki.net.
Change-Id: I78c1dc54b1ddeecdf8c23243dad8f6b3a358ef95
2022-03-02 09:36:54 +01:00
Translation updater bot 9dacb95803 Localisation updates from https://translatewiki.net.
Change-Id: I93d01180b749df1d70b9a9ceeb51babb9babe546
2022-03-01 14:32:40 +01:00
jenkins-bot 0dc293fc20 Merge "Warn when target comments in a link can't be found" 2022-02-28 23:24:15 +00:00
Bartosz Dziewoński be74938855 Warn when target comments in a link can't be found
Links are generated to:
* Single comments, by a user or by a notification
* Potentially multiple comments (new comments since T),
  usually just by notifications.

If in either case no comments are found to highlight, warn the
user so they get some visual feedback that the notification worked
as expected, but that the comment was just deleted since.

Bug: T301602
Change-Id: I090c904481cf6f3e9f964fa43b10001e75b0bc90
2022-02-28 21:58:59 +00:00
Translation updater bot 8b96dace47 Localisation updates from https://translatewiki.net.
Change-Id: I6561cd9678b5dcd1719aea4c8d67a76f09fb8bbe
2022-02-28 14:28:36 +01: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 b9284d30a3 Localisation updates from https://translatewiki.net.
Change-Id: I6f5ce2ef97c533adad6fe4ae2eb8bdacf6bc4b68
2022-02-24 08:49:03 +01:00
Translation updater bot 0f51909e36 Localisation updates from https://translatewiki.net.
Change-Id: I1e24632298572eecc1aace5e0ca6a2543b9741c7
2022-02-23 08:18:51 +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 59acf9a5cc Localisation updates from https://translatewiki.net.
Change-Id: Ia25a5ea1aeb42c1b5ae0ed7a1843759203dd6358
2022-02-21 08:15:37 +01:00
Translation updater bot 1df44c5102 Localisation updates from https://translatewiki.net.
Change-Id: I6e315a582403ccb25c6250c5d4f672c9c408ca36
2022-02-18 08:40:35 +01:00
Translation updater bot 4f5293f5bc Localisation updates from https://translatewiki.net.
Change-Id: I9a6247d859298451199ef0e457ff9b209268c496
2022-02-17 08:11:41 +01:00
Translation updater bot 77034e77c2 Localisation updates from https://translatewiki.net.
Change-Id: I2f0cac5dd1cefeb2af78920aa0096882bbcfb64f
2022-02-16 08:12:56 +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 025130fcd2 Don't prompt to reload the page if the reply widget is open
Only show the reload prompt if the 'disappeared' error is detected
when the reply widget is loading. Don't show it if we failed
to save, as it suggests you will not lose content if you reload.

Change-Id: I106f274e180dc97b540d729e31aae575c43f29f0
2022-02-07 22:45:35 +00:00
jenkins-bot 6a23be0bb5 Merge "Move ApiDiscussionTools to ApiDiscussionToolsPageInfo" 2022-02-07 20:43:26 +00: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 413b7bd487 Localisation updates from https://translatewiki.net.
Change-Id: I0ad51f8f4a6c5501a5def55689fbcd5622031dac
2022-02-07 08:21:57 +01:00
Translation updater bot c1160b0dae Localisation updates from https://translatewiki.net.
Change-Id: I4bcd77c31de2fb44c441ee3796eb1125b7b2a3a9
2022-02-04 08:22:02 +01: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 dd9b3d517e Localisation updates from https://translatewiki.net.
Change-Id: Ifae61fbc15016e3947fdf6d7da05c227ea066b83
2022-02-01 08:26:56 +01:00
Translation updater bot 3f77a74c29 Localisation updates from https://translatewiki.net.
Change-Id: Ie027da39e63a932825c9ff89621eb55685cbaff5
2022-01-31 08:21:53 +01:00
Translation updater bot 4495475fa1 Localisation updates from https://translatewiki.net.
Change-Id: Ie62004aead0918d6db2bfa800c0469b545e82b69
2022-01-27 08:38:38 +01:00
Translation updater bot 883f68920a Localisation updates from https://translatewiki.net.
Change-Id: Ib167106ebb30a4243f3390affc8d12422b3c9e49
2022-01-26 08:24:53 +01:00
Translation updater bot 03344f2f5c Localisation updates from https://translatewiki.net.
Change-Id: I45832232e047fba9c238ab8e1931959e6c55f0a7
2022-01-25 08:32:35 +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 636b646e45 Localisation updates from https://translatewiki.net.
Change-Id: Id98e357f77f901ec7788b8b1db201070c69e058e
2022-01-21 08:13:52 +01:00
jenkins-bot 4a0db2ae45 Merge "Add an optional suffix message to mentions" 2022-01-21 00:36:15 +00:00
Translation updater bot 4b138f128f Localisation updates from https://translatewiki.net.
Change-Id: I2842ad13ded091c3ed7c1c88763304937f3272cc
2022-01-20 09:17:31 +01:00
jenkins-bot 70a701dd13 Merge "Include namespace when referring to page title in empty state messages" 2022-01-19 18:40:41 +00:00
David Lynch dccaa5bf65 Add an optional suffix message to mentions
Wikis like jawiki will then be able to customize the message to include
honorifics as they think appropriate.

Bug: T268588
Change-Id: I213fb9fd0a9ed6592ce3548a5b2c3b11a55c1abc
2022-01-19 10:29:10 -06:00
Translation updater bot 7694243a9f Localisation updates from https://translatewiki.net.
Change-Id: Ic2cc7510e7bf664b4266f3804926bcabd335dd57
2022-01-19 08:23:59 +01:00