Commit graph

20916 commits

Author SHA1 Message Date
Translation updater bot 47ba4af5b5 Localisation updates from https://translatewiki.net.
Change-Id: I91a54fe86fe8555efe24d56dee3623f79542ed38
2024-04-19 09:48:05 +02:00
jenkins-bot 18bda66e98 Merge "Drop support for ES5" 2024-04-18 15:20:31 +00:00
Ed Sanders 906380212a Drop support for ES5
This was done to VE-core last year in Iedfac56c1.

Change-Id: Ic439cfafc772136cabec10b0b3bb6aaa51e28b91
2024-04-18 15:09:49 +01:00
Translation updater bot 03541b55b5 Localisation updates from https://translatewiki.net.
Change-Id: I78f9762700dd081f5b0c53cdb0755ae5d6699aed
2024-04-18 09:21:40 +02:00
Ed Sanders a913f2fc5c Fix selector for TemplateStyles exclusion
The <style> tags can also have data-mw-deduplicate instead
of just data-mw.

Bug: T298147
Change-Id: I63adf1f9bda3f299bba846cd65338a6f0d6c4288
2024-04-17 14:19:12 +01:00
Translation updater bot d002633861 Localisation updates from https://translatewiki.net.
Change-Id: Ie7fc0ceb0617c24829714e0a0a25b9f8860fc09e
2024-04-17 09:29:03 +02:00
Ed Sanders 58f56c0418 Delete MWConfirmationDialog
Despite its generic name, this class exists just for the
template dialog and does 3 things:

1. Provides generic accept/reject override messages
2. Provides a new function signature when the prompt
   and success callback are passed
3. Focuses the delete button

(1) and (2) can be provided by a local helper function.
(3) should be implemented upstream, although given this
was done to prevent users taking destructive actions
accidentally I'm not sure why this should be overridden
here.

Change-Id: Id5aa018310eded7a3552a182d19ca16b040abcbd
2024-04-16 14:46:23 +01:00
Translation updater bot 8046b5e766 Localisation updates from https://translatewiki.net.
Change-Id: I153f64686d567e252a683cf34957527abdb04b4f
2024-04-16 09:29:14 +02:00
Translation updater bot 3953e0d85c Localisation updates from https://translatewiki.net.
Change-Id: I9e06480f75e7c79b8dd3b3d1f89dab7fa2876bf6
2024-04-15 09:29:07 +02:00
Translation updater bot 132a8845a4 Localisation updates from https://translatewiki.net.
Change-Id: Ic24b36676c1e122aff5dd51904bafd8ccd5c1a8e
2024-04-12 09:43:05 +02:00
Translation updater bot 0a524fc59a Localisation updates from https://translatewiki.net.
Change-Id: Id22d74d3e935195accc5cc6f933726a1cb412663
2024-04-11 09:22:22 +02:00
Translation updater bot 6501c27ee2 Localisation updates from https://translatewiki.net.
Change-Id: Id2eaf3976cd4345a0fc91e814b8bc7731472bda6
2024-04-10 09:21:46 +02:00
Translation updater bot e49b10bcef Localisation updates from https://translatewiki.net.
Change-Id: Id58f10846d84883a8b50bc991f1e8833a26a11f0
2024-04-09 09:28:30 +02:00
Translation updater bot cec6316af9 Localisation updates from https://translatewiki.net.
Change-Id: I8804a6da34578a671c6549a0f2dfc4cc08ad381f
2024-04-08 09:27:29 +02:00
jenkins-bot 2d8b8f8c84 Merge "Revert "[DNM] Add …-toolbar-open class after toolbarSetupDeferred resolved"" 2024-04-05 08:39:40 +00:00
Thiemo Kreuz (WMDE) 835a8aff6d Revert "[DNM] Add …-toolbar-open class after toolbarSetupDeferred resolved"
This reverts commit 5a54315fc2.

Reason for revert: Merged by mistake. Probably doesn't hurt, but
doesn't help either.

Change-Id: Ic38f1f0b0628968888763f15c85ef3a2f4a9890f
2024-04-05 08:19:00 +00:00
Translation updater bot 9f2595bf92 Localisation updates from https://translatewiki.net.
Change-Id: I84a9ff0a0e5f5285eca9df665984c174d531b9be
2024-04-05 09:39:14 +02:00
jenkins-bot e5a9984fe0 Merge "[DNM] Add …-toolbar-open class after toolbarSetupDeferred resolved" 2024-04-04 12:19:10 +00:00
Translation updater bot b80afdb64b Localisation updates from https://translatewiki.net.
Change-Id: I515e686f00842656b8a883f452b8c6e38ae2ebe8
2024-04-04 09:39:47 +02:00
jenkins-bot 38a29808bb Merge "styles: Update invalid border color" 2024-04-02 18:13:26 +00:00
thiemowmde 5a54315fc2 [DNM] Add …-toolbar-open class after toolbarSetupDeferred resolved
Test for I5a35a5f.

Bug: T358657
Change-Id: I23094e9084b260c7ba9a6e47fd30bf40c3a0b904
2024-04-02 14:54:45 +02:00
Translation updater bot b3f7410c80 Localisation updates from https://translatewiki.net.
Change-Id: I6c4adfefa3478b0f5f695b9c65f3789ae376bd70
2024-04-02 09:22:05 +02:00
Translation updater bot 76a2d52bc8 Localisation updates from https://translatewiki.net.
Change-Id: I163c0ce8e729072408755a9c4b8feb221a6ce500
2024-04-01 09:23:26 +02:00
libraryupgrader c51ec255d7 build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* eslint-config-wikimedia: 0.26.0 → 0.27.0

Change-Id: Icb8391aaa2eb5826cc13bcb2b2a06f53d56bc41c
2024-03-30 16:51:06 +00:00
Translation updater bot cda7cfaa02 Localisation updates from https://translatewiki.net.
Change-Id: I519488d8db61636c374379e9a96221b811577b3e
2024-03-29 08:47:37 +01:00
Volker E. 344add6080 styles: Update invalid border color
For the invalid border color we'll use the current border error color.
With CSS custom properties on the horizon, we'll easily replace them
consistently in the future.

Change-Id: I1ec266e90a974cf79576ee7db6287ea4eac94656
2024-03-28 20:40:27 -07:00
Ed Sanders 9c24a458fd Update typos.json from lib/ve
Change-Id: Ibbb2cca5279cbf491271949854b6f5c03a3e2690
2024-03-28 13:55:03 +00:00
jenkins-bot 16d0c4646e Merge "Preserve more error details coming from parsoid." 2024-03-28 08:25:55 +00:00
Translation updater bot 6ee61458ed Localisation updates from https://translatewiki.net.
Change-Id: I45a16a899a9a342675fc72318ab0247c6bda5319
2024-03-28 08:32:58 +01:00
Translation updater bot ec67e187b0 Localisation updates from https://translatewiki.net.
Change-Id: I879eaa8ee2e69ecaf407a9518fccaecd528651b3
2024-03-27 08:18:37 +01:00
jenkins-bot d52c967bb6 Merge "Move saveWorkflowBegin to before the saveProcess" 2024-03-26 16:38:38 +00:00
Translation updater bot ac5062a17f Localisation updates from https://translatewiki.net.
Change-Id: I4bfa67a7aa0fd4029e2fde1b36234a6c968f81dd
2024-03-26 08:21:27 +01:00
jenkins-bot b8a81f8c35 Merge "Gallery: Avoid expensive .getAttributes() call in MWGalleryImageNode" 2024-03-25 23:09:11 +00:00
jenkins-bot ced11748fb Merge "Allow veaction=edit only when content type supports visualeditor" 2024-03-25 22:19:38 +00:00
jenkins-bot c3d1ddcddb Merge "DirectParsoidClient: don't call setOriginal directly" 2024-03-25 20:40:09 +00:00
Translation updater bot fc8bc8ddf0 Localisation updates from https://translatewiki.net.
Change-Id: I7f35c5fe69f8a3c7e89b2eeba92878a05b7d6de1
2024-03-25 08:37:05 +01:00
thiemowmde 31e1f20570 Gallery: Avoid expensive .getAttributes() call in MWGalleryImageNode
This actually creates an (expensive) clone of all attributes. Even if
this particular code is only interested in a single one of them.
I checked and it's purely used for reading, not writing. So it
doesn't make a difference if it's a clone or not.

Change-Id: I428e684ea2fa20ffcfcc53b618f3fc032d930c75
2024-03-23 23:07:22 +00:00
Umherirrender b5359f08cf Allow veaction=edit only when content type supports visualeditor
The content type check gets lost by refactor of the condition in
3458d8a27e for veaction=edit.
That seems wrong as the comment says only with supported content model

Follow-Up: Ie174bc3f16bceb29cb155b9223e0acef70167fd6
Change-Id: I088f358efaa0a00a2bacbf371c80607231c79eb7
2024-03-23 01:22:17 +01:00
Translation updater bot 8e3dcce2d6 Localisation updates from https://translatewiki.net.
Change-Id: Iddacc58eb8702efe6a72d981f73525af44942d8c
2024-03-22 08:45:48 +01:00
jenkins-bot 826cac1fc8 Merge "Fix empty provider in HooksTest" 2024-03-21 19:01:54 +00:00
Translation updater bot 47531265a4 Localisation updates from https://translatewiki.net.
Change-Id: I482100b76cdbb9471a2c7db38342fbb0de5ccb19
2024-03-21 08:56:56 +01:00
Translation updater bot 155b0f0a17 Localisation updates from https://translatewiki.net.
Change-Id: I96da47598927a65da5d186ce46fb024be60b2d31
2024-03-20 08:24:53 +01:00
daniel ecb7693e1c DirectParsoidClient: don't call setOriginal directly
Pass renderId and revisionId as part of the (fake) body to
HtmlInputTransformHelper::init, instead of calling setOriginal()
directly. This avoids mis-counting these requests as not providing a
renderid in statsd.

Change-Id: I929812e571d8bd5df1c833586f3ae35d43af63cf
2024-03-19 19:13:01 +00:00
Ed Sanders b6a7d8c8da Update VE core submodule to master (70279c60a)
New changes:
70279c60a Refactor SpecialCharacterPage into SymbolListPage + SymbolListBookletLayout

Local changes:
* Use new special character layout

Added files:
- src/ui/layouts/ve.ui.SymbolListBookletLayout.js
- src/ui/pages/ve.ui.SymbolListPage.js
- src/ui/styles/layouts/ve.ui.SymbolListBookletLayout.less

Deleted files:
- src/ui/pages/ve.ui.SpecialCharacterPage.js

Bug: T120512
Change-Id: I357595ae490b36bcf5dd477a95c5684f3a246753
2024-03-19 20:03:40 +01:00
jenkins-bot 11a099d266 Merge "Nest LESS files" 2024-03-19 16:00:44 +00:00
Divec 7a7b81a252 Merge "Move CSS files to LESS" 2024-03-19 15:18:58 +00:00
jenkins-bot 7ffa1c2ace Merge "build: remove unused Rakefile" 2024-03-19 14:04:46 +00:00
Ed Sanders c9c7c06e76 Nest LESS files
Change-Id: Ic9fad12fe4c20793dd54cb3169b9dffe3a6a18da
2024-03-19 13:56:41 +00:00
Ed Sanders 9ee1b51fbe Move CSS files to LESS
Change-Id: Ic818efe7315187bf96ead7bd6468ecb3d44d988d
2024-03-19 13:56:30 +00:00
Antoine Musso 07a0f8d6d9 build: remove unused Rakefile
The Rakefile was intended as an entry point to run browser tests and to
upload screenshots to commons. That was wrapped in the Jenkins job
`language-screenshots-VisualEditor` which last ran in June 2018.

The rest of the Ruby part got removed back in 2020 by 2b7ab7b479.

Bug: T360425
Change-Id: I89d8f48b93f112437483a83a3303192e6728ebed
2024-03-19 14:12:32 +01:00