Commit graph

14212 commits

Author SHA1 Message Date
Ed Sanders 7e055832b9 build: Update linters
Change-Id: Idafc3989c43613fdc4ea9da66495fc4003f7f549
2018-02-04 22:11:22 +00:00
Translation updater bot e544fc31be Localisation updates from https://translatewiki.net.
Change-Id: If6b52ef02c0ffd0a2aaf1e4573e5d0904f2ed135
2018-02-04 22:44:13 +01:00
jenkins-bot 5f9457517f Merge "Update minus-x from 0.2.1 to 0.3.0" 2018-02-04 19:36:22 +00:00
Alangi Derick 96d0d4b6d2 Update minus-x from 0.2.1 to 0.3.0
Change-Id: I781feaf58a2cb1b97e2313cb9d2b2c995f8f3bc0
2018-02-04 17:30:42 +01:00
zoranzoki21 a95e80c8f5 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: I0771dda6664c965f323ef276c6baf4df9d83a1d6
2018-02-04 10:19:51 +00:00
Translation updater bot 7bd244b2e3 Localisation updates from https://translatewiki.net.
Change-Id: I31cf6db52d12e458294425472396a1b321fa82bf
2018-02-03 22:22:43 +01:00
Translation updater bot 70d7a11fdd Localisation updates from https://translatewiki.net.
Change-Id: I35420d6b6c883f98fee44cdc37f54c67eb0b2220
2018-02-02 22:18:07 +01:00
Ed Sanders cefa0ebf7b Add trailing linebreak to NWE's temporary wikitext editor
Bug: T185632
Change-Id: I8225b08484e535668e8b0bd33eb3b8b09b80ff35
2018-02-02 11:10:18 +00:00
Translation updater bot 7bd0c3329a Localisation updates from https://translatewiki.net.
Change-Id: I3622c48d5452ee5e291b5e352ce887d7d6c522aa
2018-02-01 22:30:31 +01:00
Translation updater bot 048f3f7f64 Localisation updates from https://translatewiki.net.
Change-Id: I0d330a66b8cf5b513f395970659466d2df398dc8
2018-01-31 22:20:29 +01:00
Translation updater bot 6505f97e34 Localisation updates from https://translatewiki.net.
Change-Id: I2f05eb9de8897133b7f1e7b49c84f3592b8afbe4
2018-01-30 22:17:12 +01:00
jenkins-bot f73c1c591d Merge "Remove use of global for wgEditSubmitButtonLabelPublish" 2018-01-30 19:48:57 +00:00
jenkins-bot 3ccfacf7f9 Merge "Use wgEditSubmitButtonLabelPublish from upstream" 2018-01-30 19:48:01 +00:00
James D. Forrester ae1e1b91ad Remove use of global for wgEditSubmitButtonLabelPublish
Change-Id: I0d02dffd92e74d001ea1a8873aaa9faf1cf08da2
2018-01-30 19:33:21 +00:00
jenkins-bot 7dd6aea2d6 Merge "NWE: Use internal paste in compatible browsers" 2018-01-30 17:41:05 +00:00
jenkins-bot e613c8edc4 Merge "Load modules for preview" 2018-01-30 17:40:45 +00:00
jenkins-bot 8e1ec692d8 Merge "textSelection: Implement getCaretPosition" 2018-01-30 16:48:00 +00:00
jenkins-bot 5e2e0013ae Merge "Implement simple methods from $.textSelection API" 2018-01-30 16:47:19 +00:00
Ed Sanders 9e16e1cbd4 textSelection: Implement getCaretPosition
Bug: T185992
Depends-On: Id60f4b8aa177564f5252508ce6cff2424eb03fc8
Change-Id: I1a1a953dfbb299a15ba9d4d3e624e6779e72d11c
2018-01-30 10:54:02 +00:00
Ed Sanders aeb4f2f2b7 Implement simple methods from $.textSelection API
This should make it easier for some gadgets to work
with NWE.

Bug: T185992
Change-Id: Ic60440f345b8226fb5acaeb966e25eb003ad7866
2018-01-30 10:53:49 +00:00
Volker E e64ede5b49 Remove unnecessary and low-contrast opacity
Change-Id: I4853a77679687d23059c118914df42a1d3c2785c
2018-01-29 23:51:08 -08:00
Ed Sanders 9770c80615 Load modules for preview
Bug: T147702
Change-Id: I94f6bdf122d4e2c9fba3103f36c438980ce8228d
2018-01-29 22:35:00 +00:00
Translation updater bot aa58a7f87f Localisation updates from https://translatewiki.net.
Change-Id: Ie9ed92307535210f801c300a03e28cc714728018
2018-01-29 22:20:45 +01:00
jenkins-bot 0c9fb65fbe Merge "Update VE core submodule to master (130caccf3)" 2018-01-29 18:05:33 +00:00
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