Commit graph

20644 commits

Author SHA1 Message Date
Translation updater bot 175fa0d7ec Localisation updates from https://translatewiki.net.
Change-Id: I9959b5f6b7e2c5314ec55f7df9712ce565d33301
2023-04-26 08:44:25 +02:00
jenkins-bot b82f8283b9 Merge "Add test for MWTemplateSpecModel.getDocumentedParameterOrder" 2023-04-26 01:45:37 +00:00
thiemowmde 1a09676159 Add test for MWTemplateSpecModel.getDocumentedParameterOrder
It appears like this was never tested.

Now that it is covered it's much easier to play around with the
implementation and compact it a bit.

Change-Id: Ie9cc14082f69e7240380d352fb362d0a3fa4d341
2023-04-26 01:29:23 +00:00
jenkins-bot dda810c29d Merge "Update VE core submodule to master (35e9c8941)" 2023-04-25 17:06:28 +00:00
Bartosz Dziewoński 789d98266d Update VE core submodule to master (35e9c8941)
New changes:
4a1f1fcf1 ve.ce.Surface: Move other user selections to $selections overlay
e4f456b8e ve.ce.Surface: Create drawSelections method and use for deactivated selections
4868d26f0 Use new #drawSelections method for FindAndReplaceDialog
35e9c8941 ve.ce.Surface: Use #drawSelections for other users

Change-Id: Ib465c7816ea722c729bec8a75ef5cab8b90a1782
2023-04-25 18:47:08 +02:00
jenkins-bot 4d977ecebe Merge "Remove padding override from active external links" 2023-04-25 16:00:22 +00:00
gerritbot 5b8c2a3afa Update moved class WikiMap
See T321882. Moved in I60cf4b9ef02b9d5

Bug: T321681
Change-Id: If4a7ece606985b0e702288d1f3a08a270adcc760
2023-04-25 09:55:53 +00:00
Translation updater bot 9b3b9ee45e Localisation updates from https://translatewiki.net.
Change-Id: I1572d144f721878f326fbc4d24fd5ceb42e5984a
2023-04-25 08:48:50 +02:00
Bartosz Dziewoński d7521704a1 Remove some redundant PHPDoc comments
More could be done, but these are the ones that annoy me the most,
and I'm not willing to do more changes right now.

Change-Id: Ia02af09d631fea191e57da75420f0d2d1ed46c19
2023-04-24 21:11:26 +02:00
Ed Sanders fec0f4ecf5 Remove padding override from active external links
Since this was written, the specificity of the selector it was
overriding has increased, so isn't required any more.

Bug: T335292
Change-Id: Ib3494524f6ddfc2ea59d6d3d13a1a90138cd84af
2023-04-24 15:08:14 +01:00
Translation updater bot 1add952042 Localisation updates from https://translatewiki.net.
Change-Id: I1bd37533f49a0b4b779dcd709edc4c44bf22e5fb
2023-04-24 09:17:34 +02:00
jenkins-bot 115b4881e3 Merge "Minor documentation updates in the TemplateSpecModel class" 2023-04-23 12:31:33 +00:00
Bartosz Dziewoński f3b792f16f Log TransactionSquasher errors, in case any still occur
Bug: T333710
Change-Id: I49a0b22245307bb94de60776b5786732be72bf54
2023-04-22 10:16:12 +02:00
Bartosz Dziewoński 423feb6d99 Update VE core submodule to master (da7624d69)
New changes:
1a006f700 Allow attribute values that are reference types to compare equal
58d6eb28f TreeModifier: Check for inserting unbalanced open-close tag sequence

Bug: T333710
Bug: T334677
Change-Id: Ia59e7efa8ad6a9abf77bdee5d38dcd22a3d93dfe
2023-04-22 10:15:45 +02:00
Thiemo Kreuz 5b42d900cc Minor documentation updates in the TemplateSpecModel class
Change-Id: Idcbd600c1bee29c1ebdbc1acddbe9953b4e359a1
2023-04-21 16:16:22 +02:00
jenkins-bot 8cc29eca29 Merge "Fix template dialog when TemplateData contains empty parameter" 2023-04-21 13:14:54 +00:00
jenkins-bot 5c89247be9 Merge "Use new showPendingTakeover OutputPage method" 2023-04-21 13:11:54 +00:00
Sam Wilson 7dbe385773 Move the diff-mode selector to the new DifferenceEngineBeforeDiffTable 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: I6de30bf79eb5ac262285951792782b870d075e00
Bug: T324759
Change-Id: Ifc133856dd793693c3a2722a7b1319dfe74555a2
2023-04-21 16:03:16 +08:00
Translation updater bot b00e6a0996 Localisation updates from https://translatewiki.net.
Change-Id: I18dc19f7030296accf95d1df6eac220f736f83a4
2023-04-21 09:01:10 +02:00
jenkins-bot 9cb6f54d3b Merge "Remove the BetaFeatures integration for historical visual diffs" 2023-04-20 09:44:13 +00:00
jenkins-bot eab43d2025 Merge "Remove the "Report incorrect…" button on visual diffs in save dialog" 2023-04-20 09:44:10 +00:00
Translation updater bot 2672e0bd22 Localisation updates from https://translatewiki.net.
Change-Id: Idf874d06f8930dd293d65782d6eb31860680ba2b
2023-04-20 08:49:31 +02:00
jenkins-bot 637a062d76 Merge "ApiVisualEditor: Support Special:MyLanguage for editIntro param too" 2023-04-19 19:40:14 +00:00
James D. Forrester bc7db78906 ApiVisualEditor: Support Special:MyLanguage for editIntro param too
Bug: T334855
Follows-Up: I43f461e9f595c364ecdaf2faccbd580fc0df6799
Change-Id: I106941f827d1dd246733d72989bbe9504c221c6f
2023-04-19 19:20:27 +00:00
Translation updater bot 5f8483c863 Localisation updates from https://translatewiki.net.
Change-Id: Ib2ca9411b5cd880d08ecf2c081bfb6ecc49c1a10
2023-04-19 08:27:54 +02:00
Bartosz Dziewoński adc0bcdfcd Remove the BetaFeatures integration for historical visual diffs
Bug: T333448
Change-Id: If4f732851a42802b612cef618196c9854e2cf9da
2023-04-18 22:34:05 +02:00
Bartosz Dziewoński 1ca9261151 Remove the "Report incorrect…" button on visual diffs in save dialog
Bug: T282268
Change-Id: Ia6e0978fb43a7ffccaa8245728c86bc3a433a2c1
2023-04-18 22:28:51 +02:00
jenkins-bot d7b582ff3f Merge "textSelection compat layer getCaretPosition could error if no selection" 2023-04-18 19:22:55 +00:00
Bartosz Dziewoński 60671a3bee Update VE core submodule to master (10005c50d)
New changes:
40f6a4d33 Remove @supports for mix-blend-mode
8e73eac4d Drop IE Array.slice workaround
a52715bd3 Localisation updates from https://translatewiki.net.
dfaed62d3 ve.init.Target: Remove separate actions toolbar

Bug: T92315
Change-Id: I3513a32ca475b40010d0f61497f082050f214022
2023-04-18 20:43:29 +02:00
David Lynch 4d4093b938 textSelection compat layer getCaretPosition could error if no selection
Reported as happening when a gadget was triggering some calls early in
initialization, presumably before the surface had reached the point
where it had been focused.

Bug: T334930
Change-Id: Idebc31ef042d45acf59d8dceaa7566744233f426
2023-04-18 09:59:43 -05:00
Translation updater bot 2fde6f2caa Localisation updates from https://translatewiki.net.
Change-Id: If1ce79cdcd2c1a543065bb9412458285394d19bd
2023-04-17 09:15:59 +02:00
jenkins-bot a453404bb1 Merge "Stop adding the 'diffmode' parameter to the URL" 2023-04-15 22:28:55 +00:00
Translation updater bot b0ed65b984 Localisation updates from https://translatewiki.net.
Change-Id: I309ebd6c30f590f072446e1f99cfda45e352e9d1
2023-04-14 09:27:38 +02:00
jenkins-bot 1f4bd72f18 Merge "Add narrowConfig for 'Insert' and 'Publish changes'" 2023-04-13 22:23:48 +00:00
jenkins-bot 6ecf990786 Merge "ve.ui.MWTemplateTitleInputWidget: Drop workaround for unicode regexes" 2023-04-13 22:19:12 +00:00
jenkins-bot f24455c016 Merge "Drop some IE hacks" 2023-04-13 22:16:58 +00:00
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