Commit graph

10693 commits

Author SHA1 Message Date
Bartosz Dziewoński c5434b2db8 ve.ui.MWMediaDialog: Only disable 'upload' and 'save' actions on setup, not on tab switch
When the tab is switched, we already set a mode that doesn't allow
using these actions.

Bug: T116299
Change-Id: Ib3ba50f578face3d49bcd14e41afe01a3b3d15af
2015-10-22 20:12:03 +02:00
Bartosz Dziewoński bc9487cc8e ve.ui.MWMediaDialog: Move upload booklet init further up
The first time this is called, it will try to switch panels, so it has
to be done before we switch to the right panel.

Bug: T116217
Bug: T116219
Change-Id: I22411024995e22ae65bde1e6418748aedf026b1b
2015-10-22 19:44:39 +02:00
jenkins-bot bc15c3e189 Merge "Move sequence registrations adjacent to commands" 2015-10-22 16:12:38 +00:00
jenkins-bot ca982073aa Merge "Introduce Ace editor widget" 2015-10-22 15:47:07 +00:00
jenkins-bot 5a9999ed12 Merge "References: Don't load ext.visualEditor.mwreference if Cite is not installed" 2015-10-22 15:32:56 +00:00
jenkins-bot e553ebeff3 Merge "'<ref' sequence: Trigger basic dialog if Citoid not installed" 2015-10-22 15:32:33 +00:00
Ed Sanders 57d33a291e Move sequence registrations adjacent to commands
If a command is not registered because a file/module is not
loaded, the sequence should not be loaded either.

Change-Id: I45d86ad371c7b717601b6593eaa573292ebdd4ed
2015-10-22 15:15:41 +01:00
Ed Sanders 28f3a02e56 References: Don't load ext.visualEditor.mwreference if Cite is not installed
Ultimately we should move all the code for this module to the cite
extension.

Bug: T41621
Change-Id: Ia2fcc9513ae806aaa173770337f176d5dbf59709
2015-10-22 11:36:17 +01:00
Ed Sanders 524c2c9ee0 '<ref' sequence: Trigger basic dialog if Citoid not installed
Change-Id: Ibb7589e760e5583e12581cd4fc07dc88101420ea
2015-10-22 11:21:20 +01:00
James D. Forrester 0cf3b77638 Update VE core submodule to master (e1c0146)
New changes:
ce68687 build: Use my gmail address for attribution
383ba35 Update my .mailmap and AUTHORS.txt entries
9c0b520 .mailmap: Update for recent commits
1abcf64 AUTHORS.txt: Update for Autumn 2015
74fb1d6 Fix typo in WhitespacePreservingTextInputWidget class
7528d7c ce.Surface afterKeyDown shouldn't assume .contenteditable is boolean
ee4c3a2 ve.ce.Surface: Defer checkSequences call for insertText as well

Change-Id: Ice507aa8d260177ccd8b5e1b44e6474a8eda36e7
2015-10-21 15:56:01 -07:00
Ed Sanders 60c1ee7d56 Introduce Ace editor widget
The widget attempts to load the ext.codeEditor.ace.modes module
and if it fails, will fall back to regular TextWidget behaviour.

Bug: T49742
Change-Id: Ie483f6eba25e3732a396c18decc0e1844b806b23
2015-10-21 20:59:08 +01:00
jenkins-bot f2b491daea Merge ".mailmap: Update e-mail addresses for David Chan and Thalia" 2015-10-21 16:09:09 +00:00
Translation updater bot 15748bde2d Localisation updates from https://translatewiki.net.
Change-Id: I4cef8d64023e3af574eb9d746098858b4cb39d46
2015-10-20 22:52:49 +02:00
James D. Forrester 5e55d4d4c6 .mailmap: Update e-mail addresses for David Chan and Thalia
Change-Id: I5c0544aae3d19e57b464e1c42598257f7c82a230
2015-10-20 09:07:12 -07:00
Timo Tijhof 2c3a2f7dc2 build: Use my gmail address for attribution
Per the .mailmap file, my gmail address it the canonical address
for this purpose.

Change-Id: I85de941ef5f8cf9a80cc35647500c5baaa594ac3
2015-10-20 02:37:51 +01:00
James D. Forrester 297d7d2cfc Update VE core submodule to master (e25b3fe)
New changes:
84bac04 Remove the "Open" button from link inspectors
5e133fa Update OOjs UI to v0.12.12
d8ddf01 DM Surface: Cleanup emission of 'history' event
c65b032 De-Houdini-fy the handling of observed DOM changes
cd934fa Run renderContents before finding nodes by offset
4393fcd Localisation updates from https://translatewiki.net.
f2b5760 getNodeAndOffset: handle slugless nodes with zero DM length
97ba0da Localisation updates from https://translatewiki.net.
f2d80b4 Localisation updates from https://translatewiki.net.
e25b3fe Follow-up 97ba0da: Fix build for added language 'sgs'

Change-Id: I3eca1e9b9c753bbe4c896d2271c84b89707eb813
2015-10-19 14:52:24 -07:00
Translation updater bot ab7394f674 Localisation updates from https://translatewiki.net.
Change-Id: I6ad4b1bbd99e737e50e43ffa50bd5efead3142b0
2015-10-19 22:22:09 +02:00
Translation updater bot 0df380a3d5 Localisation updates from https://translatewiki.net.
Change-Id: I9480dfe3fb12c4dbbbb5d660d54911067415d1d6
2015-10-18 21:58:41 +02:00
James D. Forrester 5732bd26fb ApiVisualEditor: Switch RESTbase config from 'scrubWikitext' to 'scrub_wikitext'
Change-Id: I08ca5eab1423232b96faf39f12b25b679a0d77bd
2015-10-17 00:07:34 +00:00
Translation updater bot 07b66e4703 Localisation updates from https://translatewiki.net.
Change-Id: Ia7021c4366ffa854444796ac70bd2a299ee72f13
2015-10-16 22:07:09 +02:00
Ed Sanders 760d9c130c EducationPopup: Tidy up DOM and CSS
Change-Id: I4effa34a4d3ddfca0f6ee61fe169a726dc0ec3f6
2015-10-15 22:35:30 +01:00
Translation updater bot 692a2a37e1 Localisation updates from https://translatewiki.net.
Change-Id: I9050b383581d6950a4de2ad58f2600918f7c37d5
2015-10-15 21:33:25 +02:00
Ed Sanders 5bde3be8a6 Browser tests: Fix selectors for strikethrough and underline
Change-Id: I94010005369b225494f5e603d71d1f57941d7db0
2015-10-15 15:49:01 +01:00
Translation updater bot e64d143678 Localisation updates from https://translatewiki.net.
Change-Id: I4a8d12cd63d7ecc11106cdcdbee74060183796e8
2015-10-15 09:53:04 +02:00
jenkins-bot a9d9ab1ae8 Merge "Followup 9d6fbc894e: fix JS error in education popup" 2015-10-15 00:38:48 +00:00
jenkins-bot eb8695f7ee Merge "Browser tests: Fix table test" 2015-10-15 00:32:53 +00:00
jenkins-bot 09428d13a1 Merge "Browser tests: Fix media insert test" 2015-10-15 00:30:43 +00:00
jenkins-bot 44c3f31e77 Merge "Browser tests: Update link inspector tests" 2015-10-15 00:30:41 +00:00
jenkins-bot d839c37c31 Merge "Revert "[Browser tests] Wait for save button to be enabled"" 2015-10-15 00:24:07 +00:00
Roan Kattouw 17a5cf6a93 Followup 9d6fbc894e: fix JS error in education popup
If a tool had an education popup bound to it, but it was
suppressed because the user has already seen it (according to
the cookie or localStorage), then clicking that tool would
cause a JS error.

Also remove a workaround for a ClippableElement problem
that appears to be unnecessary.

Change-Id: I73a3f5f9cc1726e28e70fc545b72960afc5ac41c
2015-10-14 16:32:14 -07:00
jenkins-bot 81a89952ef Merge "Educational popups and highlights for links+citations" 2015-10-14 21:52:50 +00:00
Ed Sanders 780d42b295 Browser tests: Fix table test
Change-Id: Ib2751cd58dd134f61f94e0a0e8c9c3540a7f26ea
2015-10-14 22:27:42 +01:00
Ed Sanders 4cbcfe8b66 Browser tests: Fix media insert test
Change-Id: I55c9247d235fa7ed4e020c62338d42a88d6c2358
2015-10-14 22:27:42 +01:00
Ed Sanders 2948d0b324 Browser tests: Update link inspector tests
Change-Id: I5e902b4ab3215450a4374fb7327159d3edfc5ef2
2015-10-14 21:29:14 +01:00
Esanders 60e3b55393 Revert "[Browser tests] Wait for save button to be enabled"
This reverts commit 122be9c95a.

Change-Id: Ia79636d5fdcf3f1a224c93688c164bf1030c3bee
2015-10-14 21:27:21 +01:00
Translation updater bot b6546f0bc3 Localisation updates from https://translatewiki.net.
Change-Id: I9b9643f7774b9adb6b1ebf4f46903f4a416bf700
2015-10-14 21:57:12 +02:00
jenkins-bot 41b168b0ec Merge "[Browser tests] Wait for save button to be enabled" 2015-10-14 19:08:23 +00:00
jenkins-bot d9788db376 Merge "Browser tests: Add API URLs to environments.yml" 2015-10-14 17:28:17 +00:00
Ed Sanders 36652a721a Browser tests: Add API URLs to environments.yml
Change-Id: I524eb984cf04baeacfc131f482b2a773636dc87f
2015-10-14 17:42:49 +01:00
Ed Sanders 4943127cde Link inspector: Show redlink in suggestions
This feature was accidentally dropped when the widget was moved to core.

Change-Id: I302b4b001f1db64b023dae73e36c85e491617e92
2015-10-14 17:24:53 +01:00
Ed Sanders 122be9c95a [Browser tests] Wait for save button to be enabled
In some tests the save button won't be available for a few ms
until the latest transaction has been pushed to the undo stack.

Change-Id: If03f03b033a21a039a322ca32983d0302e44efbb
2015-10-14 15:28:14 +00:00
Prateek Saxena d1bf196f68 Media upload: Initialize booklet before setting file on drag drop
Calling initialize will clear all fields including the
OO.ui.SelectFileWidget that was just set.

Follows up I521909d27c390faad7d62f717f2b97b7676e5a63.

Bug: T40031
Change-Id: Ibc7ddafae9cb7718372520245a356938f4731479
2015-10-14 12:49:31 +00:00
Ed Sanders e1f9adebfe Rename ImageTransferHandler to MediaTransferHandler
Change-Id: If68e2e4a9dbff4707fb9cbbadcd69a7ff8375a4b
2015-10-14 12:41:25 +00:00
Ed Sanders a6c4c3b3e1 Follow-up Id473b45: Call getResults on input widget
Bug: T115448
Change-Id: I8bfbb3092aa49750930c6437b0526a8b900722f1
2015-10-14 11:34:36 +00:00
jenkins-bot cbddb00638 Merge "Stop using raw HTML for 'visualeditor-dialog-transclusion-no-template-description'" 2015-10-14 02:39:50 +00:00
Translation updater bot 9aaf5c933e Localisation updates from https://translatewiki.net.
Change-Id: I2d386399a32f2c20034fce0e96921f578b01a813
2015-10-13 22:14:15 +02:00
Ed Sanders 7f2d9d0042 Media upload: Use new setFile method
Depends on I30ec98be0 in MW core.

Change-Id: Ied82ac8fd25a1c4b9818029429231ce2f39916d4
2015-10-13 18:25:09 +00:00
Ed Sanders 557340426f Media upload: Initiate upload process on image drop
Bug: T40031
Change-Id: I521909d27c390faad7d62f717f2b97b7676e5a63
2015-10-13 11:24:34 -07:00
jenkins-bot 3efea1d05e Merge "MWLinkAnnotationInspector: Close inspector when a search result is clicked" 2015-10-13 16:07:33 +00:00
James D. Forrester 8cb35b3578 Update VE core submodule to master (52eb218)
New changes:
a3bcde1 Store text inputs to find and replace between sessions
bf2c2c1 build: Update grunt-banana-checker from v0.3.0 to v0.4.0
40a553f Add comments to show used CSS classes
9cb46c6 LinkAnnotation: Move nail CSS into stylesheet
407efc2 Don't replace spaces with spaces
5b03512 Localisation updates from https://translatewiki.net.
9872891 Add documentation for Event mixin to ve.dm.Node
134c613 Localisation updates from https://translatewiki.net.
fe19909 Localisation updates from https://translatewiki.net.
1a931c3 Don't scroll cursor into view when in paste target
b00a252 Localisation updates from https://translatewiki.net.

Change-Id: If2c17feb0f1c7c946ca6ff888fdcb04e0d9f7241
2015-10-13 07:27:28 -07:00