Commit graph

708 commits

Author SHA1 Message Date
Ed Sanders c763fb5cc3 MWReferenceNode: Ignore changes to reference list index
This means that all reference nodes are treated as comparable
in the diff (provided they are in the same group) so will
not show up in the article diff if their index changes.

Changes to the reference list are already handled separately
by the visual diff.

Bug: T170235
Change-Id: I8c26686d7b2fe3bf91af7d4dcab1caf3247dbe47
2021-01-21 14:40:15 +00:00
Translation updater bot d9e86c24a0 Localisation updates from https://translatewiki.net.
Change-Id: I5fdb50078ed43827f5f3d360c56e4deb800452b3
2021-01-21 08:31:16 +01:00
Ed Sanders 349fc3b12c CitationNeededContext: Support encapsulated content
When a canonical 'encapsulate' param is defined, the contents
of this parameter will get inserted into the document before
adding a citation after it, effectively "unwrapping" the template
around it.

Bug: T265907
Depends-On: Ie9e41ad46e4154de7e9807c5216abbadd08365f9
Depends-On: Ia53c0a641b231bb81c25c011624357acf4dc42a3
Change-Id: Icf200465bcc8fe87ba8612dc8fa9f4359a2289a9
2021-01-20 21:25:16 +00:00
Ed Sanders b955439be1 ve-cite: Update DiffElement test with fixed output
Change-Id: I9a73d0e0ee3c8b12e0b5c3202eb5882258539920
2021-01-19 23:27:32 +00:00
Translation updater bot 6aa96067ba Localisation updates from https://translatewiki.net.
Change-Id: I5fdf89e90da37847333305c536ca5fd83ec17288
2021-01-15 08:38:49 +01:00
Translation updater bot 2c4a2c2384 Localisation updates from https://translatewiki.net.
Change-Id: Ib3acb99d1b781b52c6b44edc6cc1c1ab8784cd33
2021-01-14 08:49:40 +01:00
Translation updater bot b103982c03 Localisation updates from https://translatewiki.net.
Change-Id: Ic90d32534adfef9474ffedffdf114394798615d0
2021-01-13 08:35:58 +01:00
Translation updater bot 8df720a8b4 Localisation updates from https://translatewiki.net.
Change-Id: I58852651e8dbaf82d2b5762e6070ffe9724fe523
2021-01-12 08:37:08 +01:00
Translation updater bot 330670bb2d Localisation updates from https://translatewiki.net.
Change-Id: Iecdffdbe471f32eb5ac1e492e422e30170a57cfc
2021-01-11 08:33:52 +01:00
Translation updater bot 5780fe9038 Localisation updates from https://translatewiki.net.
Change-Id: I7131cd444c1a45ed069c3afd947e245b7e77366b
2021-01-08 08:55:23 +01:00
Translation updater bot 27aced60ef Localisation updates from https://translatewiki.net.
Change-Id: I8ef019e0d652bc33f9910cbc3c54fd312c4589ba
2021-01-07 08:31:16 +01:00
Translation updater bot ad3e01a300 Localisation updates from https://translatewiki.net.
Change-Id: Id83bbd0ac6a9abd434d367d2042d172b56477904
2021-01-04 08:42:41 +01:00
Translation updater bot e1a4b6f779 Localisation updates from https://translatewiki.net.
Change-Id: I75ef0e3deff8ee0ff3582b812909c70b7692b732
2020-12-29 09:47:21 +01:00
Translation updater bot 34aff2e666 Localisation updates from https://translatewiki.net.
Change-Id: I5350bbad5046be58bfbcce2f3f539ade45f57e7c
2020-12-28 10:37:33 +01:00
Translation updater bot f42688074a Localisation updates from https://translatewiki.net.
Change-Id: I432f5dbb18e0e83f23546c1a2bdad523be9819b4
2020-12-23 08:31:55 +01:00
Translation updater bot e3f805432f Localisation updates from https://translatewiki.net.
Change-Id: I850a4e99f55acebee8151d98ed96e6feedd6b7ff
2020-12-22 08:30:19 +01:00
Translation updater bot db7ccab956 Localisation updates from https://translatewiki.net.
Change-Id: I986b73b067e8b0cad97a3a6bb9b6d7606734a5ad
2020-12-21 08:38:25 +01:00
Translation updater bot 0e2bfa987b Localisation updates from https://translatewiki.net.
Change-Id: I4fbb5046df379c58bde9ea392b4bff930515aee9
2020-12-18 08:24:05 +01:00
Translation updater bot e7493c1f4b Localisation updates from https://translatewiki.net.
Change-Id: Ic0485a04c049b26e2743b2d8d05d77617b0816aa
2020-12-17 08:54:36 +01:00
Translation updater bot cf32b96e0b Localisation updates from https://translatewiki.net.
Change-Id: Id0821b3c842fe2c6b4cac0efccddc476d00e990c
2020-12-16 08:29:34 +01:00
Translation updater bot a67fc07c5f Localisation updates from https://translatewiki.net.
Change-Id: I49867e15e95203760ae57650b3d59c7ff26ab176
2020-12-15 08:35:22 +01:00
Ed Sanders 6e3eedd40a Show reason and/or date in CitationNeededContextItem
Bug: T270107
Depends-On: I7fdd4810118e72b9719b840fa5e0887006a74a25
Change-Id: I873fb28f5e8fbac469f0fe050818c58dc782fea9
2020-12-14 08:06:02 -08:00
Ed Sanders 10f7f716f0 ve-cite: Add dependency on ext.visualEditor.mwtransclusion
ReferencesListNode needs to be registered after
MWTransclusionNode so that it has a higher specificity
when matching.

Change-Id: I93610fac2ec9715a14b34efb76abc55d2d2c6900
2020-12-13 22:10:44 +00:00
Translation updater bot ca1628d5e3 Localisation updates from https://translatewiki.net.
Change-Id: Iaaf9d440ba8c219489c0d6efb712bf776fa6edd4
2020-12-10 08:34:15 +01:00
Translation updater bot 74344a461b Localisation updates from https://translatewiki.net.
Change-Id: Id1dcd835bff0a50917ec301ceade5d6fd9192e1e
2020-12-07 08:43:37 +01:00
Translation updater bot e7524ce17b Localisation updates from https://translatewiki.net.
Change-Id: I3192d870e725bbdf0e08014078afa9e1d97c3e6b
2020-11-30 08:46:02 +01:00
Translation updater bot bcdaadea83 Localisation updates from https://translatewiki.net.
Change-Id: I2510bbb6db4815214f2a5adf38b8f8be4867b59c
2020-11-24 08:39:01 +01:00
Translation updater bot 301214aab5 Localisation updates from https://translatewiki.net.
Change-Id: I373d403c5930aae37741cd2d02c0716de3f90f95
2020-11-23 08:38:35 +01:00
Translation updater bot ef29758429 Localisation updates from https://translatewiki.net.
Change-Id: Iba7b247d31baa47de5c7bb1a1e02fa88cd420db9
2020-11-13 08:29:56 +01:00
jenkins-bot 586b9e65f7 Merge "Add "reference" class to references in VisualEditor" 2020-11-10 21:05:32 +00:00
Translation updater bot df0c1bd889 Localisation updates from https://translatewiki.net.
Change-Id: I9388c85127ad9824fcc6197d99824da9db6a6e3e
2020-11-09 08:34:17 +01:00
Bartosz Dziewoński 72f79aae3b Add "reference" class to references in VisualEditor
* Add it to CE HTML, for compatibility with site styles.
* Add it to DM HTML of newly created references only. Existing
  references just use whatever classes we got from Parsoid, to avoid
  unnecessary DOM changes and dirty diffs.

Bug: T265930
Depends-On: I61a2132f3876e2d9567d985358f51eb51c479813
Change-Id: I9d6856f03071c09617b8ae7db938135a3e30fe8e
2020-11-06 18:04:13 +00:00
Translation updater bot a1d3d21eec Localisation updates from https://translatewiki.net.
Change-Id: I964aafb8c34af5273564498967b3810a14fb333d
2020-11-03 08:43:49 +01:00
Translation updater bot 7741785df8 Localisation updates from https://translatewiki.net.
Change-Id: Ib2826d14ae7c8bb4179d838c2a7e91bc6f7371cc
2020-10-13 08:41:42 +02:00
Translation updater bot 387cfc8fcf Localisation updates from https://translatewiki.net.
Change-Id: I823ef8e09bdb2a129fb5a4554f602d4bb2e1ec68
2020-10-05 08:41:04 +02:00
Translation updater bot c12150a98c Localisation updates from https://translatewiki.net.
Change-Id: I7c25628ce266c8914947f318b4519e9e06c1a42c
2020-09-28 08:28:48 +02:00
jenkins-bot b3d83799cb Merge "Downstream images for VE EducationPopup" 2020-09-25 09:11:19 +00:00
Translation updater bot e8335bc0f1 Localisation updates from https://translatewiki.net.
Change-Id: Ide55d4d70fbe1b9cc6144063425c0429be7d1fce
2020-09-25 08:21:06 +02:00
Ed Sanders 8e3bc8cb2c Match line-breaking whitespace in reference names
Bug: T263698
Change-Id: I436b0fbf1756e08fe9ff9013aff7479d5ec653f6
2020-09-24 20:29:00 +02:00
Ed Sanders 21b9cc6eb4 Downstream images for VE EducationPopup
The messages for the popup lives here, so should the image.

Change-Id: I02041246dda1b3d3ad1bcc0b014fa022e8259b62
2020-09-24 17:51:18 +01:00
Translation updater bot 8ee6c996e7 Localisation updates from https://translatewiki.net.
Change-Id: Ia3d6197723410c1d7ac052e7bea4d0fdff4ca9fd
2020-09-23 08:24:28 +02:00
Translation updater bot ece0c86ff9 Localisation updates from https://translatewiki.net.
Change-Id: Ia5778b30d9f5b0132dd04b72c5888579a3d1f05c
2020-09-21 08:29:00 +02:00
jenkins-bot e5d29aa8c0 Merge "eslint: Fix and enable the 'no-shadow' rule" 2020-09-18 15:22:51 +00:00
Ed Sanders 309645a7ca eslint: Fix and enable the 'no-shadow' rule
Change-Id: I887003beaa3ee2e984b6f854b777485ca9e49049
2020-09-18 14:37:07 +00:00
Translation updater bot 3e8154e801 Localisation updates from https://translatewiki.net.
Change-Id: If47cb323efd543d96cde357f84359cd6bd5fcd70
2020-09-14 09:13:21 +02:00
Translation updater bot 45dace7113 Localisation updates from https://translatewiki.net.
Change-Id: I3b0525238f30b01bbf23e7fc549f186f239ccba2
2020-09-06 20:55:06 +02:00
Translation updater bot bc919e6d78 Localisation updates from https://translatewiki.net.
Change-Id: I0e6fcab7bbf62e392e18f665215b360d5d3f7c7f
2020-08-24 11:57:29 +02:00
Translation updater bot 7b2c411738 Localisation updates from https://translatewiki.net.
Change-Id: I04e0a2329dbba988921beefcce166ed394d4be6a
2020-08-11 08:20:41 +02:00
Translation updater bot 418b173ba3 Localisation updates from https://translatewiki.net.
Change-Id: I745d5b735aa28f5e0e90d02cd3b1711143a63c1d
2020-08-10 09:00:17 +02:00
Translation updater bot 94b181ed37 Localisation updates from https://translatewiki.net.
Change-Id: I05b284b771d20fa121fe55f8226fd3b8089345f4
2020-08-03 08:31:34 +02:00