Commit graph

20524 commits

Author SHA1 Message Date
jenkins-bot 14fb1dc1de Merge "build: Update stylelint-config-wikimedia to 0.15.0" 2023-05-25 15:40:16 +00:00
jenkins-bot 30a2cf1276 Merge "build: Update eslint-config-wikimedia to 0.25.1" 2023-05-25 15:40:13 +00:00
Ed Sanders dfe0283b07 Drop incomplete images generated by legacy parser
Bug: T337438
Change-Id: I076dd91bad9e5fe2758d41ac158cad8b86dbadce
2023-05-25 16:06:45 +01:00
jenkins-bot f6994eafe4 Merge ".gitignore: Add .vscode directory to .gitignore" 2023-05-25 11:29:55 +00:00
Translation updater bot d9f1e753a1 Localisation updates from https://translatewiki.net.
Change-Id: I5d453991156a7a4e6940ebb5a9fa83575cf8ceb9
2023-05-25 09:11:14 +02:00
Ed Sanders 7d39310830 build: Update stylelint-config-wikimedia to 0.15.0
Change-Id: I87b7975b91a25f994ef9fc55759549e4c27e3e8b
2023-05-24 18:50:35 +01:00
Ed Sanders 0b8884a5b7 build: Update eslint-config-wikimedia to 0.25.1
Change-Id: I1aa9e6d79936932f1af9e90a988a877510ce0565
2023-05-24 18:49:03 +01:00
Ed Sanders 9520ef84aa extension.json: Add missing i18n message
Change-Id: I92ac152c882815aa34e110f86f0e136c9a368724
2023-05-24 18:33:25 +01:00
Bartosz Dziewoński 87def83023 Update VE core submodule to master (b35a89fed)
New changes:
d81cb0acb build: Updating socket.io-parser to 4.2.3
4e651f21b ve.ui.Surface#scrollSelectionIntoView: Always position selection 5px from edge
2d86b5013 Improve setting of surface padding when context opens
c4b96b1c7 Update surface padding when toolbar dialog is positioned 'below'

Change-Id: I1229f009faf07cbdb03ee9b9995688d28f79b161
2023-05-24 16:53:47 +02:00
Ed Sanders a8d89720fb Update VE core submodule to master (12333c596)
New changes:
ae7760836 Localisation updates from https://translatewiki.net.
2307e9098 Update i18n lists
001958fb8 Add fuzzy bar to the help dialog
12333c596 HelpCompletionAction: rename and clean up commandGroups to toolGroups

Bug: T66905
Change-Id: I4f61a20cd199cbc864c9f6eef1e63984decf6e42
2023-05-23 17:38:07 +01:00
Translation updater bot f1a0209b41 Localisation updates from https://translatewiki.net.
Change-Id: Ie1f47e63dadbf626dd0a29bd4a9e427054ccc362
2023-05-23 08:23:14 +02:00
Translation updater bot 198b59b3ab Localisation updates from https://translatewiki.net.
Change-Id: I1284b424d88eb201a3458786c81a9589b7edb95d
2023-05-22 08:46:59 +02:00
jenkins-bot 76ea3c5244 Merge "tests: Make PHPUnit data providers static" 2023-05-21 11:34:36 +00:00
jenkins-bot 7c6c7e2649 Merge "build: Upgrade grunt-tyops to 0.1.1" 2023-05-21 09:59:58 +00:00
David Lynch 50c646050d Update VE core submodule to master (fd2f048e4)
Also supporting changes to support the new HelpCompletionAction,
including adding a preference to disable it if required.

New changes:
985b553cc Localisation updates from https://translatewiki.net.
aa26e27dc Localisation updates from https://translatewiki.net.
4cdc753ab Update OOUI to v0.47.0
bfc96a7ee Completions: always abandon if the first input is a space
616a6458f Fuzzy command bar
92b6525a2 Tweak the fuzzy command bar's behavior
fd2f048e4 Fuzzy bar: change how command groups are generated

Change-Id: Ic77b8822baecf5ad1ab466d94df29bb945172b55
2023-05-20 22:04:27 +03:00
Umherirrender 60e3706f09 tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: Iad05a3579ec60c576c4aa99567eb3e4fa4c30550
2023-05-20 17:02:35 +02:00
James D. Forrester 02d2689467 build: Upgrade grunt-tyops to 0.1.1
Change-Id: I5636218b0d7f45b9ea9c49b7651cc286e5e3e66e
2023-05-20 12:33:49 +03:00
jenkins-bot d6803f2533 Merge "Use edit intro messages and preloaded content from MediaWiki core" 2023-05-19 13:23:21 +00:00
jenkins-bot 1c5dbf6f79 Merge "Revert "onDifferenceEngineBeforeDiffTable: Return early on Special pages"" 2023-05-18 17:20:49 +00:00
HMonroy d88cd64e52 Revert "onDifferenceEngineBeforeDiffTable: Return early on Special pages"
This reverts commit f693822f64.

Reason for revert: Reworking

Depends-On: Idc96036564291a3887935dbff4ec476f4ad07068
Change-Id: Iee3f41c1b096b82ee61ecca9ddc5fcd044f1237c
2023-05-18 16:45:15 +00:00
HMonroy ba687994d3 Revert "onDifferenceEngineBeforeDiffTable: Update comment"
This reverts commit d7262d8483.

Reason for revert: Reworking

Change-Id: Idc96036564291a3887935dbff4ec476f4ad07068
2023-05-18 16:45:11 +00:00
Samtar 09bb8f9168
Revert "Move the diff-mode selector to the new DifferenceEngineBeforeDiffTable hook"
This reverts commit 7dbe385773.

Reason for revert: Reworking

Change-Id: I60784afa0d47e22acd9e8a981092784c84b250eb
2023-05-18 15:36:38 +01:00
Translation updater bot 32ccacac3a Localisation updates from https://translatewiki.net.
Change-Id: I8de2c3730ef0eda1a9a587cd341a31c6ed61ed89
2023-05-18 10:13:23 +02:00
TheresNoTime d7262d8483 onDifferenceEngineBeforeDiffTable: Update comment
Bug: T336582
Follows-up: I251db11e8cb5b785744ee2c111d20a346937b78c
Change-Id: Ic1a6a3d1fe50aab163ce0fb17ae7379bff172adb
2023-05-16 17:38:05 +00:00
TheresNoTime 9738d283db
.gitignore: Add .vscode directory to .gitignore
Add `.vscode` to `.gitignore`, delete existing `.vscode` directory

Change-Id: I0534fa9f08c8d50e0f7521185c7ed08e01630d3e
2023-05-16 12:50:51 +01:00
TheresNoTime f693822f64
onDifferenceEngineBeforeDiffTable: Return early on Special pages
Add a check of `$diff->getTitle()->getNamespace()` to ensure early
return on NS_SPECIAL pages.

Bug: T336582
Change-Id: I251db11e8cb5b785744ee2c111d20a346937b78c
2023-05-16 12:39:19 +01:00
Translation updater bot f16e870ff5 Localisation updates from https://translatewiki.net.
Change-Id: Ia1b7236830d940f39b957ffd630ce9da81b8ceaa
2023-05-16 08:19:38 +02:00
Bartosz Dziewoński a88084509d Use edit intro messages and preloaded content from MediaWiki core
Use MediaWiki core helpers to provide intro messages (including edit
notices), initial page content, and CSS classes for the edit area.

The following intro messages were previously unimplemented,
and will be shown now:
* 'sharedupload-desc-create'
* 'sharedupload-desc-edit'

The following intro messages were previously unimplemented,
but they only apply to pages where VE should never be available,
and will be shown now when editing those pages with 2017WTE:
* 'code-editing-intro'
* 'talkpagetext'

The following intro messages were previously unimplemented,
and are now explicitly skipped:
* 'editpage-head-copy-warn'

The following intro messages were previously unimplemented,
but they only apply to pages where neither VE nor 2017WTE should
ever be available:
* 'userinvalidconfigtitle'
* 'usercssyoucanpreview'
* 'userjsonyoucanpreview'
* 'userjsyoucanpreview'

Depends-On: If0b05710cb52a977bf4e85947d72d68683a0a29e
Bug: T201613
Change-Id: If26e39e383b983f7ee834ed6dd73b80e0545b068
2023-05-16 02:34:35 +02:00
Translation updater bot 44bcbfbe65 Localisation updates from https://translatewiki.net.
Change-Id: Ib34de1e9968f77caac2964139049501e977f48dd
2023-05-15 08:34:09 +02:00
jenkins-bot b237df5f39 Merge "Update VE core submodule to master (1a98e553b)" 2023-05-12 10:59:22 +00:00
jenkins-bot 6044b30dfb Merge "Add VisualEditor's libraries to Special:Version" 2023-05-12 10:41:23 +00:00
Bartosz Dziewoński a223bedce8 Update VE core submodule to master (1a98e553b)
New changes:
0e2f9e80a Localisation updates from https://translatewiki.net.
547d1443d Replace toolbar dialog shield with pointer-events: none
35eb0ee45 Always give ToolbarDialog's a background
895f87436 Update jquery.uls data from upstream
41b789849 Pass selection to scrollSelectionIntoView, use in FindAndReplaceDialog

Change-Id: I0c6b78a35416680a135bb75a2bfce9b3d8fc1bfc
2023-05-12 12:39:20 +02:00
jenkins-bot 929b4d405d Merge "Prevent desktop init from running on mobile" 2023-05-12 10:32:22 +00:00
jenkins-bot 56e76d244c Merge "MobileArticleTarget: Removed unused class" 2023-05-12 10:32:20 +00:00
jenkins-bot 5751edb0e0 Merge "Preserve classes on all file elements, not just broken images" 2023-05-12 10:30:52 +00:00
Arlo Breault 780639f8c5 Preserve classes on all file elements, not just broken images
This also adds mw-file-element to new image nodes.

Bug: T270150
Bug: T314097
Change-Id: I545ed75ed3c87e88b5e776696754e23c05645f81
2023-05-12 10:12:15 +00:00
Translation updater bot 1810eca01b Localisation updates from https://translatewiki.net.
Change-Id: I3358a78141111b8f4747e643f97c8c0f0b62cbb0
2023-05-11 09:21:23 +02:00
Sam Wilson 00abad4861 Don't show the diff-mode selector if not viewing a diff
The DifferenceEngineBeforeDiffTable hook is run when viewing a
diff after switching from visual to source editing, but the
mode selection widget shouldn't be shown then.

Bug: T324759
Change-Id: Ieb8a1b77928201a45635af46635b902cac01a36d
2023-05-10 18:53:37 +00:00
Ed Sanders ee33c850ae Prevent desktop init from running on mobile
3rd parties may load this module inadvertently.

Change-Id: Ie545dc2bf95eae862340531cc36e88a592882c53
2023-05-10 15:25:06 +01:00
Ed Sanders 688a08715a MobileArticleTarget: Removed unused class
This was used when we had a modal toolbar.

Change-Id: I0474270d496a136b5128b6d042284c352f80f363
2023-05-10 15:24:07 +01:00
James D. Forrester 40ccea6a10 Add VisualEditor's libraries to Special:Version
Also add spark-md5, not listed before.

Change-Id: I58dcfcd0d0795350fcc49e86ba253cf2343e0a94
2023-05-10 08:46:51 +01:00
Translation updater bot 285a5399e4 Localisation updates from https://translatewiki.net.
Change-Id: Iacc90bcea603c1524f2df05fa09a1baad6e4d735
2023-05-10 08:42:19 +02:00
jenkins-bot 0347486c8e Merge "Fix one more place where we tried to set preferences for temp users" 2023-05-10 04:43:29 +00:00
Bartosz Dziewoński ec425a06af Fix one more place where we tried to set preferences for temp users
Follow-up to 3b1a2d9dce.

Bug: T332415
Bug: T332435
Change-Id: I1139f1f3421fe43dfd5e3125b18d40421930a0f1
2023-05-10 04:20:03 +02:00
Bartosz Dziewoński 6c2294545e Update VE core submodule to master (faecd7c37)
New changes:
c719ac984 Localisation updates from https://translatewiki.net.
50a3ef04b build: Updating engine.io to 6.4.2
761bbc83f ve.ce.BranchNode: Only add browser support CSS when needed
a00eb470b ve.ce.BranchNode: Limit Firefox image hack to versions <69

Change-Id: I6a93c965e85bffa4f58df1fcc05798569e9a547e
2023-05-10 03:44:05 +02:00
jenkins-bot 3a0ec4a808 Merge "MWWikitextSurface: Deactivate surface on mobile before showing paste context" 2023-05-10 01:09:03 +00:00
Translation updater bot db451d7f20 Localisation updates from https://translatewiki.net.
Change-Id: I216e2c7b35d772721d4f7d37cb16e6c5b629056e
2023-05-09 08:56:06 +02:00
Translation updater bot 826471433a Localisation updates from https://translatewiki.net.
Change-Id: I683d77404e8a0de5d729f0915c667a5bf95eb6ee
2023-05-08 10:33:51 +02:00
gerritbot a6c5082fa3 Update moved class EditPage
See T321882. Moved in Ibefc44eb64aed

Bug: T321681
Change-Id: I5faaf6c59e96154eba0a4b199e47ecef49a89c72
2023-05-06 21:21:44 +00:00
Ed Sanders 3c07178d05 MWWikitextSurface: Deactivate surface on mobile before showing paste context
Bug: T336073
Change-Id: I6d8c55f2ab7ba7c58f84ac70afe53c04241d1782
2023-05-05 17:57:45 +01:00