Commit graph

20612 commits

Author SHA1 Message Date
jenkins-bot 3bd61c40df Merge "Remove DualParsoidClient::class and related code from VE (p.2)" 2023-07-27 12:45:16 +00:00
Translation updater bot f736c61b0a Localisation updates from https://translatewiki.net.
Change-Id: I2e04759088e059106982e2ba3c0bf2681860e0ad
2023-07-27 10:49:43 +02:00
jenkins-bot 8c8205a298 Merge "build: Upgrade grunt-eslint from 24.1.0 to 24.3.0" 2023-07-26 12:54:46 +00:00
jenkins-bot 7970346855 Merge "build: Upgrade stylelint-config-wikimedia from 0.15.0 to 0.16.0" 2023-07-26 12:54:43 +00:00
Translation updater bot 0ac888377a Localisation updates from https://translatewiki.net.
Change-Id: Ie94a45b188256ab57fdde834a207bbe4c27f4b16
2023-07-26 10:28:00 +02:00
Derick Alangi 4418b61894 Remove DualParsoidClient::class and related code from VE (p.2)
I've verified that no other extension uses this code apart from VE
and locally tested that with this patch, VE still works and nothing
explodes.

There parent patch takes care of making sure the mode is no longer
injected and we now have just etags with no hacked in modes because
we now use direct mode always.

Bug: T341612
Change-Id: Ib1756bf60104467a3a34be9bbb06d8f63537e550
2023-07-25 09:01:44 +00:00
Translation updater bot 3da6365933 Localisation updates from https://translatewiki.net.
Change-Id: Icf4680a3fce0808a4b17b04cdf87d711971d2e76
2023-07-25 10:43:41 +02:00
Translation updater bot 3a9114c245 Localisation updates from https://translatewiki.net.
Change-Id: Id2dab457fae54cc171981cece8d4d987728daef2
2023-07-24 09:40:16 +02:00
Translation updater bot d52113b1ef Localisation updates from https://translatewiki.net.
Change-Id: Ibbe41c83cf81049c841211fa13a85d85db4a18df
2023-07-21 08:43:03 +02:00
Translation updater bot f56786d9a6 Localisation updates from https://translatewiki.net.
Change-Id: Ib70e645e90d661abd0e31962c0d3c5e0119cd063
2023-07-20 09:34:16 +02:00
Translation updater bot c683de8bab Localisation updates from https://translatewiki.net.
Change-Id: If344c1638141f094cf3868bd97c23e11f9fb93f2
2023-07-19 09:02:02 +02:00
Winston Sung 12e04f247d Follow-up of "Localisation updates from https://translatewiki.net."
Change-Id: Ic78a4e374a822d5e7465a12d8a763c30d680c449
2023-07-18 12:48:31 +00:00
Translation updater bot 30d2227535 Localisation updates from https://translatewiki.net.
Change-Id: Iddc8d92c8aa935d2b6283f63a778bd1474c8bda2
2023-07-18 09:50:12 +02:00
jenkins-bot e4c4f63c32 Merge "Update VE core submodule to master (8cd2c4933)" 2023-07-18 02:10:15 +00:00
jenkins-bot b9f0764711 Merge "Prevent JS code from changing 'skin-view-edit-local' message to 'skin-view-edit'" 2023-07-17 23:54:53 +00:00
jenkins-bot 4231c7a328 Merge "Use different titles for "Edit" and "Edit source" links (section headings)" 2023-07-17 23:07:44 +00:00
David Lynch fde414149e Update VE core submodule to master (8cd2c4933)
New changes:
4ac9b4290 Localisation updates from https://translatewiki.net.
5db1e6972 Localisation updates from https://translatewiki.net.
439b29f3e PreviewElement: Remove slugs and nails using JS instead of CSS

Bug: T341901
Change-Id: I5da36fe06bd6631f17172029261b1c18daa72bf4
2023-07-17 10:38:04 -05:00
jenkins-bot 0b8469bca6 Merge "Remove ::injectMode(), prep to remove DualParsoidClient p.1" 2023-07-17 12:26:15 +00:00
Derick Alangi daa6861f01
Remove ::injectMode(), prep to remove DualParsoidClient p.1
In order not to break clients who already have VE open with etag
that injects the "mode:direct..." in their etag, let's first stop
injecting the direct mode to subsequent VE sessions (for edits)
and wait for 24hrs+ so that we're sure we've processed all sessions
with the direct mode etag.

After 24hrs of this patch merged and going live, we'll then remove
the DualParsoidClient entirely as the p.2 of this cleanup.

Bug: T341612
Change-Id: Ie4f43089ee6f94f51fc0398e84604a17bc5bebcf
2023-07-17 11:26:47 +03:00
Translation updater bot 34cdcc9604 Localisation updates from https://translatewiki.net.
Change-Id: I112afe5cf6900eb16a3c84e7d9faa6d24827adb9
2023-07-17 10:19:14 +02:00
James D. Forrester 74a72af572 build: Upgrade grunt-eslint from 24.1.0 to 24.3.0
Change-Id: I5eff88095acf4cda1678a76379de04d4877e63b8
2023-07-14 13:27:54 -04:00
James D. Forrester 325ca8a40a build: Upgrade stylelint-config-wikimedia from 0.15.0 to 0.16.0
Change-Id: I993074948832a50997255bd413192c8fdeaf9edb
2023-07-14 13:02:49 -04:00
Translation updater bot 1cdb276552 Localisation updates from https://translatewiki.net.
Change-Id: If39241dcf7411e2406c34dfe239697b49533a033
2023-07-14 09:36:17 +02:00
David Lynch 7d1e9f3eaf When switching from WikiEditor activate VE *after* notifying WikiEditor
This affects logging behavior -- notifying WikiEditor lets its logging
clean up after itself before the init event for VE fires. This was only
an issue when switching *with* changes, because that path resulted in
the timings being cleared, making future events whose timing depended
on the init event have NaN timings.

(This wasn't an issue before we centralized the logging code into
WikimediaEvents, as before that WikiEditor and VE were maintaining
separate timing registries.)

Bug: T237063
Change-Id: Icdb307fa0ce0d1dac3744e4bab41b3588f14777f
2023-07-13 09:32:55 -05:00
Translation updater bot 8aa6e2ec63 Localisation updates from https://translatewiki.net.
Change-Id: Ic99abf33e057c39145c164c2359d865cdc29d4a3
2023-07-13 10:50:39 +02:00
沈澄心 70cb30c2a8 Prevent JS code from changing 'skin-view-edit-local' message to 'skin-view-edit'
Change-Id: I33ab649959226a848e1c57fc7c2b7e95a014e4bd
2023-07-13 02:51:12 +00:00
沈澄心 8523b5a876 Use different titles for "Edit" and "Edit source" links (section headings)
Bug: T337653
Change-Id: I6793d458b7a1573de6752177cab5a9bfae9ffca0
2023-07-13 02:47:50 +00:00
jenkins-bot 07db24d75a Merge "Change almost all code to use Bcp47Code instead of Language" 2023-07-12 15:31:23 +00:00
Ed Sanders 3d8315f4c3 Simplify code for showing "Loading" message in template context
Instead of passing a "teardown callback" to a specific dialog,
run the command as usual and clear the loading message once
the dialog has successfully opened.

Change-Id: Icacabb298f1a0d7a587ab8b992759b04ff59c5c3
2023-07-12 11:04:59 +01:00
thiemowmde ab2cbb3b70 Change almost all code to use Bcp47Code instead of Language
This patch makes the following assumptions:

1. There is no class outside of this codebase that implements the
ParsoidClient interface. According to CodeSearch this appears to be
correct.

2. It is fine to use the Bcp47Code instead of the internal MediaWiki
language code in the "Accept-Language" HTTP header. As far as I
understand this might even qualify as a bugfix.

Depends-On: If059674597e261039df7f4613a89cb08120c3262
Change-Id: Icd160da2d5555891b9a91a0cb966bd36a55f6fdd
2023-07-12 09:38:16 +02:00
Translation updater bot 095b492631 Localisation updates from https://translatewiki.net.
Change-Id: I10d5d37cda7f11a14e6119d41eb646a42b4d20e5
2023-07-12 08:56:54 +02:00
jenkins-bot 82f72cfeda Merge "Merge mobile and desktop save buttons" 2023-07-11 21:34:17 +00:00
jenkins-bot 067cbd3438 Merge "Fix ContextItem documentation" 2023-07-11 21:32:59 +00:00
jenkins-bot 0ffb6def7b Merge "Update VE core submodule to master (245923176)" 2023-07-11 21:31:25 +00:00
jenkins-bot b804a54ca6 Merge "Use more narrow Bcp47Code interface in DirectParsoidClient" 2023-07-11 21:18:17 +00:00
Bartosz Dziewoński 8091b5ce26 Update VE core submodule to master (245923176)
New changes:
4ca24a453 Fix ContextItem documentation
9135b868c ve.ce.Surface: Implement hasNativeCursorSelection
953ffb066 Mobile demo: Use 16px font ssize for global overlays as well
44f347a6b Provide alternate keyboard shortcut for toolbar search for Firefox
245923176 CompletionWidget: Add isolateInput mode

Bug: T341603
Change-Id: Iafedee8fc08fde5dbe82f8e1cc35162d5954c5a7
2023-07-11 23:14:12 +02:00
Derick Alangi f2bb8cf45d Remove VirtualRESTService code from VisualEditor
This follows the event of VE no longer using RESTBase anything. All
actions related to stashing and Parsoid and now handled in MW core.

Bug: T339227
Change-Id: I50b20ed5abb721a6ac8987cac37a6f395a4816dc
2023-07-11 19:38:05 +02:00
Bartosz Dziewoński 78cf118735 Update VE core submodule to master (7c9bc68c3)
New changes:
f8858de70 Localisation updates from https://translatewiki.net.
1f6be5ce3 Localisation updates from https://translatewiki.net.
adfd84332 Slightly increase DimensionsWidget input fields width
9d36c897b Add an allowed error offset when merging rectangles
614cd6647 Localisation updates from https://translatewiki.net.
7c9bc68c3 Update OOUI to v0.47.4

Change-Id: I7c8bccebf87cbef0237505745dc00383cb1ac618
2023-07-11 18:53:31 +02:00
jenkins-bot 7ae61934a3 Merge "Remove remains of lossy-switching and discard-switching" 2023-07-11 15:34:52 +00:00
jenkins-bot 5574237f47 Merge "Support '&editintro=…' etc. on subsequent loads via page tabs" 2023-07-11 15:33:30 +00:00
jenkins-bot c4fb50b59f Merge "Support '&editintro=…' etc. on back/forward and VE/NWE switch" 2023-07-11 15:33:26 +00:00
jenkins-bot 93427a6708 Merge "Reload page or redirect when saving an edit creates a temp account" 2023-07-11 15:16:56 +00:00
Translation updater bot e3ad125753 Localisation updates from https://translatewiki.net.
Change-Id: Ib16f93a51d96c1de926a3fa1d9d1bf703943ff8f
2023-07-11 08:50:56 +02:00
Bartosz Dziewoński 0dddd98b5f Reload page or redirect when saving an edit creates a temp account
Depends-On: I6cdc014fb39d35ce1f091b53dc3a9c4a3c95f9e9
Bug: T338002
Change-Id: I01e13ce1ebab462eeb0ba3847d4205a88965a127
2023-07-10 19:33:16 +02:00
Ed Sanders 4f90ce2594 Merge mobile and desktop save buttons
Use toolbar groups where appropriate.

Change-Id: If4e0d157f04ba741ed4cf891e4183fe351d537b8
2023-07-10 17:06:58 +01:00
Ed Sanders 2a1076e295 Fix ContextItem documentation
* Be more specific about the type of context which a
  context item belongs to.
* Make grammar clearer.

Change-Id: Ic480411cead80a1651c61ce9841dfbdc24a7b915
2023-07-10 14:32:12 +01:00
Translation updater bot 43d0f9448b Localisation updates from https://translatewiki.net.
Change-Id: Iffdef1edd543b9fd6bfa39d5ea45c231ba957888
2023-07-10 09:39:29 +02:00
jenkins-bot 6a2b36bc16 Merge "Drop visualeditor-beta-warning from help menu" 2023-07-08 00:43:18 +00:00
jenkins-bot 76ed447217 Merge "Convert MWPopupTool into MWHelpListToolGroup" 2023-07-08 00:19:14 +00:00
jenkins-bot 329faab1e9 Merge "MobileArticleTarget teardown behavior is upstreamed to MobileFrontend" 2023-07-07 23:49:57 +00:00