Commit graph

12524 commits

Author SHA1 Message Date
jenkins-bot 75edb42236 Merge "Update VE core submodule to master (aa8ef3e)" 2016-12-03 17:50:18 +00:00
Ed Sanders f01d617c53 Bypass API call when wikitext is empty string
Change-Id: Ie0cedfaae286f73e73bcde7bfca3cb2ae6197924
2016-12-03 17:44:04 +00:00
Ed Sanders 1edc42e0ae Update VE core submodule to master (aa8ef3e)
New changes:
4321ccd SourceSurfaceFragment: Add #convertNodes
aa8ef3e Follow-up Iaa41c49e2f: Fix `this` context in window action

Change-Id: I82777e4dcd27de744bb3cb934f1c639167127303
2016-12-03 17:31:04 +00:00
Ed Sanders c97e0b58d4 NWE: Disable progress bar when pre-parsing for WindowAction's
The progress bar dialogs interfere with the life cycle
of the window you are trying to open. Just disable these
progress bars for now to avoid catastrophic behaviour.

Change-Id: I77c8ae67a2d502bbd189836deb320cd55c3cb11a
2016-12-03 17:20:24 +00:00
Thalia 2fd30fb7c5 Decrease height of gallery search results for better fit
Bug: T151509
Change-Id: I92c812952457df99251fc0b8f1a17d4e55fe52f7
2016-12-03 16:31:23 +00:00
Thalia 1b4d70324b Disable heights option in gallery dialog when mode is slideshow
Also disable relevant fields the first time the dialog is
opened, not just when the dropdown is changed.

Bug: T151482
Bug: T151512
Change-Id: Ic511e1832a9fcaaeaed71c1d495aecc65fdd1d3b
2016-12-03 16:00:32 +00:00
Thalia 0b9228a926 Scroll highlighted item into view in gallery dialog
Bug: T152053
Change-Id: I6b77f6c27d5629dc18e421f984cf31badfb2ff04
2016-12-03 15:46:58 +00:00
jenkins-bot e1e55aa730 Merge "Correct class/classes typo in gallery dialog" 2016-12-03 15:20:53 +00:00
Thalia 295dd380de Correct class/classes typo in gallery dialog
Bug: T152226
Change-Id: I569df87cf82359c13ad61a3ddffacd83f5f03bae
2016-12-03 13:03:02 +00:00
Ed Sanders 9ceb13ce60 Update VE core submodule to master (5be61ce)
New changes:
860954b [BREAKING CHANGE] Parse selection before applying source tools

Local changes:
Implement convertFromSource/convertToSource in WikitextSurfaceFragment

Depends-On: Iaa41c49e2f8e28af28a8a64cb6915f705fa35e8c
Change-Id: I746619d442fb565cd582cb09de3126526c73c333
2016-12-03 03:43:59 +00:00
jenkins-bot 5b6d5dd1dd Merge "Update VE core submodule to master (af7fb69)" 2016-12-02 23:04:58 +00:00
James D. Forrester f494067dea Follow-up ae8a2750: Stop passing long-dead second parameter
Change-Id: Ifc43d9009c2057b5a189d3cc161b62dc4ca83a2c
2016-12-02 14:31:26 -08:00
James D. Forrester 640c745bca Update VE core submodule to master (af7fb69)
New changes:
a27ccb4 Follow-up I3b0483a7d: Fix append loop in PreviewElement
75d6de7 PreviewElement: Use adoptNode when moving rendering to view

Bug: T151511
Change-Id: I6bf6df1873b8033914bc2235784012b66459e341
2016-12-02 22:05:49 +00:00
L10n-bot 95af1ba8c1 Merge "Localisation updates from https://translatewiki.net." 2016-12-02 21:24:28 +00:00
Translation updater bot a131668e46 Localisation updates from https://translatewiki.net.
Change-Id: Ie5e6281811ea14485f919a9efcea2f24b009838b
2016-12-02 22:21:13 +01:00
Ed Sanders 9b5adb8688 Remove WikitextWindowAction, inherits from core
Depends-On: I2b14cc93bf3c855e157f0b26567337f74992fb96
Change-Id: I3e479c1441f548f62ff8a2f6e7b2ad450262921f
2016-12-02 11:50:43 -08:00
James D. Forrester 976d2e935a Update VE core submodule to master (c9619a0)
New changes:
06ffd06 Rebase logic
56d8e13 Use DOMPurify to sanitize incoming HTML
abc3465 DOMPurify: Use pre-release & add fix, and fix IE9 return type issue
14700eb Bring in source mode WindowAction hacks from MW

Change-Id: Iaef73bab7c1010ec29826ff2025c767c9758e8e3
2016-12-02 11:49:12 -08:00
jenkins-bot 3064890a91 Merge "Clear preview when document is modified" 2016-12-02 02:45:29 +00:00
jenkins-bot 36d976c4c0 Merge "Save Dialog: add shortcut for opening to the review panel" 2016-12-02 00:36:40 +00:00
David Lynch 2bd34cebd4 Save Dialog: add shortcut for opening to the review panel
Create a new MWSaveDialogAction, which can be hooked up to triggers. Switch
the existing save dialog accesskey to just use the trigger system.
(Maintaining all the accesskey logic, so we don't change the shortcut on
people.)

Bug: T149914
Change-Id: I9b4ef8504148703556f802b266a517dd5098c06b
2016-12-01 18:16:18 -06:00
Ed Sanders 915bbec307 Clear preview when document is modified
Use same logic for 'Show preview' as for 'Show changes'

Change-Id: I69510b426548fca46dc9b0d113b77ad206502b21
2016-12-01 23:59:07 +00:00
jenkins-bot 4e05b86cf3 Merge "Use widget.getApi, not this.getApi" 2016-12-01 23:43:16 +00:00
jenkins-bot e3c0a05b84 Merge "Prevent endless error loop if falling back to wikitext (after a load failure) fails." 2016-12-01 23:17:42 +00:00
Alex Monk 5bd95db994 Use widget.getApi, not this.getApi
Bug: T152154
Change-Id: Id7e77323ffabf4eeee3e73481cf6bcb9a1e649dc
2016-12-01 22:48:45 +00:00
jenkins-bot d254436f57 Merge "Use canonical ve.dm.TransactionBuilder.static.newFrom* methods" 2016-12-01 19:44:05 +00:00
jenkins-bot 2b453295ec Merge "ve.ui.MWWikitextTransferRegistry: Just look for '[[' when detecting links" 2016-12-01 19:35:45 +00:00
Ed Sanders 8bca6cc777 Inherit more functionality from core source mode
Change-Id: Id027681ab5f0c9f4b9ed127b583e45f0fe57ce69
Depends-On: I02f3849027a6652701c2d354d1b77ece9d1a56c1
2016-12-01 18:44:54 +00:00
James D. Forrester a835f4f9d5 Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
Change-Id: I082048a677baa2699d94e21548373952d52db61b
2016-12-01 10:43:10 -08:00
Ed Sanders 218742d806 Update VE core submodule to master (ae30d71)
New changes:
f58ddea DiffElement: Use document slices with full internal lists
83800c0 DebugBar: Remove hard-coded i18n
b4f89e1 Update OOjs UI to v0.18.1
40c7bf6 Factor out active node functionality from SectionNode for captions
2d967be Move 'mode' property to surface, rename target property to 'defaultMode'
5d8c214 wrapAllNodes in sourcefragment
dd3d9e5 Refactor ve.dm.Transaction
9d61aca Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
df4f72a Make table caption node an active node
b79f72d Core source mode
7533ac4 Localisation updates from https://translatewiki.net.
ae30d71 SourceSurfaceFragment: Check range is not collapsed

Local changes:
Get edit mode from surface where possible

Depends-On: Iec758c1892d518ad4bc2c0d1aaf6ca00fa354323
Change-Id: Ifaf6a26078b2731b374aaad2cb40c08928de9c84
2016-12-01 10:40:01 -08:00
jenkins-bot 551b6db912 Merge "Fix "Add new image" button in the gallery dialog" 2016-12-01 00:25:49 +00:00
jenkins-bot be4c0df032 Merge "i18n: Kill last two uses of 'parameter' in lieu of 'field'" 2016-12-01 00:19:30 +00:00
Thalia 4b9d1bed4f Fix "Add new image" button in the gallery dialog
Make sure the button is always visible in the
gallery dialog menu by fixing it to the bottom.

Bug: T151506
Change-Id: I560b0dffbaad9e18c6f7f703cb155356470580ee
2016-11-30 22:38:11 +00:00
jenkins-bot b6a468d0ff Merge "Clearer English for visualeditor-preference-newwikitexteditor-description" 2016-11-30 22:30:13 +00:00
Amire80 d561894db6 Clearer English for visualeditor-preference-newwikitexteditor-description
Change-Id: I698822637a212e4462c563cdf43e9b192459671b
2016-11-30 23:59:08 +02:00
Translation updater bot 2edf528f0f Localisation updates from https://translatewiki.net.
Change-Id: Ia83483409e59132a73cfce630a9f3ad6c00fb2a4
2016-11-30 22:22:29 +01:00
Ed Sanders 37910b78ec MWTemplateTitleInputWidget: Use new #getApi method from upstream
Depends-On: I81811cdd1a0750a8335432eee8f971ab9e0b8ee7
Change-Id: Ic73213df5ede6f82de85df8b69c60dd31f033792
2016-11-30 19:51:45 +00:00
Bartosz Dziewoński 491ecfe1d6 ve.ui.MWWikitextTransferRegistry: Just look for '[[' when detecting links
Bug: T151646
Change-Id: I693b190f762d93ffae0aa939ffc9550e567e8e24
2016-11-30 19:07:50 +01:00
Translation updater bot fd3e5f8398 Localisation updates from https://translatewiki.net.
Change-Id: Ib42d0dd37389381817efaefda3780bef0867db16
2016-11-29 22:25:32 +01:00
jenkins-bot 745e919f97 Merge "Update VE core submodule to master (9625e8f)" 2016-11-29 20:46:54 +00:00
James D. Forrester 32c966db97 i18n: Kill last two uses of 'parameter' in lieu of 'field'
Change-Id: I94fa70b17a210391b0444aca22c577b2e5e549e3
2016-11-29 12:08:35 -08:00
jenkins-bot 33db54ef28 Merge "Use upstream media search widget from core" 2016-11-29 20:04:46 +00:00
jenkins-bot 433e6515f1 Merge "Update VE core submodule to master (0879bb2)" 2016-11-29 19:51:27 +00:00
Ed Sanders aeafa6afca Update VE core submodule to master (9625e8f)
New changes:
f1297b8 [BREAKING CHANGE] Allow target widgets to be re-used

Local changes:
Re-use target widgets

Change-Id: I5decb918f398704d4b6c108a16fbc1cc073ef077
2016-11-29 11:48:15 -08:00
jenkins-bot 28a4b9f362 Merge "Handle missing pipes in Gallery syntax, and remove them when caption is empty" 2016-11-29 19:27:52 +00:00
Ed Sanders 44fee9b61d Wait until search panel is shown before setting a search query
Bug: T151659
Change-Id: I3eb3b903a8df1c7732da2a08e4b46b13b162617e
2016-11-29 11:13:54 -08:00
James D. Forrester fb616288a2 Update VE core submodule to master (0879bb2)
New changes:
00efc39 VisualDiffs: Improved styling for moves
009de03 VisualDiffs: Use semantic del/ins tags
4a90e12 Localisation updates from https://translatewiki.net.
c671cf8 Add diffing to mobile SA demo
c4ff29b Replace deprecated $.andSelf with $.addBack
b122328 Fix labels on diff dialog
41a700c ve.dm.Change class with rebase operations
2c336da Localisation updates from https://translatewiki.net.
4c7cb68 Hijack EventSequencer timeouts in unit testing
dea2883 Focusable cursor tests: place cursor in cursorHolders

Change-Id: Id6640e02999c079bcf3709f2d048394ec6719904
2016-11-29 11:06:03 -08:00
Ed Sanders 2ee9e62a4d Use upstream media search widget from core
Bug: T140166
Depends-On: If53ef7f4b62c7a5d4da565c14dd2a353778694e5
Change-Id: I28845e9c143e78d3a377f067606c62da212e3bf1
2016-11-29 17:19:14 +00:00
James D. Forrester ba232c9f75 2017 Wikitext Editor: Tweak Beta Feature i18n to be less expansive
Change-Id: Id9afdf27707f246a6c2f0fd69b92d239df88924b
2016-11-28 16:55:14 -08:00
Translation updater bot 986abb0d0f Localisation updates from https://translatewiki.net.
Change-Id: I54d71688837784c502dcb6d1615312986694a093
2016-11-28 22:33:50 +01:00
Ed Sanders 240ec23113 Handle missing pipes in Gallery syntax, and remove them when caption is empty
Bug: T146190
Change-Id: I703bcdf68b9631a47d839baf3abb42ff98b36bf2
2016-11-28 17:36:29 +00:00