Commit graph

4065 commits

Author SHA1 Message Date
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 fb3e02f921 Localisation updates from https://translatewiki.net.
Change-Id: I25db0fb5456d07e280e9eb2aa43699fea64d0297
2021-01-27 08:33:52 +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
Translation updater bot b2b2c1d0f4 Localisation updates from https://translatewiki.net.
Change-Id: I78ae3744e7f2f806c5d102d37183fabd796c3ff5
2021-01-22 08:30:10 +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
Jforrester e3d34e6f9f Merge "ve-cite: Update DiffElement test with fixed output" 2021-01-20 19:32:12 +00:00
Translation updater bot 6d6b3acdb2 Localisation updates from https://translatewiki.net.
Change-Id: Id8bce4f91df3c26f89132633ac32f6fb04d1e60b
2021-01-20 08:26:25 +01:00
Ed Sanders b955439be1 ve-cite: Update DiffElement test with fixed output
Change-Id: I9a73d0e0ee3c8b12e0b5c3202eb5882258539920
2021-01-19 23:27:32 +00:00
Umherirrender e30f055226 Improve function and property documentation
Removed some wrong @param from test function,
the @dataProvider should be a enough here

Change-Id: Ib84ce497fef4d48df7547ebc38515fc377e7de01
2021-01-16 13:44:19 +01: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
jenkins-bot 557d3fd90e Merge "Update Cite to use the new HookContainer/HookRunner system" 2020-12-31 01:49:59 +00:00
Translation updater bot e1a4b6f779 Localisation updates from https://translatewiki.net.
Change-Id: I75ef0e3deff8ee0ff3582b812909c70b7692b732
2020-12-29 09:47:21 +01:00
Taavi Väänänen 9293e2d5ca Update Cite to use the new HookContainer/HookRunner system
Bug: T270875
Change-Id: Ieb29603cde24a1c52829c12ae431eca09ba37bf9
2020-12-28 17:55:34 +02: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
libraryupgrader e6f7d8c021 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I2cc37b889bf5503f48caec5291c8cc707ae5265e
2020-12-19 12:04:52 +00: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
jenkins-bot b0d9a03993 Merge "Show reason and/or date in CitationNeededContextItem" 2020-12-14 16:39:48 +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
jenkins-bot ccb0627fb5 Merge "Unconditionally register the VisualEditor integration statically" 2020-12-14 15:17:25 +00:00
jenkins-bot 453097c021 Merge "ve-cite: Add dependency on ext.visualEditor.mwtransclusion" 2020-12-14 15:09:58 +00:00
Ed Sanders 35b704dc2f Move ext.cite.ux-enhancements to extension.json
Change-Id: Ia6a0c34800b018e76b9e246898ddfb991f238d55
2020-12-14 10:38:32 +00:00
Translation updater bot e7f86f69ce Localisation updates from https://translatewiki.net.
Change-Id: I07c9c27bae4b7d17620589e45bb430cc76b98eac
2020-12-14 08:41:08 +01:00
Ed Sanders 10c525b5b7 Unconditionally register the VisualEditor integration statically
This is how we handle this in othe repos; CI ensures that VisualEditor
is indeed loaded alongside the Cite extension whenever it's required,
and this significantly reduces the complexity of the code in the repo
and the processing time needed from Cite's hooks on every PHP init.

I'm leaving the "ux-enhancements" module for now, as you can't mix
static (late) module registration with dynamic (immediate) code.

Change-Id: I974654d00687b0dea6aed342d8fa9dcb6ef90768
2020-12-13 22:11:27 +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
libraryupgrader 8bda698bb3 build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: I5ecf217b5dcf8e82dad88ab2d318d49f3e82a65b
2020-12-12 22:07:53 +00:00
Translation updater bot 8e22ee549e Localisation updates from https://translatewiki.net.
Change-Id: Ic8baa6c98d73cf54505d73bd3275d22650ce4146
2020-12-11 08:34:52 +01:00
Translation updater bot ca1628d5e3 Localisation updates from https://translatewiki.net.
Change-Id: Iaaf9d440ba8c219489c0d6efb712bf776fa6edd4
2020-12-10 08:34:15 +01:00
libraryupgrader ef30aa0a92 build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: Ib7125b5f8029507dc6d3154fa80a670600308404
2020-12-10 03:39:44 +00:00
Translation updater bot d0bf84be0c Localisation updates from https://translatewiki.net.
Change-Id: I484d78ceef164292edb659f69a64ba490b277d45
2020-12-09 08:41:28 +01:00
Translation updater bot 950c62fa02 Localisation updates from https://translatewiki.net.
Change-Id: I0af718d42e568a1f87b15a37357fc717e0d4b4bc
2020-12-08 08:20:46 +01:00