Commit graph

14366 commits

Author SHA1 Message Date
Ed Sanders 1bd430c9d1 Convert most uses of isForClipboard to doesModeNeedRendering
Depends-On: I0f1b90056e9d1a4fa0e188700604709297593924
Change-Id: I6fa1cde51ffc859b57ab557e3ddf8a76d92bf94f
2018-04-30 16:10:27 +00:00
James D. Forrester f4fdcf6be0 Update VE core submodule to master (099902ddb)
New changes:
d30ef0e92 [BREAKING CHANGE] Replace isForClipboard with tri-state clipboard mode
397279cf3 Use comment HTML helper in all tests
4613d34c0 Use CE rendering when showing comments in preview mode (e.g. visual diff)
b1ded0d27 Copy attribute values when building transactions
6d0be15f5 Localisation updates from https://translatewiki.net.
41b612148 Fully disable the surface before teardown
8cc1237f6 ve.ce.Surface: Control-drag should keep the dragged text in original location
099902ddb Use clipboard API if paste context wasn't all cleaned up

Bug: T170134
Bug: T192605
Bug: T193062
Bug: T193103
Bug: T193110
Change-Id: I3cf0a6e221766b6a52f3f3cb93279639abbeda7d
2018-04-30 09:08:18 -07:00
jenkins-bot ffac6b14dd Merge "Check link 'host' in onEditSectionLinkClick" 2018-04-30 15:17:45 +00:00
jenkins-bot f4f78d3384 Merge "Follow-up Iea7ad832: Fix context in MWPopupTool" 2018-04-30 15:06:06 +00:00
Ed Sanders f8cebb8f51 Follow-up Ib7e769e: Fix typos in static method calls
Also move desktop-only methods to DesktopArticleTarget.

Bug: T193217
Change-Id: Icc2bb6602a62057da9f841793d8fe06d9814230e
2018-04-30 11:05:43 +01:00
Ed Sanders ad170023e6 Check link 'host' in onEditSectionLinkClick
Bug: T193323
Change-Id: Id67798e5689af9d528bf29bb1b42047adaedaabd
2018-04-30 10:57:45 +01:00
Ed Sanders 8fdc1f7085 Follow-up Iea7ad832: Fix context in MWPopupTool
Bug: T193043
Change-Id: I2b035a50543093988a291ea8c8958a3a7cc9e7ba
2018-04-29 21:45:10 +01:00
Translation updater bot 4c3cdc5bf7 Localisation updates from https://translatewiki.net.
Change-Id: Idec898cf95b97417a67c26eb20542c07f0db1af7
2018-04-29 22:31:23 +02:00
jenkins-bot c2bc4ee44e Merge "Set surface's $overlayContainer in DesktopArticleTarget" 2018-04-29 13:13:20 +00:00
jenkins-bot 8149cc5b43 Merge "Update VE core submodule to master (e673ad6de)" 2018-04-29 13:13:17 +00:00
Translation updater bot c06466f1ae Localisation updates from https://translatewiki.net.
Change-Id: Ife02ea0e41d6c7f68c1ac1334a6769cdc36e1c0e
2018-04-28 22:33:02 +02:00
Ed Sanders cddf206f5b Set surface's $overlayContainer in DesktopArticleTarget
Logically depends on Ia96b1a89dd9582303b80be85b3971cf3341cad24.

Bug: T166217
Change-Id: Icc54f87bac46d39e8c49010ed052e1db66827f06
2018-04-27 21:55:12 +00:00
James D. Forrester 3fb49c5957 Update VE core submodule to master (e673ad6de)
New changes:
cb74329aa [BREAKING CHANGE] Remove ve.Range#clone and ve.dm.Selection#clone
8fe148fa2 Allow surfaces to change context popup's container
a7f4e9759 ce.Surface: Don't attempt to activate a disabled surface
b39f1535f Pass toolbarConfig.$overlay property to 'actions' toolbar as well

Bug: T122910
Bug: T166217
Bug: T192671
Change-Id: Ife4a23be3bf46284edd1b62e7abb7c5ad925870d
2018-04-27 14:46:49 -07:00
jenkins-bot ead7168a42 Merge "Get rid of mwdiffing module" 2018-04-27 21:39:13 +00:00
L10n-bot 74e338ee61 Merge "Localisation updates from https://translatewiki.net." 2018-04-27 20:28:03 +00:00
Translation updater bot abc757c8a1 Localisation updates from https://translatewiki.net.
Change-Id: I78d5ac19facfa8301c82b79510272103a8f60f30
2018-04-27 22:26:25 +02:00
Ed Sanders 4346e339f6 Get rid of mwdiffing module
No longer needed now visual diffs are out of beta.

Change-Id: I75cc7a6f3ecd3c5a547685aa4db586abfa482f2d
2018-04-27 21:09:07 +01:00
Ed Sanders 95258a9969 Visual diff: Describe redirect changes
Change-Id: Id31e8399556dab9b47bc1d21c62cb82af3a0e7bb
2018-04-27 21:07:41 +01:00
Translation updater bot 39360917c6 Localisation updates from https://translatewiki.net.
Change-Id: I7b2845d6972c79e3c570083ea5dae3556f77c7a8
2018-04-26 22:17:00 +02:00
James D. Forrester e1ebdfe66d Update VE core submodule to master (174890b5e)
New changes:
1d2569556 [DEPRECATING CHANGE] Deprecate ve.Range#clone and ve.dm.Selection#clone

Bug: T192671
Change-Id: Ic70e6d63728ed0b6b957d93308c81164a06c7d8c
2018-04-26 08:56:48 -07:00
jenkins-bot 6a14e6384a Merge "Update custom styles for format menu after OOUI changes" 2018-04-26 15:41:45 +00:00
jenkins-bot 641b98c600 Merge "Update VE core submodule to master (87bc18f58)" 2018-04-26 15:35:54 +00:00
jenkins-bot ecbe9a2ee3 Merge "build: Follow-up 99d3320573: Drop babel-polyfill, never used" 2018-04-26 15:35:53 +00:00
jenkins-bot c11e6c57b0 Merge "build: Bump some devDependencies to latest" 2018-04-26 15:35:52 +00:00
James D. Forrester d904697208 Update VE core submodule to master (87bc18f58)
New changes:
38c403bba NodeInspector: Fix behaviour of getMode
ccf1ed957 Use current selection for selectionBefore in empty staging stack
5077edb1e build: Switch QUnit package from deprecated 'qunitjs' to 'qunit'
b39388db7 Update OOUI to v0.26.5
614ec16f2 Linear/TableKeyDownHandlers: account for table captions
5f101208e Update custom styles for format menu after OOUI changes
28c1296d0 Localisation updates from https://translatewiki.net.

Bug: T191878
Bug: T192163
Bug: T193098
Change-Id: I370494253290345961e1454b32385624cc4f36db
2018-04-26 08:23:22 -07:00
Bartosz Dziewoński e1635fdc52 Update custom styles for format menu after OOUI changes
Bug: T193098
Change-Id: I00d28f16b03a31ecda1dc57050945e98e8eb37e8
2018-04-26 01:48:28 +02:00
Translation updater bot 77dfb16d96 Localisation updates from https://translatewiki.net.
Change-Id: I570df3a8eba0da0e7c8dc4036e5bda11d77e5683
2018-04-25 22:39:00 +02:00
James D. Forrester c07d4815e3 build: Follow-up 99d3320573: Drop babel-polyfill, never used
Change-Id: I3eccd0c345b2c528bbb9458d404a3e0c91ae88f5
2018-04-25 12:59:50 -07:00
James D. Forrester 3e8f2edc83 build: Bump some devDependencies to latest
grunt                        1.0.1  →          1.0.2
 grunt-contrib-watch          1.0.0  →          1.0.1
 grunt-image                  4.1.0  →          4.2.0
 grunt-stylelint              0.9.0  →         0.10.0
 stylelint                    8.2.0  →          9.2.0
 stylelint-config-wikimedia   0.4.2  →          0.4.3

Leaving babel-polyfill, grunt-mocha-test, jimp, mocha and selenium-webdriver
alone for now.

Change-Id: Ibea983670108a56ddbf748e140831147e31da329
2018-04-25 12:35:07 -07:00
Translation updater bot 056050c1be Localisation updates from https://translatewiki.net.
Change-Id: If2f8091487ff1f7e91f7ee2cebf3c0eac5bb8003
2018-04-24 22:22:58 +02:00
jenkins-bot fd082e577b Merge "ve.init.mw.DesktopArticleTarget: Setup toolbar before section title input" 2018-04-24 16:24:42 +00:00
Bartosz Dziewoński e3378e6d77 ve.init.mw.DesktopArticleTarget: Setup toolbar before section title input
When we set up the new section title input and possibly set its value
(preloading from URL query, or from autosave), the "Save" button on
the toolbar must already exist, because we try to enable it.

Bug: T192901
Change-Id: I3bba86a8c8a9b81014d425db256ff49f06bdaea6
2018-04-24 18:11:42 +02:00
David Lynch 44469f0f06 MWWikitextSurface onCopy: set text/x-wiki content if available
Equivalent to some existing copy-code in inspectors which handle raw wikitext.
Lets us shortcut content-sniffing with html/text content onPaste.

Change-Id: I27ded82a9675abdb3ee98ee29390e7079d11cf05
2018-04-23 16:04:49 -05:00
jenkins-bot c0364bc6a6 Merge "Teardown target before reloading article" 2018-04-23 21:00:43 +00:00
jenkins-bot ec8be1bfa1 Merge "Add a plain text paste transfer handler for source mode" 2018-04-23 21:00:41 +00:00
Translation updater bot 7fbf80ba13 Localisation updates from https://translatewiki.net.
Change-Id: If95b9c3f063dcd414670895a024ebe4e498295f8
2018-04-23 22:31:24 +02:00
Ed Sanders 1f4baa7b58 Teardown target before reloading article
Ensures that auto-save data is cleared after
creating a new article, or restoring a revision.

Bug: T192770
Change-Id: I348b8522c1a935d7db1243ba8fcbd5b24e3383a2
2018-04-23 21:30:37 +01:00
jenkins-bot 348e9163db Merge "Update VE core submodule to master (04137a1ed)" 2018-04-23 19:59:13 +00:00
jenkins-bot 248e138679 Merge "Rebaser: Use site language on special page" 2018-04-23 15:21:44 +00:00
gopavasanth 3e541774e8 Change http://www.mediawiki.org/ to https://www.mediawiki.org/
In other files, links to mediawiki site are https://www.mediawiki.org/

Bug: T189687
Change-Id: I0279a7ffdb9544a87a11ffdab7ff5d5d38ea6035
2018-04-23 15:08:43 +00:00
James D. Forrester 36dd685d3c Update VE core submodule to master (04137a1ed)
New changes:
3d8ead7b8 PlainTextStringTransferHandler: Forbid for paste again
04137a1ed Localisation updates from https://translatewiki.net.

Bug: T190590
Bug: T192320
Change-Id: If73bc765618122a4bcb13ebd6414b78ea12b9174
2018-04-23 07:59:32 -07:00
Ed Sanders 185c94087f Rebaser: Use site language on special page
Change-Id: I3a07083bb64e9b398cd403a1a0458b40f054672b
2018-04-22 22:18:45 +01:00
Translation updater bot 6fa8c0b66e Localisation updates from https://translatewiki.net.
Change-Id: Ie1e0cb78a76dc101ae49cec4de7679b3e363c7df
2018-04-22 22:22:17 +02:00
David Lynch 6f8e58fa8a Add a plain text paste transfer handler for source mode
This allows plain text pasting into source mode without interfering with the
possible-conversion that should happen when it's pasted into visual mode.

Bug: T190590
Bug: T192320
Depends-On: I47a5bf321fb64d4a631ec6fd728bee269d4cdae0
Change-Id: I71db368c683a6a846569d7627f4cc73e907a61d2
2018-04-22 12:52:56 -05:00
Translation updater bot 123af42615 Localisation updates from https://translatewiki.net.
Change-Id: I5f8b729daad53625e8980f43aa277058c350dafe
2018-04-21 22:15:52 +02:00
Translation updater bot 2cdb3e1c3b Localisation updates from https://translatewiki.net.
Change-Id: I47bac6be02f53feb37abf137aaa63b3623998799
2018-04-20 22:13:05 +02:00
James D. Forrester 48979b62c7 Update VE core submodule to master (1d00a1715)
New changes:
007621d0d Add .spliceAt field to annotation operations
8d533f71b Use .spliceAt field when processing annotation operations
1185206ee Always remove data-ve-attributes on external paste
bf97ca335 Update OOUI to v0.26.4
09bff69c3 Localisation updates from https://translatewiki.net.
e7dad5b43 FocusableNode: Adjust alignment in headings

Bug: T188709
Bug: T192227
Bug: T192378
Change-Id: Ic927173a4f19400f16d3d997db1d891076ae3ec7
2018-04-20 07:59:14 -07:00
Translation updater bot 136f579a45 Localisation updates from https://translatewiki.net.
Change-Id: Ica7d1b134c50e6480b2451270799c7ff1ac729e0
2018-04-19 22:14:04 +02:00
jenkins-bot 6e44244af5 Merge "Sortable table header: Account for null entries in table matrix" 2018-04-19 16:08:01 +00:00
jenkins-bot 9ecd73f771 Merge "NWE: Fix selection when applying async links" 2018-04-19 16:01:22 +00:00