Commit graph

14021 commits

Author SHA1 Message Date
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
Ž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
Translation updater bot f4fac4cbf8 Localisation updates from https://translatewiki.net.
Change-Id: Ia229d6d76b164debfcb88279ccd3b79b7491b3d5
2018-01-11 23:45:01 +01:00
Ed Sanders 7c8373106f Catch timeout errors in screenshot scripts
Bug: T184724
Change-Id: Ifbc03b1291c291dcfc862487766e3786f9bd437c
2018-01-11 18:42:22 +01:00
jenkins-bot ba6bd9b876 Merge "Update VE core submodule to master (bfa92c6e9)" 2018-01-11 16:24:20 +00:00
jenkins-bot 2091b8634a Merge "Use section fragment after-save even if the query is empty" 2018-01-10 21:41:59 +00:00
jenkins-bot 2ea64bdd27 Merge "Change save dialog accesskey to be entirely off the trigger" 2018-01-10 21:30:51 +00:00
Translation updater bot d4ac7bf736 Localisation updates from https://translatewiki.net.
Change-Id: I184266c79c36c07595f14bb15ed82a1ba6df4e74
2018-01-10 22:24:20 +01:00
Ed Sanders 886faf2adc NWE: Show temporary wikitext input widget while loading
Bug: T184614
Change-Id: I2e4964cb6329660957815dcb9a74d2ad24d5256b
2018-01-10 21:34:53 +01:00
jenkins-bot 9768750cd3 Merge "Use findItemFromData instead getItemFromData" 2018-01-10 19:54:30 +00:00
David Lynch 64944c119a Use mw.storage instead of localStorage
mw.storage catches errors, so we won't crash horribly when the user has
localStorage disabled / full.

Bug: T181822
Change-Id: I212994eb535b9a8fb5f6c09deaa10b16c3d7f10e
2018-01-10 11:44:24 -06:00
James D. Forrester 7558b16f62 Update VE core submodule to master (bfa92c6e9)
New changes:
f88d8d4a9 Localisation updates from https://translatewiki.net.
bfa92c6e9 Update OOUI to v0.25.0

Change-Id: I7e790290354a76e5bce0a7caf18dac56a5787922
2018-01-10 08:44:16 -08:00
Translation updater bot 115cebb70f Localisation updates from https://translatewiki.net.
Change-Id: I888f6a4f1b18ee93661d6073d131dfa27f221ef8
2018-01-09 22:29:57 +01:00
Translation updater bot 62298e2191 Localisation updates from https://translatewiki.net.
Change-Id: I51190574bd1baa7dbf6afb359b7fc9bcb061a1a1
2018-01-08 22:36:30 +01:00
David Lynch a89c79dc79 Change save dialog accesskey to be entirely off the trigger
Accesskeys in this situation are unreliable cross-browser. Firefox won't
trigger the accesskey inside the dialog. We can manually simulate it, via the
existing trigger.

Bug: T121183
Change-Id: Ib919d8b9fcd9324a517037bcc6ef93a26d1488b9
2018-01-08 11:52:06 -06:00
Ed Sanders c41fd90a15 MWImageModel: Check selectedNode exists before asking for property
Bug: T180521
Change-Id: I1c10929abd6f5c4afa03a65904bc76fc82f8fcbb
2018-01-08 15:31:13 +00:00
Translation updater bot 767865c8ed Localisation updates from https://translatewiki.net.
Change-Id: I093e4cec7e361d1ddcf4534b2412adc353fe480d
2018-01-07 22:47:39 +01:00
Translation updater bot 79b60536c7 Localisation updates from https://translatewiki.net.
Change-Id: Iab976773f8ae616587f8f0070ffaf20fc4a962ea
2018-01-06 09:14:36 +01:00
David Lynch 874ba30ce8 Use section fragment after-save even if the query is empty
Bug: T181075
Change-Id: If2d1107982d3f947330c750c635ee221ab71610f
2018-01-05 11:55:38 -06:00