Commit graph

19044 commits

Author SHA1 Message Date
Reedy 9ee13d8471 Remove global class aliases
Change-Id: Id9b021f47d2ec181e5267e454a39ed3cafdec9d2
2022-06-06 17:23:23 +00:00
Translation updater bot 6e9387b626 Localisation updates from https://translatewiki.net.
Change-Id: If32d7acf8ab1e264d247709e616224a65ff136ea
2022-06-06 09:27:08 +02:00
Bartosz Dziewoński 3e0323637d Update VE core submodule to master (c54b727ca)
New changes:
6f91b6a3d Localisation updates from https://translatewiki.net.
7f8df33f9 build: Update language lists to add 'tdd'
c54b727ca FocusableNode: Remove webkit columns hacks

Bug: T309037
Change-Id: I86026e8ea3952ecc903b66d2636161754cdf7cee
2022-06-04 13:54:35 +02:00
Translation updater bot 7e4d0b8487 Localisation updates from https://translatewiki.net.
Change-Id: I9ccd0196aceaeb210db4c1ceb6b4a4c7b22c5962
2022-06-03 08:58:24 +02:00
jenkins-bot 21c1f1d38a Merge "ve.ui.MWLinkAnnotationInspector: Prevent long sitenames from messing up the layout" 2022-06-02 12:45:26 +00:00
Translation updater bot b659eafe5a Localisation updates from https://translatewiki.net.
Change-Id: I5ea61db27522e37b3b57d190ba7c39d8ce07fac2
2022-06-02 08:15:48 +02:00
Bartosz Dziewoński 6869bc90fd ve.ui.MWLinkAnnotationInspector: Prevent long sitenames from messing up the layout
Bug: T309443
Change-Id: Ia9e9dacb7f293e2529e8d0766e1117a61e34b3e5
2022-06-01 23:34:19 +02:00
Translation updater bot a707c803a2 Localisation updates from https://translatewiki.net.
Change-Id: I7a1753e5f499eacf148ba8c3c3e1734ac1437996
2022-06-01 08:21:22 +02:00
Bartosz Dziewoński f5ae9c2e59 Update VE core submodule to master (cd966e817)
New changes:
8a31adad3 SupportCheck: Call DOMParser directly
bb447f10e rebaser: Update dependencies
39e84e7b6 rebaser: Update deprecated option
e6505de76 rebaser: Update mongo driver to 4.6
8576a529f Localisation updates from https://translatewiki.net.
cd966e817 CompletionWidget: Wrap in a PopupWidget to keep within viewport

Bug: T307712
Change-Id: I16e96f1667dbe0105348c659ea303464fbd700f4
2022-05-31 22:36:48 +02:00
Translation updater bot 911e5017d8 Localisation updates from https://translatewiki.net.
Change-Id: I21b10028c6c16ee0c7b839d90ad57ca6c17a8823
2022-05-31 08:08:55 +02:00
jenkins-bot 0053ed8e70 Merge "Make collapsible descriptions more responsive" 2022-05-30 10:25:57 +00:00
jenkins-bot f3f1d7a673 Merge "Fix template dialog sometimes deleting unrelated params" 2022-05-30 09:01:22 +00:00
Translation updater bot 107727eb12 Localisation updates from https://translatewiki.net.
Change-Id: Iee387e366d5478f52f23c6f208b7934b02e658db
2022-05-30 09:24:35 +02:00
Andrew Kostka efa0e3ae9a Make collapsible descriptions more responsive
Bug: T307986
Change-Id: Ib28ec5a5c73fab8eb2b10ed6153a30028c3505cb
2022-05-27 16:10:00 +02:00
Translation updater bot 375145be28 Localisation updates from https://translatewiki.net.
Change-Id: I424e0b8654c3885f93c99104993f6ee9ad3f245f
2022-05-27 10:26:32 +02:00
Bartosz Dziewoński c59cd12c0a Update VE core submodule to master (f52d9b046)
New changes:
0cdfa1c35 Localisation updates from https://translatewiki.net.
f52d9b046 Revert "DiffElement: Collapse tree diff with no described changes"

Change-Id: I65d1e9cbdc45bbf5e04b5c0f25e9254ee240d587
2022-05-26 23:14:32 +02:00
Translation updater bot 0bee2c6ce9 Localisation updates from https://translatewiki.net.
Change-Id: I4ff19a0e7896443cff27f009009accab6ca25592
2022-05-26 08:52:21 +02:00
Thiemo Kreuz 64005eb41a Fix template dialog sometimes deleting unrelated params
The previous comment was true, but we forgot another edge-case. The
same parameter can appear multiple times. The old code tried to
delete it 2 times, which deleted something else.

Note that the behavior for duplicates is larely unspecified. We
will work on this soon. This is only a first quick step to fix this
specific bug.

Bug: T309203
Change-Id: If0afb2c19626c3d9db0d109d6559ae74698ed378
2022-05-25 16:01:44 +02:00
Translation updater bot 2ec96bf0c4 Localisation updates from https://translatewiki.net.
Change-Id: Ie86751a61ed86f341df7e3d772db1e87a9ffd2d9
2022-05-25 08:33:17 +02:00
jenkins-bot df6b5fab51 Merge "Bump requested Parsoid HTML version to 2.4.0" 2022-05-25 00:01:18 +00:00
jenkins-bot bb7f777ffe Merge "Zero-configuration VisualEditor for mainline" 2022-05-25 00:01:15 +00:00
jenkins-bot e1d40a958f Merge "Use new ResourceLoader namespace" 2022-05-24 23:46:12 +00:00
Tim Starling b9b6695c5a Use new ResourceLoader namespace
Extensions using Phan need to be updated simultaneously with core due
to T308443.

Bug: T308718
Depends-On: Id08a220e1d6085e2b33f3f6c9d0e3935a4204659
Change-Id: I9a20c25b9cea26e1fbe0f0434a0800632e9e0fc7
2022-05-24 22:59:39 +00:00
jenkins-bot 7da358581f Merge "selenium: Improve debugging" 2022-05-24 15:01:44 +00:00
Translation updater bot 3141d90791 Localisation updates from https://translatewiki.net.
Change-Id: I779a7ba4f5c3da7d61afa8e3d1123ffa9d1abc52
2022-05-24 08:26:07 +02:00
jenkins-bot 7276bf57cf Merge "GalleryImageNode: Handle broken images" 2022-05-24 01:40:01 +00:00
jenkins-bot 767d1e403b Merge "GalleryDialog: Use correct src attribute when rebuilding DOM" 2022-05-24 01:39:59 +00:00
jenkins-bot 5ac61e20ed Merge "ve.dm.MWGalleryImageNode: Add width/height attributes back to images" 2022-05-24 01:39:56 +00:00
Ed Sanders 5d060c34cc GalleryImageNode: Handle broken images
Most of this logic copied from MWBlockImageNode.

Change-Id: I92c860c53741c5ee48c8bce216987d97a92bc05f
2022-05-23 15:29:42 +01:00
Ed Sanders da8de2e509 GalleryDialog: Use correct src attribute when rebuilding DOM
This avoids a meaningless attirbute change with the image
is unmodified (as thumbUrl can be a different size).

Change-Id: Ib79a4703382552e38022a3f345ca5cd762c52303
2022-05-23 14:55:12 +01:00
Ed Sanders 0aa4ee1356 ve.dm.MWGalleryImageNode: Add width/height attributes back to images
These aren't used by Parsoid but help with rendering.

Change-Id: Ifff3be45ab2046ee32f0665285581c1013102dfe
2022-05-23 14:55:06 +01:00
jenkins-bot b6e398fd85 Merge "Improve collapsible descriptions for smaller screens" 2022-05-23 10:27:27 +00:00
jenkins-bot ee0f823f25 Merge "Fix non-collapsible parameter descriptions on smaller screens" 2022-05-23 10:27:24 +00:00
Translation updater bot 24a00796fb Localisation updates from https://translatewiki.net.
Change-Id: I3445bd329c8262e14d0a6e1de94d2bb02fd952a1
2022-05-23 08:17:53 +02:00
Bartosz Dziewoński 1fac5e1c1d Update VE core submodule to master (020488bd1)
New changes:
f4a94fef6 Remove some unnecessary newlines from source code
42900ef34 Fix wrong type hints for string hashes
ae6c7de73 Make some generic Array type hints more specific
020488bd1 Fix various mistakes in JSDoc documentation

Change-Id: I4b7657767b3239800218679104e2a453ea6b99cd
2022-05-21 17:45:54 +02:00
jenkins-bot cf08e7f70a Merge "MobileArticleTarget: Avoid jittering while scrolling" 2022-05-21 15:07:03 +00:00
jenkins-bot adea509816 Merge "ve.init.mw.MobileArticleTarget: Remove hiding keyboard shortcut hints" 2022-05-21 14:53:27 +00:00
jenkins-bot d2c589644e Merge "Update VE core submodule to master (595380444)" 2022-05-21 14:51:31 +00:00
Bartosz Dziewoński 1cfef4232d MobileArticleTarget: Avoid jittering while scrolling
Needed after Ia18f31a299338f94e69f1882e6e477f3a22ae905 in VE core.

Bug: T307849
Depends-On: Ia18f31a299338f94e69f1882e6e477f3a22ae905
Change-Id: I87f3ac0974702ecaf7f5459604371de06f4a5756
2022-05-21 13:43:20 +00:00
jenkins-bot f05ab1042c Merge "Special:CollabPad supports importTitle parameter" 2022-05-21 13:29:35 +00:00
Bartosz Dziewoński e84718d2b1 ve.init.mw.MobileArticleTarget: Remove hiding keyboard shortcut hints
Now done in VE core since Ie86217ba5651df8c427464e460ed836903834a3c.

Bug: T308200
Depends-On: Ie86217ba5651df8c427464e460ed836903834a3c
Change-Id: I3f65b0bc100895f7bd2262c3cbb5231fb055758b
2022-05-21 13:24:09 +00:00
Ed Sanders 0e6c954230 Update VE core submodule to master (595380444)
New changes:
8ede5f447 ve.ui.Toolbar: Always hide keyboard shortcut hints on mobile
df426dd86 ve.ui.Surface: Attach mobile context to global overlay
bbd6c3efa Revert "Ensure mobile context appears above toolbar on mobile"

Bug: T293129
Bug: T307849
Bug: T308200
Change-Id: I530e92a90b95863a8903350d2e10ee335eda68d8
2022-05-21 14:23:23 +01:00
Adam Wight b189ce2825 Special:CollabPad supports importTitle parameter
This lets us begin the import from another page, for example an edit
tab or button.

If the CollabPad page already exists, it will be opened without
overwriting with freshly-imported page contents.

Change-Id: I89293b9b06253243826d8f8144a5e93d55856e7c
2022-05-21 14:48:09 +02:00
Ed Sanders c64f5a78cf MWImageNode: Skip empty change descriptions
As in parent method.

Change-Id: I320d5d7a8b2f5f7c7e2715c95cbc943533c8b335
2022-05-21 04:09:41 +02:00
Ed Sanders fb1ed9e700 MWGalleryImageNode: Avoid converting altText from null to ''
Bug: T308747
Change-Id: Icd811a6baaa2213d8615bdcb3690d26aa35ab302
2022-05-21 04:09:41 +02:00
Ed Sanders f4a7dfa059 Improve visual diff of gallery when image replaced
* Implement ve.dm.MWGalleryImageNode.static.isDiffComparable to
  match ve.dm.MWImageNode, in that images with different resources
  are not compared.
* Diff galleries as documents so remove/inserts are rendered.

Bug: T308747
Change-Id: Ide6f4110e65cad7f6bb6d13766815413602fd991
2022-05-21 04:09:41 +02:00
Bartosz Dziewoński 381381c005 Update VE core submodule to master (aeaac1e84)
New changes:
5c02fa398 DiffElement: Fix ClassAttributeNode tests and ImageNode behaviour
3fa5a0d9c VisualDiff: Consider values going from/to null as being set/unset

Change-Id: I5e17a098cd60831d2cb24ec2e1de06df37c2b7ee
2022-05-21 04:08:11 +02:00
jenkins-bot b0ab170531 Merge "Remove duplicate dependency on mwsave from mobileArticleTarget" 2022-05-20 22:48:46 +00:00
jenkins-bot 8a80076947 Merge "Update schema logging of bucket for new DiscussionTools A/B test" 2022-05-20 22:26:59 +00:00
C. Scott Ananian ede9ffbd43 Bump requested Parsoid HTML version to 2.4.0
Visual Editor currently requests MediaWiki DOM version 2.0.0
when talking to Parsoid.  Since Parsoid treats that as a request
for 2.4.0, its current version, and Parsoid doesn't have a
2.4.0->2.0.0 downgrade path, passing the latest Parsoid version
(2.4.0) should make no difference in practice -- but would better
match current reality.

Change-Id: Ia2bc0c1981db6f573a69fb1910cef4304c80ae00
2022-05-20 15:01:09 -04:00