Commit graph

13306 commits

Author SHA1 Message Date
James D. Forrester 3a19558d6e build: Exclude /vendor from stylelint to avoid errors
Change-Id: I0505925ada34d951fd8d0cc810b47ebeccadf6bb
2017-07-06 13:40:38 -07:00
jenkins-bot eb94174561 Merge "ve.ui.MWWikitextSwitchConfirmDialog: Remove broken "evil hack"" 2017-07-06 14:53:34 +00:00
Translation updater bot db2921281e Localisation updates from https://translatewiki.net.
Change-Id: I964c0d70f0ad7e953de2ba7d4a77613d81c55785
2017-07-05 22:47:29 +02:00
Bartosz Dziewoński 4c3c8b3d1e ve.ui.MWWikitextSwitchConfirmDialog: Remove broken "evil hack"
The promise #getTeardownProcess is trying to resolve/reject no longer
exists, causing exceptions. The code has been unnecessary for a while,
as we do all the work in #getActionProcess. (In the case that we do
switch, the teardown code isn't even called, since we navigate away.)

Cancelling the switch to wikitext works correctly after removing this
code.

Bug: T169588
Change-Id: I1b9b12edf12a0b91f06c13aa53024efb80868387
2017-07-04 21:49:15 +02:00
jenkins-bot 16f5bc609e Merge "TextInputWidgets: update for deprecated multiline behavior" 2017-07-03 21:21:20 +00:00
David Lynch cfe1d6c0c9 TextInputWidgets: update for deprecated multiline behavior
Remove config option `multiline` and change to MultilineTextInputWidget as
appropriate.

Bug: T169272
Change-Id: I45565f01de76a88d64d7b0691d1e7279354f375d
2017-07-03 22:09:58 +01:00
Translation updater bot af7c3a71c9 Localisation updates from https://translatewiki.net.
Change-Id: I4f1851f6c388dec8ab6be4510607c8f1e8784a33
2017-07-03 22:52:23 +02:00
Ed Sanders dd54c9c95d Return truthy object when image info not found
A missing image should return some data to say the
image is missing, not just reject the promise.

Bug: T169337
Change-Id: Ib41a64a783c1baca88f428417c98e7fb913d14a1
2017-07-03 18:01:33 +00:00
Ed Sanders 915e818356 Clear all gallery state on teardown
Change-Id: I90662d02bd2d9768bdcf27e532ed8b8792f764c3
2017-07-03 17:48:06 +00:00
David Lynch 12f681a19d Update VE core submodule to master (65ea4cf36)
New changes:
7b9f264b6 Localisation updates from https://translatewiki.net.
52e9cc349 Update OOjs UI to v0.22.2
65ea4cf36 ui.WhitespacePreservingTextInputWidget: inherit from MultilineTextInputWidget

Bug: T169272
Change-Id: I37987fec09a340a14eedd3535fcb48bea265823c
2017-07-03 17:12:12 +00:00
jenkins-bot 73a0574452 Merge "Normalize to template namespace when comparing" 2017-07-03 16:50:44 +00:00
Ed Sanders b3d44c1ccd Normalize to template namespace when comparing
Bug: T169307
Change-Id: Ic3524819fb026713b27b193e4a03338fffd97229
2017-07-03 16:41:08 +00:00
jenkins-bot baf1908b99 Merge "DesktopArticleTarget: Regenerate title in all non-view page scenarios" 2017-07-03 16:25:51 +00:00
Translation updater bot 9986166cfb Localisation updates from https://translatewiki.net.
Change-Id: Ia03ad93b311249dc73b38b69ea085ecfbf75985d
2017-07-02 22:54:36 +02:00
Ed Sanders af25311201 DesktopArticleTarget: Regenerate title in all non-view page scenarios
Bug: T168236
Change-Id: I15f2aeb42b98855512970e2f07396fd7a7c97354
2017-07-01 17:27:07 +00:00
Kunal Mehta 32a4f3a88b build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I55e26c6763b09be16751491d43a4d5a927abc0b0
2017-07-01 08:49:44 +00:00
Translation updater bot 90841ca36c Localisation updates from https://translatewiki.net.
Change-Id: I87974d7d4cbd1f83e913953849d7583d5aa60fc0
2017-06-30 23:43:26 +02:00
Umherirrender 766c140536 Run stylelint for less file
File was added with I151fc9bab3d3032f50c8d11be6b54e45a06fcc34

Change-Id: I5ef55e47a39e7ec3ea7c6066a048b1c4747b25ad
2017-06-29 19:30:37 +00:00
jenkins-bot 59d74932b0 Merge "Update VE core submodule to master (b528a5321)" 2017-06-29 07:39:01 +00:00
jenkins-bot a328dd4085 Merge "Update VE core submodule to master (b528a5321)" 2017-06-28 22:30:19 +00:00
jenkins-bot abba5e227e Merge "Set onDiffViewHeader argument defaults = null" 2017-06-28 22:16:02 +00:00
Translation updater bot 1055bebefc Localisation updates from https://translatewiki.net.
Change-Id: I6b7d0c0b29a571c695078b8a00086470751df315
2017-06-28 23:18:21 +02:00
Mukunda Modell c14b1c46a9 Set onDiffViewHeader argument defaults = null
As suggested by Bartosz in https://gerrit.wikimedia.org/r/#/c/361938/
Just set a default value but keep the type hint. This should avoid
the logspam while retaining type safety.

Bug: T169132
Change-Id: I1221357746f5d4ba1430bcf0bfe773202484eebc
2017-06-28 16:16:20 -05:00
David Lynch 7e678dc81a Update VE core submodule to master (b528a5321)
New changes:
44d2d666c Remove custom icon sizing from block slugs
793d131f9 Ignore covering annotations when looking for plain text pastes
b0025f3ab dm.Document fixupInsertion: check suggestedParents as well
73ce638f1 ve.ui.TableLineContext: Fancier popups
9d54d531e Visual Diff: add internal list diff
4f4e121b5 DiffElement: Add hacky support for template-defined references

Local changes:

dm.SurfaceFragment tests: exercise fixupInsertion for mwHeadings

Core VE doesn't have any elements with suggestedParents, so make sure this is
properly tested.

Bug: T153315
Bug: T162819
Bug: T164017
Bug: T165865
Change-Id: I01489226d282abe71020e65358ead24fe07692f7
2017-06-28 20:57:19 +01:00
James D. Forrester 27467c32d4 VisualEditorHooks#onDiffViewHeader: Don't add type hint as the hook sucks
It'd be nice if the hook didn't.

Bug: T169132
Change-Id: Iabe75448bbedebf8164d9c8223a4d59d0281e66e
2017-06-28 20:42:37 +01:00
James D. Forrester d7747cb913 Update VE core submodule to master (b528a5321)
New changes:
44d2d666c Remove custom icon sizing from block slugs
793d131f9 Ignore covering annotations when looking for plain text pastes
b0025f3ab dm.Document fixupInsertion: check suggestedParents as well
73ce638f1 ve.ui.TableLineContext: Fancier popups
9d54d531e Visual Diff: add internal list diff
4f4e121b5 DiffElement: Add hacky support for template-defined references

Bug: T153315
Bug: T162819
Bug: T164017
Bug: T165865
Change-Id: Id7c434af397367f4f9e12a8f4cc282b1500c7054
2017-06-28 20:34:21 +01:00
jenkins-bot 05bc265198 Merge "Keep TOC in correct place in document" 2017-06-28 12:31:33 +00:00
jenkins-bot be808346c9 Merge "Fix TOC meta item detection" 2017-06-28 12:31:32 +00:00
Jforrester 71f9703414 Merge "Update VE core submodule to master (b3ce1967f)" 2017-06-27 17:16:20 +00:00
Jforrester 15c6011875 Merge "Ensure MWInlineImages get the ve-ce-leafNode class" 2017-06-27 17:15:44 +00:00
James D. Forrester 027259584d Update VE core submodule to master (b3ce1967f)
New changes:
217103924 ce.TextState#getChunks: Use instanceof to check for LeafNodes

Bug: T167009
Change-Id: Ic356ce49b4f12bcfc4f6f70361f929d3ec283a19
2017-06-27 16:47:42 +01:00
Bartosz Dziewoński cb193512ce Update VE core submodule to master (b3a7707)
New changes:
8ec8049 Make sure the toolbar is shown on top of surface contents even when not floating
16a0486 VisualDiff: Fix doc child replacement
43346ea Localisation updates from https://translatewiki.net.

Bug: T166801
Bug: T167616
Change-Id: Ie4f1f74a09493e4154eb865c757e9fc158a3c03d
2017-06-27 15:15:12 +00:00
jenkins-bot 50a8fedc3b Merge "build: Updating mediawiki/mediawiki-codesniffer to 0.9.0" 2017-06-27 08:33:31 +00:00
jenkins-bot 1b86c8aaf8 Merge "Include message for comment diff" 2017-06-27 08:33:30 +00:00
Translation updater bot 42ca5c6d1e Localisation updates from https://translatewiki.net.
Change-Id: Ibb3f2f38abf77af4872012fb32f73f89d94d0c7b
2017-06-26 23:08:30 +02:00
Thalia cbd7a579a7 Include message for comment diff
Bug: T149821
Change-Id: I6bfe77ecd53432e5c400f7efd60a1421d7917c4f
2017-06-26 13:32:55 -07:00
jenkins-bot 7f14f854c4 Merge "ve.init.mw.DesktopArticleTarget: Remove some hacks" 2017-06-26 20:27:09 +00:00
Umherirrender 23e7ccb6d4 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
Change-Id: I247c15b8b6c4ef9bfc5b96f1d6553cd186638fbb
2017-06-26 19:18:47 +02:00
Ed Sanders c4f93b1411 Ensure MWInlineImages get the ve-ce-leafNode class
Without this class, offset calculations fail and model/view
sync can be lost.

Bug: T167009
Change-Id: Ie7b6551ac5a532949c14122b9ee7584a794af0f2
2017-06-26 12:43:23 +00:00
jenkins-bot 0dee2be8d8 Merge "GalleryDialog: Re-order and make margins even" 2017-06-26 10:33:17 +00:00
jenkins-bot b2ae6ddcb8 Merge "GalleryDialog: Downstream fix for DraggableElement padding" 2017-06-26 10:32:07 +00:00
Translation updater bot 6623018b9d Localisation updates from https://translatewiki.net.
Change-Id: I97af6bed779e8435746a70ae0eba850ce4be1d2f
2017-06-25 23:21:18 +02:00
jenkins-bot ba3a5d85bd Merge "Show visual diffs on DiffPage" 2017-06-25 03:30:29 +00:00
jenkins-bot a7fdaffb1b Merge "Clear all diff state when switching editors" 2017-06-24 11:10:32 +00:00
Translation updater bot 2a2b22c829 Localisation updates from https://translatewiki.net.
Change-Id: I157176fbd3f29a718b7b95974216db819c881cb9
2017-06-23 22:54:56 +02:00
Ed Sanders 15af26876a GalleryDialog: Re-order and make margins even
Move image inside filename fieldset, and make
margins between fieldsets and button 1em.

Change-Id: I7f6789043f873f9da4e960c94e22a7ee096a352f
2017-06-23 12:16:35 -07:00
Ed Sanders 9eb637e933 GalleryDialog: Downstream fix for DraggableElement padding
Bug: T168745
Change-Id: I95e6f5cd2126878c4f973285fceece1d5a03c4eb
2017-06-23 11:58:37 -07:00
jenkins-bot 93a44ef399 Merge "MWTransclusionDialog: fix conditions for "show options" button disabling" 2017-06-23 17:21:50 +00:00
Ed Sanders fd1adfb3b5 Keep TOC in correct place in document
Change-Id: I6ad8cd8cbd7ef902204408673eb096b7405abd24
2017-06-22 15:16:15 -07:00
Ed Sanders 1a0fd81f64 Fix TOC meta item detection
Change-Id: Icce35100bbc0bfb5584a676eec0e1774308d0f68
2017-06-22 15:16:14 -07:00