Commit graph

15220 commits

Author SHA1 Message Date
James D. Forrester d2fbebc184 Update VE core submodule to master (b17770c7e)
New changes:
9c4d8f893 Place popups instead toolbar.$bar
0a1dd51e8 Only attach scroll listeners is toolbar is floatable
a8e07e026 Convert remaining $.Deferred() to ve.createDeferred()

Bug: T209192
Change-Id: I08328ca5f6aadad7db069dcd81734e1932e616e7
2018-11-13 15:35:44 -08:00
Thalia 70c3bc65d9 ve.ui.MWGalleryDialog: Improve how dialog actions are enabled
Enable the Apply changes/Done action if (i) the current contents
of the dialog inputs would change the gallery node or (ii) if the
user has interacted with inputs that alter the gallery caption or
images (including dragging/dropping or removing an image).

Bug: T206534
Change-Id: Ia6c1cc60d4f32ac66778e6973e2d400491f74128
2018-11-13 19:14:33 +00:00
Bartosz Dziewoński e8cb9ee7f5 Update VE core submodule to master (f391832c5)
New changes:
9be96b536 ve.ui.DesktopContext: Actually hide mobile '.ve-ui-linearContextItem-info'
ee8bceb13 LinearContextItem: Added text wrapping when it is too long
b565dd5c1 Update OOUI to v0.29.5
be24f8d32 TargetWidget: 'change' on document transact, not surface history
ffcd8518a Make table selections immutable (refactor #expand)
55a6f1bc1 Scroll 60px past toolbar on mobile to avoid context menu clash on Android
9bf6d9612 Scroll 30px above bottom of viewport on Android to keep selection handles visible
f391832c5 Localisation updates from https://translatewiki.net.

Bug: T188823
Bug: T202723
Bug: T204718
Change-Id: I7ee8382ef6bd27c0fe2a2b6a43df9c121c5c0a5f
2018-11-13 20:12:39 +01:00
Translation updater bot b92cc326c0 Localisation updates from https://translatewiki.net.
Change-Id: I4ed1c4597919d2ce0dd2d5b6d7ebd62e33620ea7
2018-11-12 22:13:02 +01:00
Translation updater bot 7fd4ef486a Localisation updates from https://translatewiki.net.
Change-Id: Ide93caeaa6840dd1a063ba19a8d2a8fe0f829f48
2018-11-11 22:34:01 +01:00
Translation updater bot 0cd1017c71 Localisation updates from https://translatewiki.net.
Change-Id: I92aef7d5478233355e25857290adf7d880ad1cf1
2018-11-10 22:28:34 +01:00
Translation updater bot e3bad5ba65 Localisation updates from https://translatewiki.net.
Change-Id: I438f73e8695be48457ee606923d0cc4f58bca341
2018-11-08 22:18:18 +01:00
jenkins-bot 4c7d142816 Merge "Separate handling of document HTML and edit metadata" 2018-11-08 20:13:44 +00:00
Ed Sanders b2718b186a Separate handling of document HTML and edit metadata
For now this is just moving code. In the future we will
be able to make the handling of edit metadata async.

Change-Id: I7b442dfbdd890154de0e7faab1f6b0346caa8de0
2018-11-08 18:30:33 +00:00
Bartosz Dziewoński 7bcb1ac50c Update VE core submodule to master (f32c0be7c)
New changes:
61992def0 Remove dedicated annotation operation types
c18308313 Move 'enter' and 'f2' keydown handlers to command/trigger code

Bug: T205535
Change-Id: Ibbf578070c820ae63a8b8ab50e6e4520cabfebe6
2018-11-08 13:45:21 +01:00
Bartosz Dziewoński 2639984bb3 Update VE core submodule to master (0d1902e04)
New changes:
2c90701db Guard against ve.dm.Document not existing in argument check
68641c9c5 eslint: Disable jQuery/browser environment expectation in DM code
946d9c9d0 Abstract construction of Deferred objects and $.when
e20c7f8a3 ce.ResizableNode tests: increase coverage
0d1902e04 Localisation updates from https://translatewiki.net.

Bug: T195111
Bug: T208515
Change-Id: I84c08142e7cfe3254e54c0d691bc6dac9bcc30ce
2018-11-08 12:44:48 +01:00
Translation updater bot 825f67f905 Localisation updates from https://translatewiki.net.
Change-Id: Ifb33d53323e8784975041613899cb20c42293c34
2018-11-07 22:22:37 +01:00
jenkins-bot b588eb2f97 Merge "$.extend -> ve.extendObject" 2018-11-07 18:28:08 +00:00
Ed Sanders 3564006e91 $.extend -> ve.extendObject
Change-Id: I1def4d63c231da153a52a649e7bab584e789b6d1
2018-11-07 16:51:39 +00:00
Ed Sanders ff1a05e245 Bump version number due to recent breaking change
Specifically I715ae805f, which changes the signature of
ve.dm.*Selection objects.

Change-Id: Iffa657179dd8a126e9f16787f3b33743f6e3d489
2018-11-07 16:50:35 +00:00
jenkins-bot 89ba8d0ba8 Merge "Fix margin/padding on save dialog enter prompt" 2018-11-07 16:21:45 +00:00
Ed Sanders 2149de7bb0 Fix margin/padding on save dialog enter prompt
Non integer px values were resulting in scrollbars.

Bug: T208947
Change-Id: Ifeefbcc6068b086a3b351706827b34129b7d0227
2018-11-07 13:50:18 +00:00
jenkins-bot 73deda8f66 Merge "ve.init.mw.DesktopArticleTarget.init: Move Vector styles to separate file" 2018-11-07 13:18:47 +00:00
jenkins-bot 07856d2a16 Merge "ve.init.mw.DesktopArticleTarget: Edit surface padding and gutter for Minerva" 2018-11-07 13:18:42 +00:00
jenkins-bot 4d0de7744d Merge "MWTempWikitextEditorWidget: Don't rely on skin to set width for textareas" 2018-11-07 13:18:39 +00:00
jenkins-bot 45c9ff5e21 Merge "ve.init.mw.DesktopArticleTarget.init: Make multi-tab mode compatible with Minerva" 2018-11-07 12:26:38 +00:00
jenkins-bot 50b7291ab4 Merge "Update VE core submodule to master (a4b936b5e)" 2018-11-07 11:35:48 +00:00
jenkins-bot 6016cad43f Merge "ve.dm.MWImageModel: Drop back-compatibility with old versions of VE selections" 2018-11-07 11:23:27 +00:00
James D. Forrester 374b4cab49 Update VE core submodule to master (a4b936b5e)
New changes:
0c776b138 Reset styles on ce=false elements
a4b936b5e Update OOUI to v0.29.4

Bug: T207426
Change-Id: I77fb98f1416040902bc030368fddb380431c1198
2018-11-06 18:02:11 -08:00
jenkins-bot 56fb0cad12 Merge "Update VE core submodule to master (866f48853)" 2018-11-06 19:53:51 +00:00
Bartosz Dziewoński b0c0553dc2 ve.init.mw.DesktopArticleTarget.init: Move Vector styles to separate file
Change-Id: Iecf25bf71c1e4fca8964d608082e42ef0c929044
2018-11-06 16:47:31 +00:00
Bartosz Dziewoński c87b010da0 ve.init.mw.DesktopArticleTarget: Edit surface padding and gutter for Minerva
Bug: T208102
Change-Id: I0a43550c938144f79f04dc91c2c742229f939177
2018-11-06 16:47:23 +00:00
Bartosz Dziewoński 1ffdee226c MWTempWikitextEditorWidget: Don't rely on skin to set width for textareas
Bug: T208102
Change-Id: Ic14105556996a74e2ba656cd88571fb94cf4e49b
2018-11-06 16:47:08 +00:00
Bartosz Dziewoński 5996cf15e9 ve.init.mw.DesktopArticleTarget.init: Make multi-tab mode compatible with Minerva
* Make inserting secondary tab work with Minerva's non-standard structure
  of navigation menus
* Distinguish primary and secondary tabs with tiny icons, since Minerva
  hides their text
* Hide section edit link dividers (unnecessary when we use icons)

Bug: T208102
Change-Id: Ieaec60165617e3b423ec58857d6f0a0406e22b1d
2018-11-06 17:45:48 +01:00
jenkins-bot 9e53e04073 Merge "ApiVisualEditor: Reuse core code for showing log extract" 2018-11-05 22:52:46 +00:00
jenkins-bot 458b6e87a4 Merge "MWTransclusionNode: Change HTML messages to plain DOM" 2018-11-05 22:45:35 +00:00
jenkins-bot c7f9dbd966 Merge "Update VE core submodule to master (a5db6fb8b)" 2018-11-05 21:56:29 +00:00
jenkins-bot 314bfdfc3e Merge "Missing dependency resulting in a missing icon" 2018-11-05 21:56:26 +00:00
Bartosz Dziewoński 155f0d0337 ApiVisualEditor: Reuse core code for showing log extract
Our behavior is now closer to the core wikitext editor.

This results in two minor changes:
* `<li>` elements are now correctly wrapped in an `<ul>`.
* "View full log" link is now only shown if there are more entries.

Change-Id: I3f30446fca5cab83155ce26ee4e5ab213fc5847a
2018-11-05 22:25:07 +01:00
Translation updater bot 2a9709b43f Localisation updates from https://translatewiki.net.
Change-Id: Iaaf368973dd1f771dd8b69da4eaf2450f4df0e6d
2018-11-05 22:24:50 +01:00
jenkins-bot 678d59fb92 Merge "Revert "Disable VE on Special:Undelete"" 2018-11-05 21:08:46 +00:00
jenkins-bot ef5ad0052a Merge "SaveDialog: Remove scrollable property from nested panels" 2018-11-05 20:46:22 +00:00
James D. Forrester 17377ce65c ve.dm.MWImageModel: Drop back-compatibility with old versions of VE selections
Change-Id: I38b309ca240b8305a0b29e11f822e1ad6e1ed3da
2018-11-05 12:44:57 -08:00
James D. Forrester 8ce083a832 Update VE core submodule to master (866f48853)
New changes:
a190a64ab [BREAKING CHANGE] Do not cache document model data in DM selections
866f48853 Localisation updates from https://translatewiki.net.

Bug: T208228
Change-Id: I2c759ab5e390f3d29070509738191df8995ccf0a
2018-11-05 12:38:32 -08:00
James D. Forrester 7eef48c3ac Update VE core submodule to master (a5db6fb8b)
New changes:
a5db6fb8b ve.ui.LinearContextItem: Prevent action buttons from wrapping

Bug: T208596
Change-Id: I1e9e66aee377dc6c509d4aa944920571d166888b
2018-11-05 11:49:52 -08:00
jenkins-bot 6ce7ac63d7 Merge "Fix padding around .ve-ui-mwParameterResultWidget-name(s)" 2018-11-05 18:27:43 +00:00
jenkins-bot 3f97176f7c Merge "Use upstream AbandonEditDialog" 2018-11-05 18:19:23 +00:00
Bartosz Dziewoński 259aadaf12 Revert "Disable VE on Special:Undelete"
No longer needed. The underlying problem was fixed in
1aae17c7a5.

Bug: T173154
Bug: T174748
Change-Id: If10301ee78ba031238a11a9f9b2130a2b47a567c
2018-11-05 18:41:05 +01:00
Ed Sanders 66972356cf MWTransclusionNode: Change HTML messages to plain DOM
Bug: T208732
Change-Id: I61a958292984586dc90262989ebb6c181f28a605
2018-11-05 16:28:11 +00:00
Ed Sanders 381bc46130 Fix padding around .ve-ui-mwParameterResultWidget-name(s)
Bug: T208720
Change-Id: Iff8bbb702fdceab86d423a9f74aaebac8b41ebc3
2018-11-05 11:50:12 +00:00
Translation updater bot 976ea12d0f Localisation updates from https://translatewiki.net.
Change-Id: I8418f31970bb5e3af5652cde9d5f9e48bc3de941
2018-11-04 22:42:55 +01:00
Seb35 951fa31a7c Missing dependency resulting in a missing icon
Bug: T208686
Change-Id: I0780a66bc70fe25154322c256958cea0c67613c2
2018-11-04 18:47:07 +01:00
jenkins-bot 6b022f9aee Merge "Update VE core submodule to master (caf188be0)" 2018-11-03 21:34:10 +00:00
jenkins-bot 8becced1c2 Merge "DesktopArticleTarget.init: Don't load on special pages with action=submit in the URL" 2018-11-03 13:30:15 +00:00
Translation updater bot 0c1084fb75 Localisation updates from https://translatewiki.net.
Change-Id: I7a4483cab6fb797d6d0140421cbefdc37728f27c
2018-11-03 11:03:41 +01:00