Commit graph

16564 commits

Author SHA1 Message Date
jenkins-bot 88732d7765 Merge "Update VE core submodule to master (d4085dd7d)" 2020-05-18 22:04:06 +00:00
jenkins-bot d2dd31b805 Merge "Fix #unwrapParsoidSections for pseudo-sections (generated by templates)" 2020-05-18 20:32:28 +00:00
Bartosz Dziewoński 4f70ead440 Fix #unwrapParsoidSections for pseudo-sections (generated by templates)
In 92c3055628 I changed `sectionId > 0`
to `sectionId !== '0'`. That was actually a mistake, as Parsoid's
section IDs can be negative, which indicates pseudo-sections, which
may not have headings.

https://www.mediawiki.org/wiki/Specs/HTML/2.1.0#Headings_and_Sections

Bug: T252238
Change-Id: I9133d4365a71d6db1fa58b69ae3b970166d15c1e
2020-05-18 21:41:13 +02:00
jenkins-bot 5b21c5b67a Merge "Don't log VEFeatureUse from DiscussionTools" 2020-05-18 17:54:13 +00:00
jenkins-bot b9e793d3b7 Merge "Update extension.json authors to match AUTHORS.txt" 2020-05-18 17:49:26 +00:00
David Lynch 92f4e5432e Don't log VEFeatureUse from DiscussionTools
Change-Id: Ie02381e1e65175871c5b43c8089688f632a5066c
2020-05-18 10:25:27 -05:00
Translation updater bot 4492c81cb9 Localisation updates from https://translatewiki.net.
Change-Id: Ic5744a1c85f0923de73d35a3a13f6b90ea53c7a2
2020-05-18 08:31:44 +02:00
Ed Sanders 07867cf349 Update extension.json authors to match AUTHORS.txt
Change-Id: I8ad57c1038b4fd24c2be7c510149d6903910a27b
2020-05-15 22:32:42 +01:00
James D. Forrester 8ccd7cc95a Update VE core submodule to master (d4085dd7d)
New changes:
e946a30cf Localisation updates from https://translatewiki.net.
15f596aa8 Localisation updates from https://translatewiki.net.
d4085dd7d Update principal authors

Change-Id: I5dce4f259ffe28438582f799c41aee7e48db5be4
2020-05-15 12:40:15 -07:00
Ed Sanders 38114d5da8 Update principal authors
Change-Id: If54432471883faaf55b4ed0ae1a664f11828aa0d
2020-05-15 20:25:36 +01:00
Ed Sanders d1f653f58b Update Authors.txt based on lib/ve
* Drops Base64.js

Mentions some depedencies of lib/ve as this is the place we
acknowlege them on wiki (Special:Version/Credits/VisualEditor).

Change-Id: Ic54b8a9de9c07ce799e270a5445c58bb4797409e
2020-05-15 20:16:48 +01:00
jenkins-bot 38034b1051 Merge "Treat links to diffs and history pages as external links" 2020-05-14 18:54:04 +00:00
Translation updater bot e31c60c63c Localisation updates from https://translatewiki.net.
Change-Id: I9f464fccd0455f615f42a812d1ea700ecd09b7d3
2020-05-13 08:43:45 +02:00
jenkins-bot 734b27b9ca Merge "ApiVisualEditorEdit: Use existing action=compare parameters for PST" 2020-05-12 21:18:00 +00:00
jenkins-bot c5b030d1c7 Merge "Simplify API modules setup" 2020-05-12 21:10:32 +00:00
Bartosz Dziewoński 91d40cdfc4 ApiVisualEditorEdit: Use existing action=compare parameters for PST
Change-Id: I436218871e0fae07b39b0c3aa75a0d00bc5fc6b2
2020-05-12 20:56:23 +02:00
Reedy f78b069f48 Remove _merge_strategy from value
Change-Id: If82bb699a65dd6205cda372091d799f94e802322
2020-05-12 19:02:15 +01:00
Bartosz Dziewoński d92e600d58 Simplify API modules setup
We go through all this trouble to pass the config to the API modules,
and then we don't use it at all (we removed the uses recently in
ce094c72d and d85d30f9b).

If we end up needing the config there again, we can just get it by using
MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'visualeditor' )
anywhere we want, like we do all over the place in VisualEditorHooks.

Change-Id: I9d254a9946f0d24783baf68c409b10291a8fd1b3
2020-05-12 18:53:31 +02:00
Translation updater bot 1030e78012 Localisation updates from https://translatewiki.net.
Change-Id: Ifcd5d28ea950aff48f40330e84d9e0cc42df4d9e
2020-05-12 08:22:04 +02:00
jenkins-bot d4c4324042 Merge "Convert to manifest_version 2" 2020-05-12 01:47:26 +00:00
Reedy 3b64e6a6a7 Convert to manifest_version 2
Bug: T252470
Change-Id: I4d3b0dc23182da6514f85b8812a10383c96a0626
2020-05-12 02:12:25 +01:00
Bartosz Dziewoński 21b25bd77d Fix deleting signature nodes
Code in ve.dm.MWTransclusionNode (which ve.dm.MWSignatureNode extends)
expects the node data to have an 'attributes' property.

We could override a bunch of methods to fix this, or add checks in the
original code, but it seems more future-proof to instead ensure that
the property exists.

Bug: T248585
Change-Id: I5bd721ca73605a396509669145b740db7283afd3
2020-05-12 01:01:18 +02:00
Translation updater bot a5b0eaaaec Localisation updates from https://translatewiki.net.
Change-Id: I5109f6fe7ec20ea87291f337efb7fc6b5b498a31
2020-05-11 08:39:18 +02:00
jenkins-bot 9e33d28050 Merge "Update toolbar styles for Vector changes" 2020-05-08 20:13:14 +00:00
Bartosz Dziewoński 3866ad7f77 Update toolbar styles for Vector changes
Depends-On: I52938689fc7d99a710510349aaa573a87864a367
Bug: T251648
Change-Id: Ica07cf1dab2cf522532a08fadec599bd2fcade5c
2020-05-08 16:23:57 +02:00
Translation updater bot f2f88771fd Localisation updates from https://translatewiki.net.
Change-Id: I8adfbcb282f8f13bba01901162d25338134ca430
2020-05-08 09:29:06 +02:00
jenkins-bot 20d2ea0767 Merge "Update VE core submodule to master (1cce47f5c)" 2020-05-07 20:09:07 +00:00
jenkins-bot 80038e727e Merge "DesktopArticleTarget.init: Identify our events on multi section edit links" 2020-05-07 20:05:03 +00:00
Bartosz Dziewoński 91f3a971f4 DesktopArticleTarget.init: Identify our events on multi section edit links
This is now consistent with all other events.

Needed for I9904e8af4a60b0f5e9a6e263cd4fd8e1e3fd1f98.

Change-Id: If52aa9d619eac08456874fc75c0f6e1adff01246
2020-05-07 21:42:56 +02:00
Translation updater bot 81d6810c0a Localisation updates from https://translatewiki.net.
Change-Id: I259e95dc6446d3883f5c781437d62e48166552b1
2020-05-07 08:36:04 +02:00
Bartosz Dziewoński f98ab8c08f Update VE core submodule to master (1cce47f5c)
New changes:
42b098042 TargetWidget: Re throw 'submit' event from the surface
163b0b673 TargetWidget: Don't assume surface exists in setReadOnly

Change-Id: I56db786fac487dd282c8bf22a5f29181a74518e4
2020-05-06 22:25:16 +02:00
Translation updater bot 687cdc84e8 Localisation updates from https://translatewiki.net.
Change-Id: Ib47fc439ab9b7afbf7e211556ee0588dc01fcdf4
2020-05-06 08:32:31 +02:00
James D. Forrester e6dd62b718 Update VE core submodule to master (d1220be78)
New changes:
8cc7bc479 Localisation updates from https://translatewiki.net.
6adf65179 lib: Update jQuery from 3.4.1 to 3.5.0
fe3f0d2f8 Update OOjs to v4.0.0
e82f2256d Update OOUI to v0.38.1
0010fd6c0 Localisation updates from https://translatewiki.net.
d1220be78 build: Upgrade karma-related devDependencies to latest

Change-Id: Ia30431823cf8fec93259c6478d6b2c9f3e293038
2020-05-05 09:44:18 -07:00
Translation updater bot 29c9d44ccf Localisation updates from https://translatewiki.net.
Change-Id: Ieeafe2de6498429bf48c9af13fbfc09bdb3ed9e9
2020-05-05 08:31:45 +02:00
Translation updater bot 3443b05c78 Localisation updates from https://translatewiki.net.
Change-Id: If2c795c364e0b4ee312a0a6bc326f1a21e378b4a
2020-05-04 09:16:44 +02:00
Translation updater bot 84c0202ef6 Localisation updates from https://translatewiki.net.
Change-Id: If62355d829dcd76952b27124fa9990e1f1aebf3c
2020-04-30 08:40:47 +02:00
jenkins-bot 7643be1c98 Merge "Replace class_exists with ExtensionRegistry::isLoaded()" 2020-04-29 20:13:33 +00:00
jenkins-bot 608486c238 Merge "Update VE core submodule to master (ae55f4b86)" 2020-04-29 20:12:25 +00:00
James D. Forrester 46c86bddbe Update VE core submodule to master (ae55f4b86)
New changes:
ae55f4b86 Mixin PendingElement to TargetWidget

Change-Id: Ibfa5bee591ce8dda8473433f1b551fd84a326e79
2020-04-29 10:11:46 -07:00
Ed Sanders 0c6b6e3e89 Improve shortcut in getWikitextFragment
Use hasContent to
1. Catch cases where the document is empty, e.g. <p></p>
2. Avoid having to use the converter

Change-Id: Ib1bb36824ca871e535bef38cef8137fdfb81b53e
2020-04-29 17:32:09 +01:00
Translation updater bot 4e30398c2e Localisation updates from https://translatewiki.net.
Change-Id: I75d5228ffd8e67e4827f160f66f671b7e0df071d
2020-04-29 08:37:39 +02:00
Translation updater bot 8e487fb98b Localisation updates from https://translatewiki.net.
Change-Id: I41227c15868ef7ab8d11a2f7b6ae4f9413c298da
2020-04-28 08:33:17 +02:00
James D. Forrester b25c8677da Update VE core submodule to master (e571a9e73)
New changes:
897aa19ce eslintrc: Cleanup rule overrides
ab8013136 Localisation updates from https://translatewiki.net.
fc897b699 Cleanup unicorns even in another content branch node
daf17a986 Localisation updates from https://translatewiki.net.
0fa6c4af9 Follow-up daf17a986: build: Unbreak language lists, adding 'lij'
ded34d9b8 rebaser: Enforce no-var

Bug: T250702
Change-Id: Ie80fc58389ce929d21595252a41b50a9c7bf6152
2020-04-27 10:26:18 -07:00
jenkins-bot 421b64e204 Merge "build/: Enforce no-var" 2020-04-27 16:24:14 +00:00
jenkins-bot 1f39a0baa6 Merge "Separate out client code from screenshots runners" 2020-04-27 16:21:44 +00:00
Translation updater bot cb6ecae7fd Localisation updates from https://translatewiki.net.
Change-Id: I14ef3d4f5bec62dc522a1beeab53f7de69e628b7
2020-04-27 09:04:25 +02:00
Ed Sanders fbd0f494ec build/: Enforce no-var
Change-Id: Iddae4bb325139a9ff4107702798a3deb9602d6f1
2020-04-24 22:15:01 +01:00
jenkins-bot e4fe634201 Merge "ApiVisualEditor: Add option to return lint errors from Parsoid" 2020-04-24 10:03:40 +00:00
Translation updater bot 6ced29c572 Localisation updates from https://translatewiki.net.
Change-Id: If7092055fdb031cac37c20b7031e0631a6787ff1
2020-04-24 08:23:46 +02:00
Translation updater bot 26d1fb5d90 Localisation updates from https://translatewiki.net.
Change-Id: I5e456ec9a4ab214cef7e2f7f44725af100f4d631
2020-04-23 08:44:33 +02:00