Commit graph

21394 commits

Author SHA1 Message Date
Translation updater bot c9afdec94c Localisation updates from https://translatewiki.net.
Change-Id: I7536bbfcaa5b1c62c805b1896fdbc8d8c6fe4700
2023-06-14 13:08:21 +02:00
jenkins-bot 4b6e819440 Merge "Set a JS config var to force VisualEditor to edit the current version" 2023-06-14 01:56:12 +00:00
jenkins-bot 9cbf093d6f Merge "Don't offer visual diffs for page creation" 2023-06-13 23:35:42 +00:00
Ed Sanders 43699fe94c Exclude after-aligned tools when creating target widgets
Bug: T338978
Change-Id: I86d2546926fa58c36d3679a2d6d31b5a89e6364f
2023-06-13 18:06:14 +00:00
jenkins-bot fdb3a79ef5 Merge "jsduck: Add missing categories for MW classes" 2023-06-12 23:51:04 +00:00
jenkins-bot 3e0fc14a8c Merge "Targets: Use align:'after' instead of actionGroups" 2023-06-12 23:51:02 +00:00
Ed Sanders 5499de28fe jsduck: Add missing categories for MW classes
Change-Id: I5e0ce17ed5de47fe4d3079636a0d729cf811fe7a
2023-06-12 19:04:37 +01:00
Bartosz Dziewoński 8573df0233 ApiVisualEditorEdit: Remove unnecessary check
There are no occurrences of the error message in our error logging
data, so it most likely can never happen.

https://superset.wikimedia.org/superset/sqllab/
```
select count(*)
from editattemptstep
where event.save_failure_message = 'visualeditor-docserver'
```

Change-Id: I8172564057418283468c657cbc6d42ce8ddb35f4
2023-06-12 17:56:13 +00:00
Translation updater bot fbd33d63ee Localisation updates from https://translatewiki.net.
Change-Id: I97610873b8e9a1852d2967a44efb84cb41206650
2023-06-12 13:08:34 +02:00
Bartosz Dziewoński 08d7ec3d2d Don't offer visual diffs for page creation
Bug: T338388
Change-Id: Ie59a1a493bce6dd1beb3c332f95a55eb55eeeef2
2023-06-10 16:44:18 +02:00
jenkins-bot b5e3d70f47 Merge "MWImage: Use mw-file-element class in converter methods" 2023-06-09 20:39:57 +00:00
jenkins-bot d4a8467cab Merge "Update CE nodes with mw-file-element/mw-file-description classes" 2023-06-09 17:39:50 +00:00
Ed Sanders 45a60e3fb2 Targets: Use align:'after' instead of actionGroups
Change-Id: I2b2b0c86697e3afde7ea192ce6dc5996998dfa4b
2023-06-09 18:09:27 +01:00
jenkins-bot a8a7dc110a Merge "Update VE core submodule to master (549e36956)" 2023-06-09 16:59:02 +00:00
Bartosz Dziewoński ac85050f2d Update VE core submodule to master (549e36956)
New changes:
2ec47e304 Localisation updates from https://translatewiki.net.
08dea65b1 Reuse overlapping rect logic from ve.ce.FocusableNode
fcde3bed1 Mark Target.static.actionGroups as deprecated
c2a68aa18 CommandHelpDialogTool: Use 'keyboard' icon instead of 'help'
4b048db57 Create a tool to launch help completions from the toolbar

Bug: T338254
Change-Id: Icaef215b9fe025d6ef0d7f766d2efe629c45665f
2023-06-09 18:36:16 +02:00
jenkins-bot 9c4e8c4805 Merge "Always use the strict equality flag when using in_array" 2023-06-09 16:27:03 +00:00
Ed Sanders f1ddd483da Update CE nodes with mw-file-element/mw-file-description classes
Change-Id: I5846e370b2b1897c63fe9728d081b7a406c138ba
2023-06-09 16:52:08 +01:00
Dringsim d27825caa1 Set a JS config var to force VisualEditor to edit the current version
Rename wgFlaggedRevsEditLatestRevision to wgEditLatestRevision (not use 'VisualEditor' - this config may be used by other editors)

Bug: T338312
Change-Id: I6c9c46774fe197ca7775b65f12e62bb3bcbe53b4
2023-06-09 12:45:37 +00:00
Translation updater bot d125506b79 Localisation updates from https://translatewiki.net.
Change-Id: Icf76ef411c9b39dd4069843b4bc37d8350594036
2023-06-09 09:15:11 +02:00
jenkins-bot 550f73468e Merge "Bump requested Parsoid HTML version to 2.8.0" 2023-06-09 03:23:32 +00:00
jenkins-bot b9dc193037 Merge "Ensure a compatible Parsoid output version for direct client" 2023-06-09 03:22:18 +00:00
jenkins-bot 208ea059ca Merge "EditCheck: Filter ranges to CBN interiors" 2023-06-08 15:50:05 +00:00
David Chan 418994d4be EditCheck: Filter ranges to CBN interiors
Change-Id: Id3759acd41513ed63ef3370583c111e8b168dd9e
2023-06-08 16:27:01 +01:00
Translation updater bot 7c4210410e Localisation updates from https://translatewiki.net.
Change-Id: I794c26c8b0b05586f53fb8c7834b2d631f5fceed
2023-06-08 10:41:19 +02:00
Ed Sanders f99c580aff Always use the strict equality flag when using in_array
Change-Id: Ic9d4d97cc95baf2b312a6a1d83b58ab410bcf504
2023-06-07 13:26:10 +01:00
jenkins-bot ed3f643642 Merge "Autosize the EditSummaryWidget" 2023-06-06 23:55:10 +00:00
jenkins-bot f1ce07c29d Merge "Move the diff-mode selector to the new TextSlotDiffRendererTablePrefix hook" 2023-06-06 18:26:57 +00:00
thiemowmde a6a61983c1 Make "add undocumented parameter" hotkey ctrl+shift+d work much better
* Make it always work when there is only a single template anyway, no
  matter if the template is selected or not.
* Auto-expand the widget and focus the input field when it receives
  focus. The only way it can receive focus is via the hotkey. It can
  not be selected from the sidebar.

Bug: T338108
Change-Id: I567a0b99a8ad2e837993437e47f07d62e8b003d2
2023-06-06 17:22:30 +02:00
Translation updater bot a9464b8453 Localisation updates from https://translatewiki.net.
Change-Id: If10ce94fd924dec32f044c3dd8ecbc2ae86e2890
2023-06-06 08:11:57 +02:00
Bartosz Dziewoński 5b9bbbe5e5 Update VE core submodule to master (3e2e25aa6)
New changes:
19c463cf9 Localisation updates from https://translatewiki.net.
fe8b5048b Localisation updates from https://translatewiki.net.
97774870c Tests: Convert more test data to template literals
04bfb31b2 CompletionAction: Use action.source to calculate if sequence was used

Change-Id: I969210c1fa6f746ee4ef1d85978286e6c407fd2d
2023-06-06 00:47:20 +02:00
jenkins-bot 1f503e807f Merge "Convert more test data to template literals" 2023-06-05 22:30:57 +00:00
Ed Sanders 9f3d61ba6b Make new wikitext editor available by default for 3rd party installs
Note that it is still disabled by default in user options.

For WMF environments this value is set explicitly for all wikis, so
should result in no change.

Change-Id: I4629cd433107a3413933b4ea19c844dd869a2eb0
2023-06-05 14:46:10 +01:00
Translation updater bot 948289cc85 Localisation updates from https://translatewiki.net.
Change-Id: I9c8ea5904dcfac3dcbe8c9cdb9a54cf896b6205a
2023-06-05 08:41:54 +02:00
Ed Sanders f923081e3f Autosize the EditSummaryWidget
Change-Id: I4df49b1ea202dcb7bbb82cb99d26f0dec17133bc
2023-06-02 12:39:33 +01:00
Translation updater bot 8adceadac0 Localisation updates from https://translatewiki.net.
Change-Id: Iec715e9b7ebe90fdaf99640f60b994601a55bfa0
2023-06-02 09:25:03 +02:00
Ed Sanders 1c592ae93d MWImage: Use mw-file-element class in converter methods
Change-Id: I7415a61a9d19242a8aec87fb719e0f4990aeedfb
2023-06-01 15:53:46 +01:00
Ed Sanders d5b11247c3 Convert more test data to template literals
Change-Id: I6e5565714148a637ed83a8571b2034e4e7cbbe63
2023-06-01 15:53:46 +01:00
Translation updater bot 9ebdbccdab Localisation updates from https://translatewiki.net.
Change-Id: Ieca0c443dbd27de04bfd45ccb3b5caf4b1ad41f5
2023-06-01 08:44:25 +02:00
jenkins-bot db9dbbbc5d Merge "Converter tests: Use template literals to make HTML more legible" 2023-05-31 23:51:00 +00:00
jenkins-bot 3e55052c15 Merge "Update VE core submodule to master (d463fbd15)" 2023-05-31 23:30:15 +00:00
jenkins-bot a15e38e2fe Merge "MWImage: Update test data" 2023-05-31 23:22:08 +00:00
Bartosz Dziewoński 1468db9b6a Update VE core submodule to master (d463fbd15)
New changes:
d91717c8b Fix diff move labels for changed-and-moved nodes
3c1b8befa Use template literals to make HTML more legible
528a94d86 build: Updating grunt-banana-checker to 0.11.0

Bug: T336313
Change-Id: If2c7db08834529d9d8f6a5c7ae05f25bfe3cf1b8
2023-06-01 01:08:57 +02:00
Bartosz Dziewoński 09fec16583 Don't try to prefix browser title if a custom message is incompatible
Some wikis customize the 'pagetitle' in ways that are not compatible
with the client-side message parser.

Depends-On: If1979da12777e4ee4e97937640fc5e6176f9b5fe
Bug: T317600
Change-Id: Ie7c1813552582e10de9e57cd8d772c2134146289
2023-06-01 01:08:31 +02:00
jenkins-bot 2cc586b9dc Merge "Add i18n for category sort key changes" 2023-05-31 22:46:19 +00:00
jenkins-bot 544bfacbf9 Merge "Never compare different categories" 2023-05-31 22:35:47 +00:00
Ed Sanders 9e64821bd6 Add i18n for category sort key changes
Also treat the empty string as unset.

Change-Id: I72d9ab0180f416122ca31c44787fe86aa32e88e2
2023-06-01 00:23:23 +02:00
Arlo Breault 7d5b964507 Bump requested Parsoid HTML version to 2.8.0
This will ensure that media have the mw-file-element classes so that the
styling changes in I70c61493fe492445702f036e5b24ef87fc3bdf43 apply.

Older 2.7.0 content still in storage is missing the classes and doesn't
render correctly.

Note that I545ed75ed3c87e88b5e776696754e23c05645f81 made sure that
editing of both versions was always compatible.

Bug: T337596
Depends-On: Ia70f819df79fbb12a5b1dd6a98bfe0b968808d18
Change-Id: I40ed887e03f983e0737e1ee7cba5a4012fea31db
2023-05-31 12:12:59 -04:00
Arlo Breault e7e5241802 Ensure a compatible Parsoid output version for direct client
Presumably VE will move in lock step with the Parsoid library but this
retains the ability to negotiate even at this level.

Change-Id: Ice3beabcb1a475f2de9ad61e0f234a9cc23f80bd
2023-05-31 12:08:28 -04:00
Translation updater bot 4b661a1fcd Localisation updates from https://translatewiki.net.
Change-Id: Ifc74c3970ddf847f860e6ec41f91abc3a810348b
2023-05-31 08:21:15 +02:00
Sam Wilson 137124a837 Move the diff-mode selector to the new TextSlotDiffRendererTablePrefix hook
Use the new hook to add the diff-mode selector to the area directly before
the diff table.

Also toggles the new inline-diff legend, when the initial diff-type is 'inline'.

Depends-On: I2a3c67bcfa47313dee597e602a62073e4e298cd2
Bug: T324759
Change-Id: I1584a84b3caea9eb142afba976c6ff47650c3832
2023-05-31 15:45:22 +10:00