Commit graph

14138 commits

Author SHA1 Message Date
jenkins-bot 58900ad6d6 Merge "Remove "(beta)" from visual diff mode label" 2018-01-29 17:30:18 +00:00
James D. Forrester 15bb925f31 Update VE core submodule to master (130caccf3)
New changes:
68c4eca08 Create ve.dm.Document#getDocumentRange method and use in various places
a931da25b Rebaser: show timestamps in logs
0a45fe561 Source surface: Add complementary getSourceOffsetFromOffset method
130caccf3 Localisation updates from https://translatewiki.net.

Change-Id: I6bdf816456129d1d715812d944b188af4a371fcf
2018-01-29 09:22:33 -08:00
jenkins-bot b0261932ec Merge "Update VE core submodule to master (c5fddd508)" 2018-01-29 16:57:14 +00:00
James D. Forrester 4ce103abb9 Update VE core submodule to master (c5fddd508)
New changes:
21a5d55b8 [BREAKING CHANGE] Store metadata as block nodes in the main data list
2f9868aae Localisation updates from https://translatewiki.net.
7a224cf4b Remove <style> tags from pasteTarget ASAP
fb4e894b6 Workaround missing child selector in OOUI for menuLayout
fa4f35281 rebaser: Fix sequencing of server operations
931ee29f6 SurfaceSynchronizer: Also translate selections that are not mentioned in the change
d232b8f04 Disable undo/usurp within SurfaceSynchronizer
d1b7fc597 ve.dm.Change: Truncate stores as well as transactions on conflict
7606f684d rebaser: Only apply artificial delay to submitChange events
9473e8b42 Toolbars: Replace $.width with clientWidth/offsetWidth
abb8f2075 ve.ui.DesktopContext: Remove unused CSS
050414205 ve.ui.DesktopContext: Remove old unnecessary CSS
7b8cbb830 Failing test case for losing annotations
5447d33e4 CommentNode: Protect against call after teardown
bf98ca2b6 Rebaser: Use better hack for disabling history commands
90c07f46c Rebaser: uninitialize fully
2a59016e4 Move updatingName recursion guard out of debounce

Bug: T56299
Bug: T185532
Bug: T185544
Bug: T185599
Bug: T185716
Bug: T185747
Change-Id: I45251811e3fbb3323a25ca5cf364e4cb94aa1d01
2018-01-29 08:43:08 -08:00
Translation updater bot 392d409f2a Localisation updates from https://translatewiki.net.
Change-Id: I9accaa0287643cffadfb55b5234043a568ac8539
2018-01-27 22:37:54 +01:00
jenkins-bot d7d026425c Merge "Make visual diffs the default in visual mode" 2018-01-27 00:21:24 +00:00
Ed Sanders 6a0c6097ed Remove "(beta)" from visual diff mode label
Change-Id: Ibdd23968f8e2459347fc77a9e413827fd5897423
2018-01-26 16:18:57 -08:00
Translation updater bot 2a03cd2d6b Localisation updates from https://translatewiki.net.
Change-Id: Ia4ab7bc46144b258a2803ecfbc10e18de1d8277a
2018-01-26 22:36:49 +01:00
Ed Sanders 35311ad66d NWE: Use internal paste in compatible browsers
Bug: T185730
Change-Id: I9410707e6e491fe1cbe0b367fccb94a29a1b3145
2018-01-25 17:40:26 -08:00
Translation updater bot a7de30101d Localisation updates from https://translatewiki.net.
Change-Id: I41e666aafb8df56702e63e35c62ecfe13855ef7b
2018-01-25 22:18:23 +01:00
Ed Sanders 624f181592 MW-Rebaser: Disable history commands
Change-Id: I46bb5e92548fe35c3490cd3df36b2a8f1cca520a
2018-01-25 10:21:33 -08:00
Translation updater bot 32f01e823d Localisation updates from https://translatewiki.net.
Change-Id: I6a95608ababf0cb66915f3bde6af4c7829e3ab13
2018-01-24 22:21:05 +01:00
jenkins-bot 97fbd5619c Merge "Public API for the tempWikitextEditor" 2018-01-24 00:53:11 +00:00
jenkins-bot a77eea97b3 Merge "Sync tempWikitextEditor just before building target, not on every change" 2018-01-24 00:50:41 +00:00
jenkins-bot 14e557e936 Merge "Use jQuery 3 .catch( fn ) instead of .then( null, fn )" 2018-01-24 00:06:11 +00:00
Ed Sanders 8afe6c5c6d Public API for the tempWikitextEditor
Allows users to know when the widget has been constructed,
and access it (e.g. to set an initial selection)

Bug: T185279
Change-Id: I3678996bcf644cc889dd168ac3ce48b5c3633ec1
2018-01-23 15:30:51 -08:00
Bartosz Dziewoński a0e2afef8e Use jQuery 3 .catch( fn ) instead of .then( null, fn )
Change-Id: I676eec0acf25690c2b2dd0b9a414be5fee887395
2018-01-23 15:25:15 -08:00
Ed Sanders d294006d7b Sync tempWikitextEditor just before building target, not on every change
Also ensure tempWikitextEditor is always torn down, even if
target setup fails.

Change-Id: Idc30a9dc00491b8c85353d73cb9ff70afea1d51c
2018-01-23 15:13:10 -08:00
jenkins-bot f52ee56a02 Merge "Toolbars: Replace $.height with clientHeight/offsetHeight" 2018-01-23 23:01:37 +00:00
Ed Sanders 154f49e964 Toolbars: Replace $.height with clientHeight/offsetHeight
Bug: T185599
Change-Id: I43fbce8f221553e9ae03f8385f39a19de01e8eb7
2018-01-23 12:32:16 -08:00
jenkins-bot 53cd2346dc Merge "MWWikitextStringTransferHandler: Perform Parsoid cleanup on result" 2018-01-22 23:43:18 +00:00
David Lynch d97b734352 MWWikitextStringTransferHandler: Perform Parsoid cleanup on result
Parsoid markup delivered as a result of a paste was being handled differently.

Bug: T183173
Change-Id: Ic563d2c5cd1f663f35860892b369fb7ba34b9c55
2018-01-22 14:43:19 -08:00
Ed Sanders 3077bbe51c Remove Firefox support comment
This line isn't solely for supporting FF52, that is the order
in which it is called (move after attach, not before),
but that matches all our other widgets, so not sure
it needs commenting.

Change-Id: I6f3cc5687f1e4b995dff700d0765d14de1927d51
2018-01-22 11:27:46 -08:00
jenkins-bot 97b04fbea5 Merge "NWE: Don't attempt to set selection on unattached textarea" 2018-01-22 19:22:11 +00:00
Ed Sanders f2568c8d7d NWE: Don't attempt to set selection on unattached textarea
Prevents an exception being thrown in Firefox <= 52.

Bug: T185304
Change-Id: Ic9a43e3cf12d4cc566cebb328f8e807e464af634
2018-01-22 18:58:26 +00:00
jenkins-bot b82c7692be Merge "Update VE core submodule to master (88ba1eb9a)" 2018-01-22 04:43:19 +00:00
James D. Forrester 2276217d0b Update VE core submodule to master (88ba1eb9a)
New changes:
6a0b829e3 build: Bump stylelint and config, and make pass
9cacad1e9 Remove JSCS comments
ba7adf119 OOUI: Manually pull in fix from I99caad7b ahead of the release cycle
3cdb40b27 Update OOUI to v0.25.1
a1ec03ade getSelectedItem() -> findSelectedItem()
bd1aa50fb Localisation updates from https://translatewiki.net.
28b668622 SurfaceSynchronizer: Clear author selections when unapplying
982919680 SurfaceSynchronizer: Translate selections when unapplying

Bug: T185395
Change-Id: I58562868ff9c76e5abcca3297d8c7cc1bc60bf12
2018-01-21 18:42:00 -08:00
David Chan c7b76329ad Use ve.dm.MetaList without explicitly requiring metadata index
For future compatibility with Ib5174b0dcba1c24f44d889e08140bee31a064011 .

Change-Id: I15f252ce5d36bc0c38c5f5035e5176bf5e6d96e5
2018-01-21 18:33:28 -08:00
Translation updater bot d5c92ebb9e Localisation updates from https://translatewiki.net.
Change-Id: Id8ca3613213b47620ec70abcc2d45a1c5c6c483c
2018-01-21 22:17:28 +01:00
Translation updater bot fbd2266388 Localisation updates from https://translatewiki.net.
Change-Id: I2f4cab845e47349e3ddded9c6ddb59b01d400596
2018-01-20 14:43:18 +01:00
David Lynch a52dc16244 Update TitleInput's getTitle to getMWTitle
cb92c72c63274b332dc81edf473b1b3979ab4bdf in MW core changed this.

Bug: T185231
Change-Id: I9084a11bd40e46bddbcd1922ff549703bc90f60f
2018-01-18 11:39:23 -06:00
jenkins-bot d5bf4d41de Merge "Remember preferred diff viewer" 2018-01-18 15:37:35 +00:00
James D. Forrester b083e07a5d Use wgEditSubmitButtonLabelPublish from upstream
Change-Id: I772a21025771f82cdb7260e53996c2c6fd6fa718
Depends-On: I065f733bd8b27bda68023cd1b718e257fd135aa2
2018-01-17 11:07:46 -08:00
jenkins-bot 31e7006610 Merge "getSelectedItem() -> findSelectedItem()" 2018-01-17 17:29:36 +00:00
jenkins-bot 9e7ceaf56b Merge "Update VE core submodule to master (d5428e9b3)" 2018-01-17 17:29:34 +00:00
Ed Sanders a1e2cb237c Resize link context item after getting description
Descriptions can run to more than two lines.

Bug: T183650
Change-Id: I3d0a5787cab19abc4851340b08fe4a109e7aec31
2018-01-17 16:06:28 +00:00
Ed Sanders 0169701257 getSelectedItem() -> findSelectedItem()
Change-Id: Idf90335d06800b690063c7b2a781e822f0ee7ba9
2018-01-17 13:39:13 +00:00
Ed Sanders e70fe7c1a1 Make visual diffs the default in visual mode
Bug: T178248
Change-Id: I9fe22862d4415df034a0054f934c9ebd1d731a5d
2018-01-17 13:31:07 +00:00
Ed Sanders 7661081ab9 Remember preferred diff viewer
Separate the preference by surface mode, so you can
use a different preference for NWE.

Bug: T178691
Change-Id: Ib8494a4562ce766a7c8ef7ec1447d06f5d0f17c5
2018-01-17 13:31:07 +00:00
Translation updater bot e6362b0448 Localisation updates from https://translatewiki.net.
Change-Id: I34e7ab93ccb6555489c97bc9a75649400543d81e
2018-01-16 22:49:39 +01:00
James D. Forrester 6f9947ad71 Update VE core submodule to master (d5428e9b3)
New changes:
d837033c2 Use findItemFromData instead getItemFromData
c656fb267 Localisation updates from https://translatewiki.net.
5cbaf0674 Catch errors when accessing localStorage
d5428e9b3 Localisation updates from https://translatewiki.net.

Bug: T181822
Bug: T76630
Change-Id: I5b02898ed020cf2fc3bd93a650870bd3ab7b31b0
2018-01-16 10:22:56 -08:00
jenkins-bot 140ec5f2ab Merge "NWE: Show temporary wikitext input widget while loading" 2018-01-16 18:13:47 +00:00
jenkins-bot 649ea07b35 Merge "Don't pass wikitext to requestPageData if unmodified" 2018-01-16 17:29:22 +00:00
Translation updater bot c800c7fa1c Localisation updates from https://translatewiki.net.
Change-Id: I734792bd0ce64a9a98222d4293edf77c815442eb
2018-01-15 22:25:36 +01:00
Translation updater bot 8e1b02fd02 Localisation updates from https://translatewiki.net.
Change-Id: Ie7d95b09331e1750b355b9b9e95b59ecb4c349d5
2018-01-14 22:17:19 +01:00
Ed Sanders b1ea5d618a Don't pass wikitext to requestPageData if unmodified
Bug: T184875
Change-Id: I41a72a9c7546fafc834bf837e507d9359872ff11
2018-01-14 16:16:47 +00:00
Translation updater bot d4c10c6c8e Localisation updates from https://translatewiki.net.
Change-Id: Iadd14d6c0a5b39adb03e2b31842197622bd1f1b7
2018-01-13 22:15:36 +01:00
jenkins-bot aca63b6189 Merge "Catch timeout errors in screenshot scripts" 2018-01-13 11:09:25 +00:00
Arlo Breault 25e3662c00 Remove autoGenerated hack
Reverts some of 471e40e

Depends-On: I2b5c7ff552b3322be74f79a81936c41d58fecabc
Change-Id: Ibfcd4ced6c58c1cd0d362af3bdb43ce4e6879941
2018-01-12 11:52:42 -05:00
Željko Filipin 4c44340597 ESLint parserOptions is reduntant when env is set to es6
Bug: T184724
Change-Id: If39d3efc6476a94aaeb5956f142d2b12bd9be9bb
2018-01-12 17:04:35 +01:00