Commit graph

20658 commits

Author SHA1 Message Date
Bartosz Dziewoński 40d131f727 Stop adding the 'diffmode' parameter to the URL
Bug: T213522
Change-Id: I9f724a068bfa869db0183a216ff0b764084f464d
2023-04-13 20:50:34 +02:00
Ed Sanders de95fdf30d Update VE core submodule to master (58561f036)
New changes:
c239ab1fb Localisation updates from https://translatewiki.net.
0052cc2a1 Localisation updates from https://translatewiki.net.
47be93405 Localisation updates from https://translatewiki.net.
da198ce3a [BREAKING CHANGE] Drop support for ES5
5521054ce SupportCheck: Change ES5 test to ES6
4a38732ed [DEPRECATING CHANGE]: ve.init.Platform: Drop isInternetExplorer/isEdge
85a6560b0 ve.ce.Surface: Remove fallback for selectionchange event
0f6b9d65a ve.ce.Surface: Remove IE11 hack for iframe focus
2e2a51eb3 [DEPRECATING CHANGE] Drop ve.normalizeNode
c1e09cbb8 [DEPRECATING CHANGE] Drop IE11 DOM parsing hacks
28bd579f9 ve.resolveAttributes: Drop IE11 try/catch
e1db3af5b [DEPRECATING CHANGE] Drop ve.supportsIntl
3d317501e [DEPRECATING CHANGE] Drop ve.supportsSplice
58561f036 Localisation updates from https://translatewiki.net.

Change-Id: I7e13fb5826da2c1ded53520f40ff0470f34361ad
2023-04-13 16:05:37 +00:00
Translation updater bot b8638ee244 Localisation updates from https://translatewiki.net.
Change-Id: I8062515c5a3804186c2d6f5a1a00073c5798a994
2023-04-13 08:47:34 +02:00
Ed Sanders 9c61620fac Add narrowConfig for 'Insert' and 'Publish changes'
Bug: T92315
Change-Id: I4d35e7bc3d04312fc15632acae06cc43839bbf11
2023-04-12 23:05:08 +01:00
Ed Sanders b9d17f3dd1 ve.ui.MWTemplateTitleInputWidget: Drop workaround for unicode regexes
All browsers we support have this feature.

Change-Id: Ie1e6fe2ef7d2b446dce45d6f11a46c9279b4790f
2023-04-12 23:02:09 +01:00
Ed Sanders 2df6c004a3 Drop some IE hacks
Change-Id: I97b0f1b8cb5e799d151177c43dc8a990cf6015bd
2023-04-12 16:32:59 +01:00
Translation updater bot b7e8700ba2 Localisation updates from https://translatewiki.net.
Change-Id: I27446b9737d477f8b546088e5e68dec29fadeca0
2023-04-12 08:45:21 +02:00
thiemowmde 5343e9a015 Fix template dialog when TemplateData contains empty parameter
It's possible to specify a parameter with no name via TemplateData.
This confuses the template dialog because the empty string is a
reserved, internal value for parameters that are in the process of
being named.

Fixing TemplateData is not so easy. Therefor this workaround here.

See T333826 for a detailed description.

Bug: T333826
Change-Id: I5f4efd7069e71ba51138a23f3c3cb40e1b50d339
2023-04-11 18:19:34 +02:00
Translation updater bot 870abd060f Localisation updates from https://translatewiki.net.
Change-Id: If92174c7d1da61b94c971cf0746a7894194acf7d
2023-04-11 09:14:30 +02:00
David Lynch 7fb5663188 Don't hook CustomEditor for MobileFrontend requests
Bug: T334263
Change-Id: I7ccf1ba7e8f227c236a6244bfa91a2b8a9fd5765
2023-04-10 22:17:16 +00:00
Translation updater bot 3918f80a72 Localisation updates from https://translatewiki.net.
Change-Id: I55a6c019be6297a0fbae1b0de08751e0017404e2
2023-04-10 09:47:06 +02:00
David Lynch 99336933b3 Use new showPendingTakeover OutputPage method
Depends-On: I8f25f53a05ce0437b0e9f63033cc151213c797bf
Change-Id: Ib9a09514ed3da614ff8a654ae5b84a3a5b2ce886
2023-04-06 17:20:30 -05:00
daniel 96292e770a Don't force the "view" flavor when using stashing!
Bug: T333402
Change-Id: I6fc598cb2309c442a0b5bfe665f6f96c1a6edf85
2023-04-06 12:17:11 +02:00
Translation updater bot 5c38d0501a Localisation updates from https://translatewiki.net.
Change-Id: Ia2e5dd5b6aab3b946a49089e6679a390d091e64e
2023-04-06 09:25:27 +02:00
Translation updater bot 281aa3c65b Localisation updates from https://translatewiki.net.
Change-Id: Ief8ac1238eabecee800bf262283271fde3736933
2023-04-04 09:18:31 +02:00
David Lynch 9d3c048785 EditCheck: catch errors from TransactionSquasher
Bug: T324733
Change-Id: I5076db530fa8af72a336916f8284e6f3348cfd38
2023-04-03 13:12:57 -05:00
Translation updater bot 20464f62c2 Localisation updates from https://translatewiki.net.
Change-Id: Id3671ad70bdf8f52995202d305036211764d2dd2
2023-04-03 09:19:23 +02:00
Translation updater bot 018d1f4d61 Localisation updates from https://translatewiki.net.
Change-Id: I80e2d4fba85435c1deb49781055400b90baf515e
2023-03-31 09:59:12 +02:00
jenkins-bot 346adf77ad Merge "Follow-up I1a81484: Replace MetaItem#remove with SurfaceFragment#removeMeta in other pages" 2023-03-30 21:06:57 +00:00
Ed Sanders 56489cabd0 Follow-up I1a81484: Replace MetaItem#remove with SurfaceFragment#removeMeta in other pages
Change-Id: Ie5c79b2099b5c293534c82ae4ba8a17f801060e9
2023-03-30 16:19:41 +01:00
Translation updater bot 71ef1fe8b1 Localisation updates from https://translatewiki.net.
Change-Id: I64e4cd0ef35b9b6bcdc3c1d66766bc4e8888e8b7
2023-03-30 09:02:49 +02:00
jenkins-bot fd534b7679 Merge "Vector: Use greyed out version of bullet image in visual diffs" 2023-03-29 19:25:12 +00:00
Ed Sanders 6ebd93b6eb Vector: Use greyed out version of bullet image in visual diffs
Bug: T332697
Change-Id: I50a7fedd8f1670daf668a6268fd12bebf578ced4
2023-03-29 21:05:24 +02:00
Ed Sanders 55eefc366b Remove convertToWikitextOnPaste flag
This was introduced as a temporary flag for
DiscussionTools, and was removed in I0514e8f8.

Change-Id: Ia8d82baf4b93cf7de53b58ba19fa31856f1bc011
2023-03-29 18:43:36 +01:00
jenkins-bot 1d90bae5c8 Merge "Gallery: Make ve.ce.Gallery(Image)CaptionNode active (editable)" 2023-03-29 15:43:08 +00:00
Translation updater bot 7157aa3e66 Localisation updates from https://translatewiki.net.
Change-Id: I1643ac461327d4c638ab04fe366fb630463bd0d1
2023-03-29 09:05:11 +02:00
Bartosz Dziewoński f1370c771e Update VE core submodule to master (e180b2f94)
New changes:
2011d090b Remove unused ve.trackSubscribeAll
0fd1ede80 Localisation updates from https://translatewiki.net.
aab393cd1 Grey out list marker when list item is no-change context
e180b2f94 Suppress list-style-image in diff list spacer

Bug: T332697
Change-Id: I7aa297e011350f581de56678210bb82f1da40ba0
2023-03-29 01:01:46 +02:00
jenkins-bot 3d75566755 Merge "Only run edit check on main namespace" 2023-03-28 19:28:53 +00:00
Ed Sanders 9bf7e65cd0 Only run edit check on main namespace
Bug: T324730
Change-Id: I1a267c00b5a333c809e81f6000c734c66cd1a803
2023-03-28 19:11:15 +00:00
David Lynch f11a7b4c16 Change name of the editcheck-needreference tag to editcheck-references
Bug: T324733
Change-Id: I435100fb05cb846cb1c0e3d5d5a72a1570ada1f4
2023-03-28 10:14:51 -05:00
Translation updater bot 86dff1e6a3 Localisation updates from https://translatewiki.net.
Change-Id: I857d667e34a6d769d8ca5a9ff717a5a59cecd406
2023-03-28 08:41:22 +02:00
David Lynch 31108dda7c Add editcheck tags when VE thinks a reference is needed
Bug: T324733
Change-Id: Iddc57e07133c56000c1338e8d780fa55cc95ab89
2023-03-27 22:48:25 +00:00
Ed Sanders 6e77f963e4 Initial edit check tagging
Bug: T324730
Change-Id: I112015809e55da802e3840fdfeaf16a72e090cb3
2023-03-27 22:47:40 +00:00
jenkins-bot 5ce888cdce Merge "Centralize EditAttemptStep logging code in WikimediaEvents" 2023-03-27 15:30:45 +00:00
Ed Sanders 9d09979e9e MWSaveDialog: Center preview in Vector 2022
Bug: T328783
Change-Id: I2e18967bb41573789cc3a8554038b8ac7876d356
2023-03-27 12:29:25 +00:00
Translation updater bot a205fab646 Localisation updates from https://translatewiki.net.
Change-Id: I61f9cc887c681abe8b8e54357d3dbd71db6430e2
2023-03-27 08:42:10 +02:00
Bartosz Dziewoński 766bdedf70 Centralize EditAttemptStep logging code in WikimediaEvents
* Use the new mw.track() handlers from WikimediaEvents
* Ensure that 'integration' and 'mode' are set on init
  events, since they're not guessed in the handler any more
* Remove the setting of 'editingStatsId' tracking parameter,
  now happens in WikimediaEvents by setting an API AJAX option
* Replace ve.track with mw.track in VE-MW, so that we don't have
  to copy the events manually here and in other extensions

This must be merged together with WikimediaEvents change
Iace4d53a972396ca5b8713000570cc47c9986034 (but we can't use
Depends-On, because CI requires code here to be removed first).

Bug: T332438
Change-Id: I0ef0a96aafdf89a4ebe32131a85b18c25744bb2c
2023-03-24 21:48:45 +01:00
Bartosz Dziewoński 1cdb641116 Simplify timing tracking code
Peel off some layers, remove some unused computation,
remove code from ve.init.mw.trackSubscriber.js (which
is to be removed in T332438).

Change-Id: I4073b9a2a4b2af06f30e603a9d2a1968203f3b6d
2023-03-24 21:48:14 +01:00
Jon Robson 4604c4a79f Remove unnecessary targets
VisualEditor already checks inside onBeforePageDisplay hook for
whether it is in the mobile site. The rest of the checks rely
on OO.ui.isMobile which operates using wgMFMode which is a configuration
variable added explictly by MobileFrontend so not affected by this change.

I verified that mw.loader.getState('ext.visualEditor.desktopArticleTarget.noscript')
returns 'ready' on desktop, but 'registered' on mobile site

Bug: T328497
Bug: T236944
Change-Id: Iea1135c22c750c47f2e34c7ae1fd2e828bd92cc7
2023-03-24 10:39:32 -07:00
Translation updater bot 8de2678817 Localisation updates from https://translatewiki.net.
Change-Id: I98c7ace4d47ee2bdb5c2cec5f86b4619233a2113
2023-03-24 09:29:13 +01:00
Translation updater bot c9be2deca0 Localisation updates from https://translatewiki.net.
Change-Id: Iea1ac4bce5466af97c0156f7e4ad0c84142269c9
2023-03-23 09:27:22 +01:00
Translation updater bot cfe7466147 Localisation updates from https://translatewiki.net.
Change-Id: I4f374b8c9a2cd21253aa7350f5b8527398b717bb
2023-03-22 09:16:47 +01:00
Ed Sanders e2aaac3e49 Update VE core submodule to master (b9ccfc346)
New changes:
50dc9a8b0 Localisation updates from https://translatewiki.net.
f8a1393ad build: Updating npm dependencies
ac4ca3617 Localisation updates from https://translatewiki.net.
becd00872 Update language lists
3360e8025 Force-show invisible template markers
b9ccfc346 ve.ui.DiffElement: Respect line breaks in attribute changes

Bug: T332626
Change-Id: I5a8cd9e0bfb99efd41051c34bc070d6c6087ae2f
2023-03-20 22:20:09 +01:00
Translation updater bot d4ba6e7c07 Localisation updates from https://translatewiki.net.
Change-Id: I95aee95dc8b6f0c42c54ad0605b38cfba314bcc2
2023-03-20 09:02:58 +01:00
jenkins-bot dc9fe4344f Merge "stylelint: Auto-fix selector-pseudo-element-colon-notation" 2023-03-17 18:00:34 +00:00
Translation updater bot 98cb0d966b Localisation updates from https://translatewiki.net.
Change-Id: I9a86c2585e1019964eeae2481ea3e80af34301d5
2023-03-17 09:23:21 +01:00
Ed Sanders db5f13fc93 Show redirect meta items in visual diff
Bug: T161290
Change-Id: Icf68f6d085ab2de802350df0d29208f0653ceb66
2023-03-15 14:46:28 +00:00
Ed Sanders 860d9ae926 Render category diff
Bug: T161290
Depends-On: I118e85d7fa8202717db3a323e3e3dd9bc8a25be5
Change-Id: Iaa401b130bd81b8960f799dc9de6f172d9ba86a3
2023-03-15 13:10:23 +00:00
Ed Sanders 2e492d4de7 Follow-up Id21c122d4: Replace MetaItem#remove with SurfaceFragment#removeMeta
Also fix one typo of 'frament' -> 'fragment'.

Change-Id: I1a814847213c81ecf08af6c40586752c513f7725
2023-03-15 13:10:23 +00:00
Translation updater bot 13c412e221 Localisation updates from https://translatewiki.net.
Change-Id: I7d3346c00a5241e917103d4dac564c85cb0f5cf3
2023-03-15 08:50:57 +01:00