Commit graph

220 commits

Author SHA1 Message Date
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
Translation updater bot 57f6b6ddd3 Localisation updates from https://translatewiki.net.
Change-Id: Ibaabb077e6a7bbeefbd078797d19353311de7df1
2021-09-28 08:18:41 +02:00
Translation updater bot f6c5a0f804 Localisation updates from https://translatewiki.net.
Change-Id: If332718d4ded6e55b5bbb9a01caedc1d3547727c
2021-09-27 08:34:44 +02:00
Translation updater bot e6c9d3f328 Localisation updates from https://translatewiki.net.
Change-Id: Ic0da565b5509ea688d16e24dfe446dc7c6e47a93
2021-09-24 08:26:09 +02:00
Translation updater bot 1105554785 Localisation updates from https://translatewiki.net.
Change-Id: I4f2383fb709a1c965a2e315a53161fd47f1c94fa
2021-09-23 12:27:33 +02:00
Translation updater bot ac8ff605d9 Localisation updates from https://translatewiki.net.
Change-Id: Ib3ef82dcf166e03f306957c1e145817f93da1c04
2021-09-22 08:10:37 +02:00
Translation updater bot 8f929ccc26 Localisation updates from https://translatewiki.net.
Change-Id: I0013781874f0c7253b48e5249e7fb573d3368ad3
2021-09-21 08:08:55 +02:00
jenkins-bot c50b1630d1 Merge "Add API to get the status of topic subscriptions on a page" 2021-09-21 04:43:03 +00:00
Translation updater bot 70dd1e97ea Localisation updates from https://translatewiki.net.
Change-Id: I6590484d7d3824055646f389672140f40ffa4828
2021-09-20 08:18:49 +02:00
Translation updater bot 2265dd3732 Localisation updates from https://translatewiki.net.
Change-Id: I5a8ac3dd105a4f45364fe6c40111e7628356d9fe
2021-09-15 08:14:07 +02:00
Translation updater bot 93079c7eab Localisation updates from https://translatewiki.net.
Change-Id: I74077147422a8549d4d5624c9582db1d6f5ea371
2021-09-08 08:10:15 +02:00
Bartosz Dziewoński 8bb36bd782 Add API to get the status of topic subscriptions on a page
(Split off from Ic0fabda0de4ebbc5e424f49641e6b03ebb4b7e6a)

Bug: T290185
Change-Id: Iacc0f92bedfcb49e8a05d98af4d8170d08b1c8de
2021-09-07 21:38:09 +00:00
Translation updater bot 49aacb31e6 Localisation updates from https://translatewiki.net.
Change-Id: I167b63b421c87a31dd78b4a410e1790d66d04c6d
2021-09-01 08:16:10 +02:00
Translation updater bot 61d5b624ae Localisation updates from https://translatewiki.net.
Change-Id: Ia92bf13ab44a2ec8d55b1df4f059a0da8ab254da
2021-08-30 08:20:05 +02:00
Translation updater bot b2ba8b7b31 Localisation updates from https://translatewiki.net.
Change-Id: I7470c967dba7479a2a78385baf93f922c30254fa
2021-08-27 08:43:42 +02:00
Translation updater bot fd6455f774 Localisation updates from https://translatewiki.net.
Change-Id: I813ea54544d4650b431f55947f6be3b3c81a9af6
2021-08-26 08:35:58 +02:00
Translation updater bot c960f41652 Localisation updates from https://translatewiki.net.
Change-Id: Ie0a9733577deffa4b0ee703bee5f955e1c6c1113
2021-08-24 12:38:41 +02:00
Translation updater bot c907cf4a43 Localisation updates from https://translatewiki.net.
Change-Id: If6420654e66fa1fc2131d26587e97b3fb503936f
2021-08-24 10:20:59 +02:00
Bartosz Dziewoński 6dd90eda4a Improve discussiontoolssubscribe API documentation
Bug: T280314
Change-Id: I0987faac2cd8c5276a37869212fa968f0d642c09
2021-08-23 18:40:00 +00:00
Translation updater bot 7bcb5f195e Localisation updates from https://translatewiki.net.
Change-Id: Ie1e58b3aa4711b2d5039871beccac100e6183069
2021-08-17 08:19:16 +02:00
Translation updater bot 4c103576e8 Localisation updates from https://translatewiki.net.
Change-Id: If470919a929b62537e563a33a3c88f70f429766f
2021-08-16 08:16:13 +02:00
Translation updater bot f436692239 Localisation updates from https://translatewiki.net.
Change-Id: I9a5ea45cbe009337cd4725ac62ec5ac4b12e16fc
2021-08-11 08:19:13 +02:00
Translation updater bot 3150c533a6 Localisation updates from https://translatewiki.net.
Change-Id: Ib5325a1e137a46b011f52067d4c563958b67354a
2021-08-06 08:13:28 +02:00
Translation updater bot 93f7afac5d Localisation updates from https://translatewiki.net.
Change-Id: I53b86456b2e52e914cd8309d343224860f3035f4
2021-08-04 08:14:47 +02:00
Translation updater bot 09d872e0a5 Localisation updates from https://translatewiki.net.
Change-Id: I91b8e0cb320ef8376b13eb0cd78f9844950bae8e
2021-07-30 08:27:37 +02:00
Translation updater bot 69f86f7555 Localisation updates from https://translatewiki.net.
Change-Id: Iea7d53db93514a37b93c1986cdc70b9ba9fc1608
2021-07-29 08:44:52 +02:00
Translation updater bot 3ccfa56d8f Localisation updates from https://translatewiki.net.
Change-Id: I07a3e6d2260ee25a08d0d5433e1a726a15624194
2021-07-26 08:12:04 +02:00
Translation updater bot fb066eda46 Localisation updates from https://translatewiki.net.
Change-Id: I2db2ddf62a091255ae019d35ea3e42b98e4ea7e6
2021-07-20 08:20:29 +02:00
Translation updater bot ad0b879473 Localisation updates from https://translatewiki.net.
Change-Id: I9ae758b23834e6bef292b6e394b80e8a9264233d
2021-07-12 08:06:22 +02:00
Translation updater bot df4653f4df Localisation updates from https://translatewiki.net.
Change-Id: Id0db12580df7053bc6fd873388382a16e55c6e6b
2021-07-05 08:06:47 +02:00
Translation updater bot d71b3e51e7 Localisation updates from https://translatewiki.net.
Change-Id: I17e05787fd12b74036b5c05f3c8ef2c20ab67651
2021-06-24 08:26:55 +02:00
Translation updater bot 8ac66fd95e Localisation updates from https://translatewiki.net.
Change-Id: I8145c8dcb4ea673ef0dee0009c8e08758541e9d5
2021-06-18 08:20:45 +02:00
Translation updater bot fdadd19ce4 Localisation updates from https://translatewiki.net.
Change-Id: I2daffe12505362a78551da7078bd05f9351738ee
2021-06-10 08:34:19 +02:00
Translation updater bot d18315f850 Localisation updates from https://translatewiki.net.
Change-Id: I0495ec5fc32d59ff54b49b412c60a5426126a8f0
2021-06-07 08:41:52 +02:00
Translation updater bot cf1af27f32 Localisation updates from https://translatewiki.net.
Change-Id: I5c867270835bb40ff825f508d0e16c8d6eea8e93
2021-06-02 14:35:05 +02:00
Translation updater bot 9bbbf967ac Localisation updates from https://translatewiki.net.
Change-Id: I850f95e4d1819a34b5b3aec85847c4486d3215ea
2021-05-31 08:30:52 +02:00
Translation updater bot e7c0545306 Localisation updates from https://translatewiki.net.
Change-Id: Ie4623d21742f6de529dc3fbe7055b5040a95398c
2021-05-28 09:03:51 +02:00
Translation updater bot ce16e7e90f Localisation updates from https://translatewiki.net.
Change-Id: I75e256a32def869323f986f9cfa09f9ef02d365b
2021-05-27 12:05:09 +02:00
Bartosz Dziewoński 6a50d1203c Limit number of topic subscriptions per user
Per Manuel Arostegui in T263817#7033384. The limit is 5000.
(I picked it arbitrarily, there's no real rationale for it.)

Also log a warning when any user reaches half of the limit,
so that we might make a decision about changing this mechanism
before it starts affecting users. Maybe at that time we'll
have data to show that it's safe to remove the limit.

Bug: T263817
Change-Id: I18a8ee0ad7383759229c5721d5253fb591457d4d
2021-05-25 17:16:24 +02:00
Translation updater bot 5cbfecf084 Localisation updates from https://translatewiki.net.
Change-Id: Ia2336c1fad818bf2dbcc5d6f2246bd281073318f
2021-05-24 09:53:40 +02:00
Translation updater bot 2bd90e319c Localisation updates from https://translatewiki.net.
Change-Id: Id3c347cb3fa9f4b07b51ab646a5e46df02f458e0
2021-05-14 08:43:47 +02:00
Translation updater bot 380618596c Localisation updates from https://translatewiki.net.
Change-Id: I99088c211811aca2e74f32d7ab136af11abe84ad
2021-05-04 08:51:48 +02:00
Translation updater bot d80209f264 Localisation updates from https://translatewiki.net.
Change-Id: I5c1d68dfe933f5be8336a5a2ce57d30230cee6d8
2021-05-03 08:36:44 +02:00
Translation updater bot 3ac896fa52 Localisation updates from https://translatewiki.net.
Change-Id: I8697a8aebe77dc2351f4471f136c18e4e13b6337
2021-04-28 08:48:10 +02:00
Translation updater bot ca223a2aa5 Localisation updates from https://translatewiki.net.
Change-Id: I4bad098bf9e49aabe8b3a977eeb1d2c23d09b062
2021-04-22 09:31:13 +02:00
Translation updater bot d1a5c9c428 Localisation updates from https://translatewiki.net.
Change-Id: I5b591c95ac0746691620fc7f2f5c76fad368006e
2021-04-19 08:50:20 +02:00
Translation updater bot 21bc7dd2cb Localisation updates from https://translatewiki.net.
Change-Id: I6eafd087075298887bc16b65d7a5072a27365e64
2021-04-15 08:43:13 +02:00
Translation updater bot 8097e52ec4 Localisation updates from https://translatewiki.net.
Change-Id: Ic5a8b8a6d5f79681261fbb511285aadd48a45b24
2021-04-13 09:20:16 +02:00
Translation updater bot bd9c3c7be7 Localisation updates from https://translatewiki.net.
Change-Id: I9986e5878c26c1879ce04bb580a3812b560f2ab8
2021-04-12 08:37:30 +02:00
Translation updater bot 6c09c491e3 Localisation updates from https://translatewiki.net.
Change-Id: I7f311ddb9fd895ad852e81486d8dfaf4f1d039de
2021-04-09 08:58:14 +02:00
Translation updater bot e4eeeb49ad Localisation updates from https://translatewiki.net.
Change-Id: I9bd151e527f8f6357af381e199d543ac0ded17aa
2021-04-08 08:39:59 +02:00
Translation updater bot 96f1e746e9 Localisation updates from https://translatewiki.net.
Change-Id: If7a70b6754175ffb4b61d287d9fa16ad3bc670b1
2021-04-07 08:51:30 +02:00