jenkins-bot
38034b1051
Merge "Treat links to diffs and history pages as external links"
2020-05-14 18:54:04 +00:00
Bartosz Dziewoński
61de7530c7
Improve deactivating tabs when switching/exiting on MonoBook etc.
...
Previously we didn't deactivate them, so if you opened VE, then
switched to NWE, then exited the editor, all three tabs would appear
active.
Change-Id: I904d6daf2896ceadf004f5e57a88c2359f33fd44
2020-05-14 20:24:57 +02: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
0528f806fa
Extract Parsoid/RESTBase stuff out of our API code
...
Goals:
* Allow other extensions to reuse these methods (maybe upstream them
to MediaWiki core later)
* Allow ApiVisualEditorEdit to extend ApiEditPage. We'll be able to
reuse its definitions for API parameters instead of duplicating
them, and we won't have to pass around unrecognized parameters.
Bug: T252573
Change-Id: If5c8d95560cbb078ae4980f4a912cbaeafe53d3e
2020-05-12 21:17:29 +02: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
Ed Sanders
50db102c4d
Refactor getPreferredEditor and expose reusable parts
...
Separate out logic specific to edit pages
Change-Id: I5b3b47feeeca2085fcd283d55d7e9ceafa73be70
2020-05-07 14:33:21 +01: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
Bartosz Dziewoński
b1f40f4f9f
DesktopArticleTarget.init: Set veEditSourceUri in SET mode too
...
Bug: T192974
Change-Id: I1a2485e6f6ba3cb21d669e5f675ce50e4ba81d8f
2020-05-06 19:56:28 +00: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
Roan Kattouw
31db495bcf
init: Manage education popup state the same way as welcome popup state
...
And factor out the common code for using a preference with a fallback to
localStorage or a cookie.
Bug: T235566
Change-Id: Ibb983319edcd2987225fe89677fd10e3ff8f9df6
2020-05-01 19:12:30 -07: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
Translation updater bot
3e57d04d48
Localisation updates from https://translatewiki.net .
...
Change-Id: I4325cfcbd183489a55683484540618f56513c22b
2020-04-22 08:57:15 +02:00
jenkins-bot
8f924cf543
Merge "DesktopArticleTarget.init: Add mw.libs.ve.disableWelcomeDialog()"
2020-04-21 21:27:07 +00:00
jenkins-bot
3e519667a1
Merge "DesktopArticleTarget: Move shouldShowWelcomeDialog() to init"
2020-04-21 21:27:04 +00:00
jenkins-bot
3e70794645
Merge "ArticleTarget: Move shouldShowWelcomeDialog() into DesktopArticleTarget"
2020-04-21 21:27:01 +00:00
jenkins-bot
c8cffbd394
Merge "ArticleTarget: Clean up WelcomeDialog show/hide handling"
2020-04-21 21:25:36 +00:00
Bartosz Dziewoński
ae86f7290b
ApiVisualEditor: Add option to return lint errors from Parsoid
...
Depends-On: I6bbe2fc5aea07c65eb99768f2c44ed42601792a3
Depends-On: I6bdf5635763ef8a44d44a031c64cd7f289261a32
Change-Id: I723ec766d1244d117f8d624440026fe5af0d3403
2020-04-21 22:49:29 +02:00