Commit graph

1094 commits

Author SHA1 Message Date
Translation updater bot bc6eb2d680 Localisation updates from https://translatewiki.net.
Change-Id: Ic72e9519b4c54b6df486faf31a5f97e21d209387
2022-02-17 08:11:32 +01:00
Bartosz Dziewoński 25d474b866 Remove hack that hides ref errors unnecessarily
It was originally added in I661493ab2f in 2013, to hide errors that
would appear when templates containing re-uses of references were
previewed separately from the rest of the page.

It has been made unnecessary when VisualEditor was changed to render
wikitext fragments (such as previewing templates) using Parsoid rather
than legacy parser, in 2014: I8a61d2fab8.

However it wasn't removed then, and then Ide82c96db4 changed the
selector and made it more difficult to understand its purpose (and
caused T301845, seven years later), and then Iba0f25b3eb / I39936ed83d
moved it to this repo in 2016, and then everyone forgot about it.

Bug: T53141
Bug: T301845
Change-Id: I7ac5ed6544575877fe1b6f09951e58b35df9648d
2022-02-16 06:14:01 +00:00
Translation updater bot e241bcc287 Localisation updates from https://translatewiki.net.
Change-Id: If6ec86237901dc3db874e1e5184e6d74c1a86de4
2022-02-15 08:17:03 +01:00
Translation updater bot db4d981822 Localisation updates from https://translatewiki.net.
Change-Id: I1ea2425799f5a2423e9e837f6d33b9f5cc91ca24
2022-02-03 08:43:45 +01:00
Translation updater bot 1678a55352 Localisation updates from https://translatewiki.net.
Change-Id: Ife79d2aad37f1dd29d2f62987f5d8472872fe237
2022-02-01 08:26:46 +01:00
jenkins-bot 8e7093c865 Merge "ve-cite: Ensure references are always unique by generating originalDomElementsHash" 2022-01-31 18:58:03 +00:00
Ed Sanders 1e6968b5c0 ve-cite: Ensure references are always unique by generating originalDomElementsHash
This is a bit of an abuse of the originalDomElementsHash property.
In future we could add a 'uniqueId' attribute, but this would need
to be ignored in a few places in core.

Bug: T299378
Change-Id: I7d1eb362aeb74ba93f5225330226a95535746b92
2022-01-27 01:14:52 +00:00
Ed Sanders b677a88fcc ve-cite: Update diff tests with new ref list HTML
Depends-On: If4ca99fa4532b33f164e298b53cfa1e202035015
Change-Id: I8e45941401448b826fec37d3dba4d6b1d8e53671
2022-01-25 20:46:29 +00:00
Bartosz Dziewoński c22f35964a Update tests for the removal of doc-child-change wrappers
Depends-On: Ib29f23625de9151d50e0f3b7796b15ca9ed89133
Change-Id: I73efd3c581cbb561be3dfc9eeb3524d9f949ea83
2022-01-24 21:58:01 +01:00
Translation updater bot f2c7ac4622 Localisation updates from https://translatewiki.net.
Change-Id: I2c111266e09421c1d07ede4d99a1b3d32d2a6820
2022-01-21 08:13:44 +01:00
Ed Sanders a2c927f8b8 ve-cite: Handle ref nodes with mw:Error RDFa
Bug: T299378
Bug: T299672
Change-Id: I7bc7dfb4fb9c0c9b140b793e6e0b2d00b7fe67e0
2022-01-21 00:00:34 +00:00
Translation updater bot 76858930e2 Localisation updates from https://translatewiki.net.
Change-Id: I3449ea91fd9dc222614dcb6872693424a38ec5bd
2022-01-17 08:11:44 +01:00
jenkins-bot 7fb11b981e Merge "VE tests: Suppress XML warnings" 2022-01-11 18:15:55 +00:00
Translation updater bot 5fa2e7ff97 Localisation updates from https://translatewiki.net.
Change-Id: I4ce8c3d08786f663c219631f0a5b8364e2d76a7a
2022-01-11 08:22:53 +01:00
Ed Sanders 0ef557a509 VE tests: Suppress XML warnings
The XML validator can't handle unescaped < in attributes
so always throws a warning.

Change-Id: Ie49e4080c049dea6eea714abdeb37f6764baaa2a
2022-01-10 14:21:44 +00:00
Translation updater bot cc6ed9e306 Localisation updates from https://translatewiki.net.
Change-Id: Id060c827a35f49994be5f36369ce95d4acd89d3d
2022-01-10 08:11:04 +01:00
Translation updater bot 5045d7ef93 Localisation updates from https://translatewiki.net.
Change-Id: If16fc8280d464b315d9e290a0b8cb8d0493b23d0
2022-01-07 08:24:40 +01:00
jenkins-bot 5802551bae Merge "Use .test() instead of .match()" 2022-01-04 22:09:31 +00:00
Translation updater bot d050c6f48c Localisation updates from https://translatewiki.net.
Change-Id: I69e36c43f9efde457f3b419af36671c3f6b408f3
2021-12-31 09:41:58 +01:00
Thiemo Kreuz 7a2f271ce6 Use .test() instead of .match()
.match() returns the matches. But these are not needed here. The
boolean method is .test().

Change-Id: I9e6f13f25fb8ccc6d3e873288d1100f4a2a56b15
2021-12-29 18:24:22 +01:00
Translation updater bot c9a5442ee4 Localisation updates from https://translatewiki.net.
Change-Id: I1bd8c35a6a24c28b1c002e60eb495d04ce78c09b
2021-12-27 09:29:44 +01:00
Translation updater bot e6180d68fa Localisation updates from https://translatewiki.net.
Change-Id: I2b907c6460ac77b19566e7261897983ded694080
2021-12-23 08:37:48 +01:00
Ed Sanders 84489c15b3 Don't attach DOM nodes from the DM store to the main document
Bug: T298147
Change-Id: I194ff1d576547dc717c523a490083fbcf903d87c
2021-12-21 20:32:05 +00:00
Translation updater bot 378f031a00 Localisation updates from https://translatewiki.net.
Change-Id: Id8df69cf761472ac5807c16a5aead70a0e76dcee
2021-12-20 08:20:51 +01:00
Translation updater bot 32f7e6dbd6 Localisation updates from https://translatewiki.net.
Change-Id: I0579d423942ddbed2296cb72656a7b31a2e9b531
2021-12-17 08:16:52 +01:00
Translation updater bot 01df31ecef Localisation updates from https://translatewiki.net.
Change-Id: I640a4c2fc55d66789319918b3ed9c93b93623637
2021-12-14 08:42:30 +01:00
Translation updater bot b28834ebbd Localisation updates from https://translatewiki.net.
Change-Id: I6c138aab2d247c3a7dce5b1d5b3964dd9c12e524
2021-12-10 08:23:34 +01:00
Bartosz Dziewoński 90fb1eba04 ve.ui.MWReferencesListDialog: Fix exception caused by a copy-paste mistake
Follow-up to cf95dbd4be.

Bug: T297418
Change-Id: I7c3970cf5a9b3632438e96513e9e983a5527aa21
2021-12-09 20:53:50 +01:00
Timo Tijhof bee357337c ve-cite: Export citationTools as native object instead of JSON string message
* Remove the overhead of serializing and then re-parsing client-side,
  instead assign it directly as native object literal.

* Move code for array slicing to PHP.

Change-Id: Iedcc8d57d3bddd3fa32a78b4e7ecc25615d94277
2021-12-07 12:53:24 +00:00
Timo Tijhof 471e73a7db ve-cite: Remove redundant check for visualeditor-cite-tool-definition.json
The server always defines this message as `cite-tool-definition.json`
in CiteVisualEditorModule.php, including a transparent fallback that
defines it with the content of `visualeditor-cite-tool-definition.json`.

Change-Id: I27426ed1947c1665e5284e64ec1946b1abeff7d1
2021-12-07 12:53:13 +00:00
Translation updater bot db02766664 Localisation updates from https://translatewiki.net.
Change-Id: I877a7076611026b88529810919f35c888888f43e
2021-12-06 08:18:45 +01:00
jenkins-bot a55f2b97cc Merge "ve-cite: Use proper method for comparing linear data (attempt 2)" 2021-11-30 22:22:35 +00:00
jenkins-bot 345766683c Merge "ve-cite: Add test for simple case of re-used reference" 2021-11-30 21:59:59 +00:00
jenkins-bot ca53985924 Merge "ve-cite: Update CSS classes in tests" 2021-11-30 21:59:57 +00:00
Translation updater bot b8e80d9c11 Localisation updates from https://translatewiki.net.
Change-Id: Ie3e73467398dd5b684cbb006727cfbe316b70922
2021-11-29 08:11:20 +01:00
Translation updater bot 2594ab60f8 Localisation updates from https://translatewiki.net.
Change-Id: I18ecafb1930e6abcd1f269d0ce6475c970cfb8ca
2021-11-25 08:24:01 +01:00
Ed Sanders 1a2ae0682f ve-cite: Use proper method for comparing linear data (attempt 2)
In Ifb0ba3caf8d we removed this reference equality check and replaced
it with a deep object comparison, however due to the fact that
hashes for MWReferenceNodes were simplified in I8c26686d7b to
improve visual diffs, this resulted in a overly simplified comparison
that couldn't distinguish references with the same "name".

Instead do a deep object comparions of the standard node hash object.

Tests added in Ia0bbd40528 assert that this doesn't result in the
regression that caused T296044.

Bug: T296086
Change-Id: I7b37fb54e14bfe28a07f722a2c45fd4e4a2d44f2
2021-11-19 14:24:42 +00:00
Ed Sanders e539a60fb9 ve-cite: Add test for simple case of re-used reference
In our first case we have a reference re-used before it
is defined, but that doesn't trigger the bug that caused
T296044.

Change-Id: Ia0bbd40528228275f0a978a0a459388a04ea2e79
2021-11-19 13:51:21 +00:00
Ed Sanders 638dbbff60 ve-cite: Update CSS classes in tests
Change-Id: I4546a71d541e1d22a4c34e6d0f5173a993792ff9
2021-11-19 13:51:21 +00:00
jenkins-bot ea7f9bf0d3 Merge "Revert "Use proper method for comparing linear data"" 2021-11-19 00:59:20 +00:00
Bartosz Dziewoński 4fcc4bc42d Revert "Use proper method for comparing linear data"
This reverts commit bad697bd32.

Bug: T296044
Change-Id: Ie442e482aa3b60754fe457d835c4cf6400f42d94
2021-11-19 00:35:28 +00:00
Ed Sanders c8b691b8d1 Follow-up cf95dbd: Fix incorrect scope in loop
Change-Id: Iae5ec0321e19bfa1c5f53326bf9d9a3082d96f77
2021-11-15 14:39:15 +00:00
Translation updater bot 021e456751 Localisation updates from https://translatewiki.net.
Change-Id: Ife5dc45d0f4935586ce37027758a887ee8f1c626
2021-11-15 08:11:20 +01:00
jenkins-bot cc111ca5fd Merge "Move eslint client config to modules, fix warnings" 2021-11-09 18:14:37 +00:00
jenkins-bot a11cf9858c Merge "Move var declarations inline" 2021-11-09 18:14:35 +00:00
jenkins-bot a90c67b6e8 Merge "Use proper method for comparing linear data" 2021-11-09 14:00:01 +00:00
Ed Sanders 0d4bb626f1 Move eslint client config to modules, fix warnings
Change-Id: I86857b82fa7d5c47c0056da4ad270fcb2a4d965f
2021-11-03 16:38:31 +00:00
Ed Sanders cf95dbd4be Move var declarations inline
Change-Id: I824a65e72a72e5acf65c54a63299469f7acb649d
2021-11-03 16:38:31 +00:00
Adam Wight 3c02ee38b2 Clean up javascript code smells
These were discovered using SonarCloud.

Change-Id: Ie36fa248e4b395bb97b8969ece6688ec055afb55
2021-11-03 12:28:07 +00:00
Ed Sanders bad697bd32 Use proper method for comparing linear data
Previously we checked the elements were reference-equal
which is fragile and breaks when linear data freezing is
enabled in debug mode.

Change-Id: Ifb0ba3caf8d3e5a67c9694358cac12cc412fe723
2021-11-02 23:15:13 +00:00
Translation updater bot a0ffa6c3f9 Localisation updates from https://translatewiki.net.
Change-Id: I0441ed2deb270c9e9f7bab23269375672fe32826
2021-10-29 08:21:30 +02:00
Translation updater bot ffe592653e Localisation updates from https://translatewiki.net.
Change-Id: I876d53a92164714647e9c960ce15c01a2a5971c6
2021-10-26 08:16:57 +02:00
Translation updater bot 67f8c5cd23 Localisation updates from https://translatewiki.net.
Change-Id: I9157ceb33818cacdd23cee8fd24ced0a864bbf54
2021-10-22 08:14:44 +02:00
Translation updater bot 9a94b09f0c Localisation updates from https://translatewiki.net.
Change-Id: Id4131a628619feefb12f07019c23b02565d4bd2f
2021-10-20 08:36:29 +02:00
Translation updater bot b5f979db1b Localisation updates from https://translatewiki.net.
Change-Id: I6dac2823513fee31b0252cda244e7a6d05a09c95
2021-10-18 15:19:34 +02:00
Adam Wight 53d055d1e4 Only the "show/hide options" button should be hidden
We added this line in order to make the sidebar show/hide behavior
the same as the new VisualEditor template dialog, but it should have
only affected this one button.  When additional actions are added,
such as Citoid's "change reference type" button, these should still
be available.

Bug: T293280
Change-Id: I6b2c716fff991781e36ba21b541ea2ff918cfeb3
2021-10-15 13:42:48 +02:00
Translation updater bot 4c55bcbd94 Localisation updates from https://translatewiki.net.
Change-Id: I15bdf21a6913116a26f0db2d35c41bff9189b8d2
2021-10-06 09:28:06 +02:00
Translation updater bot 00c1a28db6 Localisation updates from https://translatewiki.net.
Change-Id: I1e3932d60abf27cdab341530ce2f948b9dc65f98
2021-10-04 08:55:28 +02:00
Translation updater bot ca7e992234 Localisation updates from https://translatewiki.net.
Change-Id: Id817e900b7a78973f3b3f99bbd366668d8ec3513
2021-10-01 09:29:40 +02:00
WMDE-Fisch a8ea95de72 Fix class doc block for VE action
Seems to be a copy&paste leftover.

Change-Id: Ie5c06dd0d880663a0a4f1bfeb082a106811f03e7
2021-09-30 10:13:39 +00:00
Translation updater bot 79fc5b898e Localisation updates from https://translatewiki.net.
Change-Id: Id4eae6b5d47b9657088d5766c23b09ef534462b2
2021-09-30 08:57:12 +02:00
Translation updater bot 8ad00930a0 Localisation updates from https://translatewiki.net.
Change-Id: I44760079ed1dc6e51c65ccae2454f75c7643f629
2021-09-29 09:01:33 +02:00
jenkins-bot ecf603a5fd Merge "Make citation dialog behave more like VE" 2021-09-28 09:14:05 +00:00
Thiemo Kreuz 8902cea828 Use .containsValuableData() method from transclusion model
This is even more reliable because it also considers auto-values,
for example.

Depends-On: I522b888e366f066b28983a18041a8728d11623df
Change-Id: If83b9da65be9a759a82e8512ae171f802da9f597
2021-09-27 11:19:28 +02:00
Translation updater bot 6d512c7667 Localisation updates from https://translatewiki.net.
Change-Id: I4c470c517972cbe8322cddf93d99ba1df24f689d
2021-09-27 08:34:25 +02:00
Translation updater bot 3d14044c4e Localisation updates from https://translatewiki.net.
Change-Id: Ie8333fbd6f24dfb6422229a0648788f9ddc241f8
2021-09-23 12:27:21 +02:00
Adam Wight ca2ffa4853 Make citation dialog behave more like VE
Applies new sidebar features to the Cite dialog, according to the VE
feature flags.

Bug: T291241
Change-Id: I1b7c191ae8fd1fa01808ea1e84ba72551f3d2331
2021-09-20 11:44:51 +02:00
Translation updater bot 01acd4f775 Localisation updates from https://translatewiki.net.
Change-Id: I8ad6037c5b00e14e4a825db085752a1ff42c6968
2021-09-16 08:11:25 +02:00
Translation updater bot 40aa379b43 Localisation updates from https://translatewiki.net.
Change-Id: I2a537a3cb9be4d7f09889404634115e561845d56
2021-09-09 08:17:17 +02:00
Translation updater bot efd8590420 Localisation updates from https://translatewiki.net.
Change-Id: I38cfab8051a01449caab2253b4b3fc9ef3ff484e
2021-09-06 08:20:27 +02:00
Translation updater bot a4e65b96ba Localisation updates from https://translatewiki.net.
Change-Id: I3dbbd6824a2ca5b0449574ce95e02267b8e60c6f
2021-09-02 08:26:01 +02:00
jenkins-bot 6f2c6d4ef8 Merge "Show empty reflist message on initial load and after switching too" 2021-09-01 16:48:10 +00:00
Translation updater bot b16f0d9e68 Localisation updates from https://translatewiki.net.
Change-Id: I99a39c2d7f759d03aaa890fa1365f7deab5c0d6f
2021-08-26 08:35:40 +02:00
Bartosz Dziewoński 28a8739ce5 Show empty reflist message on initial load and after switching too
The message was only shown when a new reflist was inserted, or when
any references were changed.

Bug: T284472
Change-Id: I7c1e981c93bf7e163f9fb747aad30a24e9a497f1
2021-08-24 12:24:07 +02:00
Translation updater bot 66125caae0 Localisation updates from https://translatewiki.net.
Change-Id: I633634a17f619b770828aebe952a8b4b922fbeb7
2021-08-19 08:13:13 +02:00
Translation updater bot ace7aff1db Localisation updates from https://translatewiki.net.
Change-Id: Id674072833a1dff7c4f15876a96109eb6c232992
2021-08-16 08:16:00 +02:00
Translation updater bot 095d3bf6a9 Localisation updates from https://translatewiki.net.
Change-Id: I56527e34a9a4bf2ef75f5e26a0b075d1253d31b9
2021-08-11 08:19:06 +02:00
Translation updater bot 60b3124734 Localisation updates from https://translatewiki.net.
Change-Id: I43fbe0ee2818205c821ecb892a86e0f019e90891
2021-08-09 08:23:37 +02:00
Translation updater bot ba7bfbd2a5 Localisation updates from https://translatewiki.net.
Change-Id: Ia05fa0aa665dbf29f72480f844c62264bd56029c
2021-08-04 08:14:41 +02:00
Translation updater bot c28ec1a826 Localisation updates from https://translatewiki.net.
Change-Id: I2d64466bde6b5ffc3514f702fdb0518c0b59c3aa
2021-07-27 08:13:14 +02:00
Translation updater bot 6beb1d25ba Localisation updates from https://translatewiki.net.
Change-Id: I7cb03d491de452ec6285775254c3d3d962d4a67b
2021-07-23 08:08:06 +02:00
Translation updater bot 34dbb86730 Localisation updates from https://translatewiki.net.
Change-Id: I9e1ce120c7fb87350262661a4785a561c26bdad8
2021-07-20 08:20:22 +02:00
Translation updater bot 0219e5b715 Localisation updates from https://translatewiki.net.
Change-Id: Id0d08c66442d0f420a884e899c35b599fe7e019e
2021-07-16 08:43:19 +02:00
Translation updater bot 6b5afb1088 Localisation updates from https://translatewiki.net.
Change-Id: I8b5d1c377d3245d60531893599a47176149949c2
2021-07-12 08:06:14 +02:00
Translation updater bot d435430956 Localisation updates from https://translatewiki.net.
Change-Id: I27fa58c4888cea3b095b082a174ff0b04dc6d5fc
2021-07-08 08:46:33 +02:00
Translation updater bot 28e4d02e10 Localisation updates from https://translatewiki.net.
Change-Id: Ib864ded260d8dd6546f8aea2969b7b0062bbf7cf
2021-07-07 08:07:46 +02:00
Translation updater bot 38e6af7c41 Localisation updates from https://translatewiki.net.
Change-Id: Ia5dcb95a46c67ec5b5e83eab930c8fdf2b4ca69d
2021-06-29 08:13:33 +02:00
Translation updater bot 647842b6ff Localisation updates from https://translatewiki.net.
Change-Id: Ie906c92e1940e848228d3f3c5e0af39717b87904
2021-06-28 09:22:51 +02:00
Translation updater bot 3cfbf69464 Localisation updates from https://translatewiki.net.
Change-Id: I93593aa14530128f3afdd34aa475fe9bfb3aa0a4
2021-06-21 14:11:27 +02:00
Translation updater bot c241590737 Localisation updates from https://translatewiki.net.
Change-Id: Ieab4d5bcf1d5cea1bfe90419221fb250d701c07c
2021-06-18 08:20:35 +02:00
Translation updater bot 30a5b3e5fd Localisation updates from https://translatewiki.net.
Change-Id: Iea7383e6802469716e4adada45c18d3140a3e2d8
2021-06-17 08:20:24 +02:00
Translation updater bot 617724f839 Localisation updates from https://translatewiki.net.
Change-Id: I3ffdf667f6b6a38819f49c4b37e73c6d0dbf9e84
2021-06-10 08:34:07 +02:00
Translation updater bot fc263cf08b Localisation updates from https://translatewiki.net.
Change-Id: I40a6662a2aa0224ec8a5a7c9e243a8016bedbcec
2021-06-08 08:35:45 +02:00
Translation updater bot 0898540621 Localisation updates from https://translatewiki.net.
Change-Id: I622fd7f4e41531b8203c684b9689c2bfebd180e9
2021-06-07 08:41:36 +02:00
jenkins-bot b8e2187f77 Merge "Localisation updates from https://translatewiki.net." 2021-06-04 06:39:44 +00:00
Translation updater bot a8ffbc4191 Localisation updates from https://translatewiki.net.
Change-Id: Ifbd996c3e636cf28bd219b615ca73a663d29b3ef
2021-06-04 08:36:06 +02:00
Ed Sanders 299e5d3655 Avoid exceptions if node teardown happens before setup
Change-Id: I7f55091023a3c0e92ce216e51f24bbc423f136c7
2021-06-03 22:50:44 +01:00
Translation updater bot f4257fadd4 Localisation updates from https://translatewiki.net.
Change-Id: I8001f064b67374fb15bdf7821a72352dd6f335bd
2021-06-02 14:34:54 +02:00
jenkins-bot 2ce4860bce Merge "Change the button "Basic form" to "Basic"" 2021-06-01 13:59:28 +00:00
Translation updater bot cb002e220f Localisation updates from https://translatewiki.net.
Change-Id: I77f398ccbadbe9f1e8d9ef964e26287b89aa341d
2021-06-01 08:34:51 +02:00
Amir Aharoni 94166f93b3 Change the button "Basic form" to "Basic"
This button has the same function as the menu item
"Cite -> Basic" on sites that don't have Citoid configured.

Bug: T108713
Change-Id: I8b419ecdc3b0206974c5f413bfd2e35873fe9850
2021-05-31 11:46:24 +03:00
Translation updater bot d65b9a620b Localisation updates from https://translatewiki.net.
Change-Id: I9fd2b81fe5b1d6b9fd0ce6e4d726da96cce483d8
2021-05-28 08:59:11 +02:00
Translation updater bot c8e3afa54c Localisation updates from https://translatewiki.net.
Change-Id: Iac34f93777290720145d4f9eeabca728b571d019
2021-05-27 12:04:56 +02:00
Translation updater bot 3fc9a8d583 Localisation updates from https://translatewiki.net.
Change-Id: I0e1ee4a31ae7c25a45aa88840183150879857e93
2021-05-24 09:53:16 +02:00
Translation updater bot d276d52bba Localisation updates from https://translatewiki.net.
Change-Id: I90f7a42cd52ebba37cdeed505d8c5aa60f8f94de
2021-05-20 09:09:56 +02:00
Translation updater bot 6a82f23dd5 Localisation updates from https://translatewiki.net.
Change-Id: Ic1aaa533af2adfd7a0e5f1e095a0cc4d559981d8
2021-05-19 08:42:26 +02:00
Translation updater bot 2ae898e5c6 Localisation updates from https://translatewiki.net.
Change-Id: I8b7a9f6b88d677992fe0ba883dbb24915d17082d
2021-05-17 08:41:27 +02:00
Translation updater bot ce7dd73d6c Localisation updates from https://translatewiki.net.
Change-Id: I0742dab88b3bb4fd8a76c13cf6c4eaf6101e62c3
2021-05-14 08:43:14 +02:00
Translation updater bot f8b477ba3f Localisation updates from https://translatewiki.net.
Change-Id: I64fe2c4c7d8b813fc89075bff06486d9455a8fe0
2021-05-10 08:50:48 +02:00
Translation updater bot 4aa7db0f98 Localisation updates from https://translatewiki.net.
Change-Id: Idc59908bb66085dfe5f3d1cbaf34b81a90536e28
2021-05-06 08:53:39 +02:00
Translation updater bot d2dae398f1 Localisation updates from https://translatewiki.net.
Change-Id: I0a04d538f845172c0d3e6298b93337d7d0601fbd
2021-05-04 08:51:30 +02:00
Translation updater bot 13c0393e0a Localisation updates from https://translatewiki.net.
Change-Id: I73ae3f4151ce6c8cd9670b02ed588cc67e8880f0
2021-05-03 08:36:25 +02:00
Translation updater bot 0b7aa9d82e Localisation updates from https://translatewiki.net.
Change-Id: I7d4996d551da07510d9fd382d6bec1866d663153
2021-04-28 08:47:45 +02:00
Translation updater bot e205a29d0d Localisation updates from https://translatewiki.net.
Change-Id: Ib7e594bded142ccb39f632cb815170bd78bcdc23
2021-04-27 08:37:42 +02:00
Translation updater bot 59c129ff3a Localisation updates from https://translatewiki.net.
Change-Id: Ie0ed0a9c40af1a98704b06db67f89ba396f544f9
2021-04-23 08:36:15 +02:00
Translation updater bot 2e439e1b04 Localisation updates from https://translatewiki.net.
Change-Id: I4b24bc7d2afe9e7e26024f8359d99fd34019be37
2021-04-16 09:50:03 +02:00
Translation updater bot fca94768ea Localisation updates from https://translatewiki.net.
Change-Id: Ibd0737f3f8e3f3937067712a57dc140df453947f
2021-04-14 08:37:50 +02:00
Translation updater bot f8f5a5c68d Localisation updates from https://translatewiki.net.
Change-Id: I2f7d6f3a77b0cf2dbb368292351f9c9f9a35439e
2021-04-13 09:19:58 +02:00
Translation updater bot 41a9918870 Localisation updates from https://translatewiki.net.
Change-Id: Id3e44f0538ec51f20f08276187e469461450e404
2021-04-12 08:37:09 +02:00
Translation updater bot a514a71f0b Localisation updates from https://translatewiki.net.
Change-Id: I4bfb73418f0fcec975c078fc16f65a26d17c609d
2021-04-09 08:58:01 +02:00
Translation updater bot d8504ae732 Localisation updates from https://translatewiki.net.
Change-Id: I605306668da0f8abf3388d815ed862b4202275a4
2021-04-08 08:39:37 +02:00
DannyS712 30d2385254 Delete empty translation files
Change-Id: I8d576a84f404e12609b5a0d27a08a55a46134d93
2021-04-07 17:18:05 +00:00
Translation updater bot 26873614c9 Localisation updates from https://translatewiki.net.
Change-Id: Ic22a9ca6e1990a8afb5befd169c65b2d0731c107
2021-04-02 09:48:20 +02:00
Translation updater bot 69a54351da Localisation updates from https://translatewiki.net.
Change-Id: I1823f96e9af3b29bf034ed6a1330dd3a95db21fd
2021-03-19 08:24:33 +01:00
Translation updater bot f281475233 Localisation updates from https://translatewiki.net.
Change-Id: I076cd8d0ba7be7cd3dd39e53706f08015de55175
2021-03-15 08:39:57 +01:00
Translation updater bot 94d0ed4a5a Localisation updates from https://translatewiki.net.
Change-Id: I86f11cf415af6026dd32431957c9554ddb8f0821
2021-03-08 08:45:53 +01:00
Translation updater bot 985c7d17cc Localisation updates from https://translatewiki.net.
Change-Id: Id117fbcb495c745302f260099fd7c42a0aa3a1cb
2021-03-05 08:55:18 +01:00
Translation updater bot 137f234cbe Localisation updates from https://translatewiki.net.
Change-Id: I84de2c0a7bf0753ef42f6a778cc77bad001f5617
2021-03-02 08:49:02 +01:00
Translation updater bot 07a78c9b44 Localisation updates from https://translatewiki.net.
Change-Id: Ifaf063f5fc2a063db118504261c217fcb3326b0b
2021-03-01 08:50:57 +01:00
Translation updater bot 2151c0b9b1 Localisation updates from https://translatewiki.net.
Change-Id: I313bcec48028c10a241c5fc54bbd4de68b6c6e39
2021-02-22 08:51:08 +01:00
Translation updater bot 83a5430610 Localisation updates from https://translatewiki.net.
Change-Id: I3e3f4033c9c36e94b561744ee90071cfadae2765
2021-02-19 08:31:27 +01:00
Translation updater bot cc8dc1e1b8 Localisation updates from https://translatewiki.net.
Change-Id: I05d3894ac47e4c129e58aa883863292a967e0e5c
2021-02-17 08:42:07 +01:00
Translation updater bot 3fbba60dfc Localisation updates from https://translatewiki.net.
Change-Id: I5b233e1e04a3f163fae55866398f21aa279a8e8d
2021-02-12 08:51:14 +01:00
Translation updater bot 10e16348ca Localisation updates from https://translatewiki.net.
Change-Id: If81d19a4a172d4dc763281d74f19d64ef57ada24
2021-02-11 08:38:14 +01:00
jenkins-bot b87116d12f Merge "Cite: Move margin in column references" 2021-02-09 13:56:39 +00:00
Steven Rawson fdf17f326f Cite: Move margin in column references
In Vector, Timeless, and Monobook ("desktop"), there is a 0.3em margin applied to <ol>. When in
columns, this causes the first column to be offset from any others vertically. This change moves
the margin from the references <ol> (i.e., sets the list margin-top to 0) to the enclosing div
(sets the div margin-top to 0.3em) when the div has the columns class. This approach is currently
employed by some wikis such as en.wp for their {{reflist}} template.

Minerva doesn't seem to have the relevant top margin.

Bug: T249441
Change-Id: I3eeb3fe9fd690cd8f74df5541b3ef5e10eeed123
2021-02-08 21:56:39 +00:00
jenkins-bot c2c1d8d3f1 Merge "tests: Align setup/teardown function naming with QUnit 2.x" 2021-02-08 19:36:08 +00:00
Translation updater bot d27ff3ecdb Localisation updates from https://translatewiki.net.
Change-Id: Iac3f1056c96ffdea2b3e20b17ab69f1d23894038
2021-02-08 08:39:37 +01:00
James D. Forrester 34199178e1 tests: Align setup/teardown function naming with QUnit 2.x
Bug: T170872
Depends-On: I5bfca33c1d4d920d54c2c54b483be78c61b6d0d7
Change-Id: I992e16fae6fcf4d5e7f2d5109ff16a30b6e73882
2021-02-05 10:58:27 -08:00
Translation updater bot c72df22934 Localisation updates from https://translatewiki.net.
Change-Id: I90889843fe016430ac281dd9d8d6073af165e336
2021-02-05 08:46:40 +01:00
Translation updater bot b079140ec1 Localisation updates from https://translatewiki.net.
Change-Id: I79ceb7c88c922920083bd746d9a4a6918593a021
2021-02-04 08:39:00 +01:00
jenkins-bot f9f81bd93f Merge "MWReferenceNode: Ignore changes to reference list index" 2021-02-03 14:46:31 +00:00
Translation updater bot 88de96c8ff Localisation updates from https://translatewiki.net.
Change-Id: Iddd38f48b3864a03fcbcc4c2508ae52e034f05f9
2021-02-01 08:47:08 +01:00
jenkins-bot 681b1908e6 Merge "build: Updating dependencies" 2021-01-29 17:42:05 +00:00
Translation updater bot 653b0f2cf3 Localisation updates from https://translatewiki.net.
Change-Id: I600c12dcc167e7e1d3e9103d8c024b1d5b54f306
2021-01-29 08:37:16 +01:00
libraryupgrader be7f1b3bd7 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I2e27a8ae5547829501c25402da5b72b390897ca1
2021-01-29 06:21:06 +00:00
Translation updater bot f9d63d51a1 Localisation updates from https://translatewiki.net.
Change-Id: I38eca797cae3e3377bff859eb3f1beff34528909
2021-01-28 08:35:27 +01:00
Translation updater bot e4759477e0 Localisation updates from https://translatewiki.net.
Change-Id: I896fadc71bf392ff47be4fb2f96b6e56c9fd181c
2021-01-26 08:52:43 +01:00
Translation updater bot 033f5ee078 Localisation updates from https://translatewiki.net.
Change-Id: If6ff09145a44ee8532c7e122a5a671d98d0cdd24
2021-01-25 08:52:59 +01:00
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
jenkins-bot 3350aacbdf Merge "Move ext.cite.ux-enhancements to extension.json" 2020-12-14 16:39:50 +00: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 35b704dc2f Move ext.cite.ux-enhancements to extension.json
Change-Id: Ia6a0c34800b018e76b9e246898ddfb991f238d55
2020-12-14 10:38:32 +00: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
sbailey 8f42623520 Add a definition for .mw-ref-follow to Parsoid's stylesheet
This lets us remove the inlined style on follow refs.

It will be used in I8bfc4ee3df162e2040e3c6f0c37fbf2a7c30d7f6

Bug: T263052
Change-Id: I351516b81566aba0adb4d298e39806dfb4fc7b03
2020-12-03 22:50:57 +00: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