Commit graph

10050 commits

Author SHA1 Message Date
Translation updater bot df7307c1b8 Localisation updates from https://translatewiki.net.
Change-Id: Iaead1637d6460165edf1282450ba148e48d468a9
2017-02-27 22:40:16 +01:00
Ed Sanders a3433e67fd Move modules loaded from DAT.init/TargetLoader to ResourceLoader
This will make it easier for third parties to load the required
modules for an article-like target.

Also cleanup mobileArticleTarget to better match desktopArticleTarget.

Change-Id: Idb75e2bd99d8cf2c298e101cf92e8af4f85f5ad5
2017-02-27 16:48:56 +00:00
Translation updater bot 4c9bc6ce53 Localisation updates from https://translatewiki.net.
Change-Id: Ia9c63305453091afe7ebd5b5c5361dd2474ab11c
2017-02-26 22:55:11 +01:00
Translation updater bot 49d2dade48 Localisation updates from https://translatewiki.net.
Change-Id: Ie31ed3d14e14a362b890588db76946c2f6567755
2017-02-25 22:44:27 +01:00
Translation updater bot 0f769f9a4c Localisation updates from https://translatewiki.net.
Change-Id: Iea0b0881d660a604f83716425c1d2d38bb474dd1
2017-02-24 22:49:39 +01:00
jenkins-bot a629b62b43 Merge "For the mode switch tool, show a different tooltip when disabled" 2017-02-24 19:23:53 +00:00
James D. Forrester 440a73206d For the mode switch tool, show a different tooltip when disabled
Bug: T158723
Change-Id: I8c397e9b10c51d78c0b0f18c494ca9f36400d23e
2017-02-24 08:49:47 -08:00
Translation updater bot a520037a38 Localisation updates from https://translatewiki.net.
Change-Id: I7f5ea4a13665e807fe98c1f8d68d88536217d439
2017-02-23 23:11:42 +01:00
L10n-bot ce86129067 Merge "Localisation updates from https://translatewiki.net." 2017-02-22 21:53:36 +00:00
Translation updater bot 18e340ef5f Localisation updates from https://translatewiki.net.
Change-Id: I388c3a778615dc9d561e3ba15016fbed6bd825da
2017-02-22 22:54:16 +01:00
Ed Sanders 501d0c94d2 Cache generated content request when inserting templates
We request the generated content of a template to determine
if it will be block or inline. This is the same request as
the view makes later to show the rendering, so we should cache
this repsonse.

Bug: T156698
Change-Id: I0ffd36ccd0aa821aa44d99328f2e3a2abc23dc0f
2017-02-22 04:00:38 +00:00
jenkins-bot 703e784d1a Merge "build: Bump grunt-jsonlint to latest and make pass" 2017-02-21 16:14:38 +00:00
Translation updater bot a3d001d7a5 Localisation updates from https://translatewiki.net.
Change-Id: I716d04e411b2381f38381d80e9b70661007a3738
2017-02-21 00:02:00 +01:00
Translation updater bot 50a0c7125a Localisation updates from https://translatewiki.net.
Change-Id: Ie015f94ba4db43ac49f9a16e3fbe18ee715c27df
2017-02-19 22:52:36 +01:00
Translation updater bot 63efc6c9af Localisation updates from https://translatewiki.net.
Change-Id: Ibc99be0de6a97d39ccf7b13c40283410b8ac08a5
2017-02-18 22:51:16 +01:00
James D. Forrester dddd2c0180 build: Bump grunt-jsonlint to latest and make pass
grunt-jsonlint       1.0.8  →   1.1.0

Change-Id: I4a5cdd39f6215cc61a1ef530386a87fdcb0c0088
2017-02-17 16:12:12 -08:00
James D. Forrester cc239a08da build: Bump stylelint and make pass
grunt-stylelint              0.6.0  →   0.7.0
 stylelint-config-wikimedia   0.3.0  →   0.4.1

Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
2017-02-17 15:23:12 -08:00
Translation updater bot 2dd0e06e87 Localisation updates from https://translatewiki.net.
Change-Id: Ia236c6849f1c3194ebb59c666006f1edf03687cf
2017-02-17 22:55:18 +01:00
Translation updater bot 8f5380cc12 Localisation updates from https://translatewiki.net.
Change-Id: I46eaee06ac9f40e39685ebfccc76bd342439803e
2017-02-16 23:09:58 +01:00
jenkins-bot 9164b6e400 Merge "DesktopArticleTarget.init: Don't hardcode single-tab accesskey" 2017-02-16 19:19:42 +00:00
jenkins-bot 97d689c824 Merge "MWSaveDialog: Switch to save panel when showing message" 2017-02-16 17:14:12 +00:00
jenkins-bot 6b6df0759e Merge "Tables: Add support for editing mw-collapsible/mw-collapsed" 2017-02-16 16:39:36 +00:00
David Lynch 288422cb9e MWSaveDialog: Switch to save panel when showing message
Fixing T107251 made it so that clicking "save" always switched back to the
save panel momentarily, causing a flicker of "maybe I can edit this"
experience. With this change, we can only switch back to the save panel when
saving from other panels if a message is being shown.

Bug: T156891
Change-Id: I8f67693283e61c39cfce40ee12d5c6788dd97932
2017-02-16 10:32:21 -06:00
Ed Sanders 9337e6ecbd Tables: Add support for editing mw-collapsible/mw-collapsed
We don't support editing <div>s right now (as they're BranchNodes) nor
<span>s (as they're annotations), but most of those are inside templates
and so not editable in VE anyway.

Bug: T157989
Change-Id: I647b2a544fd16952696d0de8d07cb72189b27ecb
2017-02-16 17:21:44 +01:00
Bartosz Dziewoński c3be577216 ve.ui.MWAdvancedSettingsPage: Actually display help for settings about language variants
Follow-up to 712ea472d3.

Change-Id: I2f3617fb4e9a80272e559b35c947052c0d8e534b
2017-02-16 02:19:09 +01:00
Bartosz Dziewoński 2c78411113 ve.test.utils.createSurfaceFromDocument: Actually attach surface to DOM
Bug: T158141
Change-Id: I999bcdc7095a3b9e2a86a7d5eca0e1f3ceb175ef
2017-02-16 01:17:17 +01:00
Translation updater bot a21a89ac77 Localisation updates from https://translatewiki.net.
Change-Id: I8a6a7bf01f41eed3d8d7c1cf5ccfb515c16586ce
2017-02-15 22:47:52 +01:00
Translation updater bot 7d95edacde Localisation updates from https://translatewiki.net.
Change-Id: I16205f62bba23e5d0d157d433a635feac710aba5
2017-02-14 22:57:45 +01:00
David Lynch b1d68872b0 DesktopArticleTarget.init: Don't hardcode single-tab accesskey
Bug: T156141
Change-Id: I1312283437714bf338a8ee3cf63e93ac67db1c45
2017-02-14 11:24:50 -06:00
L10n-bot 6909c24d5d Merge "Localisation updates from https://translatewiki.net." 2017-02-13 22:19:02 +00:00
Translation updater bot ae92640bf3 Localisation updates from https://translatewiki.net.
Change-Id: I79bc57730f31d46f3319d1108313d35547d7f2fc
2017-02-13 23:19:33 +01:00
Bartosz Dziewoński 7beaf0ab9c ve.ce.MWTableNode: Provide preview of sortable table styling
Algorithm for deciding which cells handle sorting is exactly
the same as in the real jQuery Tablesorter.

Depends on changes in VE core:
* I50426e173c68af7df49e47fe3bec0465a9a55c26
* Iabb372dfe7bf5feef314315ac74a788c6c58dc20

Bug: T139072
Change-Id: I4446be2ad459b05590754da9bb6c3dd8f796be42
2017-02-13 21:36:43 +00:00
Ed Sanders 08b3f73f16 MWTableDialog: Extend initial values so 'done' button behaves correctly
Depends-On: I608431365f2a482536affe1dae3fe21bc20e16b4
Change-Id: Idd468caa9417ffd8e0475083c884ef6c554ee152
2017-02-13 08:30:51 -08:00
Ed Sanders 444ed0b7d8 MWTableDialog: Inherit actions from core
Change-Id: Ice7f18ac2e1b7728a52a48482728d1b1278ca66f
2017-02-13 08:30:51 -08:00
Translation updater bot 0b620cf417 Localisation updates from https://translatewiki.net.
Change-Id: Id1187371077f15d98540f91be55ee2f074254ce5
2017-02-12 22:44:26 +01:00
jenkins-bot 3c56d19e66 Merge "vw.ui.MWTableDialog: Add "Cancel" button" 2017-02-12 15:07:37 +00:00
Translation updater bot 30cb88940e Localisation updates from https://translatewiki.net.
Change-Id: If95955b60c6c2b371bda27b1db2272939c3da982
2017-02-10 22:55:28 +01:00
Bartosz Dziewoński aa22a8c482 vw.ui.MWTableDialog: Add "Cancel" button
The dialog already supports cancelling by pressing Escape,
but the usual dedicated button was missing.

Change-Id: Ic63b5b59940a43474051466bdbbba0dbeb4342a9
2017-02-10 15:26:33 +01:00
jenkins-bot a234120771 Merge "Check for 'veaction' when clicking section edit links" 2017-02-09 18:33:55 +00:00
Bartosz Dziewoński 5200f2ef34 ve.ui.MWSaveDialog: Show a hint to use Ctrl+Enter to submit when pressing Enter
Or Cmd+Enter for Mac.

Depends on VisualEditor core changes:
* I93f50e325f993d82a821bf02f5e7f56fe1b9de62
* Id0a357b038fc5730f61bcf3ba730838dcda9b00e

Bug: T153241
Change-Id: I6b0a5e2c4e4ec72016463c8ba6576d33d59be8e5
2017-02-09 16:47:41 +00:00
Translation updater bot c201ae6172 Localisation updates from https://translatewiki.net.
Change-Id: Ia95042d9cd6c81e99c49848e0d17e33347bbc9c8
2017-02-08 22:47:18 +01:00
Ed Sanders 6bd650d50a Check for 'veaction' when clicking section edit links
Such as in the 'add topic' link.

Bug: T157104
Change-Id: Ide2d4cf8c23a5d0db24456d15b4312f7c0a5f922
2017-02-08 17:48:04 +00:00
Translation updater bot 02aa33cfbd Localisation updates from https://translatewiki.net.
Change-Id: I74eab9790e644bb90f354ae5d6a9f3cbb7ca2d6b
2017-02-07 23:07:39 +01:00
jenkins-bot 6e585c457c Merge "Move wikitext signature command to correct file" 2017-02-07 20:47:57 +00:00
Ed Sanders 8ab21d2ef5 Move wikitext signature command to correct file
So that signature availability is checked.

Bug: T157286
Change-Id: If1e585ce02e0bc9f5aa93129d315f83f183f5952
2017-02-07 20:21:32 +00:00
Ed Sanders f2cf73eaaf Define default HTML types for extension nodes
Use span/div for inline/block nodes respectively.

Bug: T157389
Change-Id: I4c501a6af88a490eec83af26adaa515a2b1d18d1
2017-02-07 20:12:39 +00:00
David Lynch 8a7d44224c ArticleTarget: try to refresh editToken if getWikitextFragment fails
Refactor saveFail's badtoken handling out so it can be reused by
getWikitextFragment.

Bug: T156991
Change-Id: I686cddb5be4484211fa69640044db1bc34eacefc
2017-02-07 11:20:59 -06:00
jenkins-bot 158807f86c Merge "Remove explicit toolbar indicator definitions" 2017-02-06 17:11:59 +00:00
Translation updater bot 19569f4b02 Localisation updates from https://translatewiki.net.
Change-Id: If656029a98191aad2523fe743ac42b1a26920190
2017-02-05 22:57:31 +01:00
Ed Sanders 7a058a4de8 Remove explicit toolbar indicator definitions
These are now computed upstream based on position of toolbar.

The menu tool now needs its indicator explicitly hidden.

Change-Id: Id2280f70553e1e45f3a42af45684c5808797925c
2017-02-04 10:25:37 +00:00