Commit graph

14003 commits

Author SHA1 Message Date
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
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