David Lynch
c7486ae19b
DesktopArticleTarget.init: more explicit no-welcome-on-protected-pages
...
Bug: T138715
Change-Id: I1d1efe7fb3286bbf85ea2a17356dcad1d3346517
2017-07-17 17:17:07 -05:00
jenkins-bot
1333373c3e
Merge "Drop local 'template' icon, use 'puzzle' from upstream"
2017-07-17 15:09:28 +00:00
jenkins-bot
0549c55ca3
Merge "Fix wikitext preview in IE and Edge"
2017-07-17 14:29:43 +00:00
Translation updater bot
c820c04ee1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie47d9a6c3f50275338c980822a90edba6853dd8e
2017-07-14 22:57:02 +02:00
Bartosz Dziewoński
0e00b2c109
Fix wikitext preview in IE and Edge
...
In Internet Explorer and Edge, NodeList objects do not have the
'forEach' method. However, Array's 'forEach' can be applied to them,
as we do elsewhere in the code.
https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach
Bug: T170466
Change-Id: Icb19995e140607d45c47fb6ae8d60ac80b664d02
2017-07-14 15:30:27 +02:00
Translation updater bot
815f9e4acc
Localisation updates from https://translatewiki.net .
...
Change-Id: If9dc517ccbb54150ca209d62bae06df165182429
2017-07-13 23:01:37 +02:00
jenkins-bot
1b6cc864b3
Merge "DesktopArticleTarget.init: only show welcome dialog if page editable"
2017-07-13 18:11:46 +00:00
David Lynch
0e8ef6c307
ce.MWTransclusionNode: make sure model exists before getting its document
...
Bug: T168932
Change-Id: Idf18839b1f1fae6eb29621f1950d2b52c99e3433
2017-07-13 11:33:38 -05:00
David Lynch
a2f8597712
DesktopArticleTarget.init: only show welcome dialog if page editable
...
"Welcome to wikipedia, anyone can edit, we welcome all improvements. Start
editing!" is a bit out of place when what you'll see after clicking "start
editing" is "you can't edit this page".
Bug: T138715
Change-Id: I9f655a5f12d4e45644bd01631c2d3131375d8e8f
2017-07-12 10:29:54 -05:00
Translation updater bot
48a215b9b3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ida79312d18b2b56b8d75345fde654c59437dca7b
2017-07-11 23:09:03 +02:00
Ed Sanders
0917d27e61
Fix wikitext table insertion
...
Since Ic8b11d8052 #insertContent puts multiline strings on separate
lines, so to get this to behave correctly, pass in linear data instead.
Bug: T170160
Change-Id: Ie121fce1af46c6834945f4de30bcd9924ee96fd1
2017-07-10 16:16:11 +01:00
Translation updater bot
ec3677e001
Localisation updates from https://translatewiki.net .
...
Change-Id: If34229d9423fb41b99ae7e6d578d247a924d669e
2017-07-08 22:49:24 +02:00
Translation updater bot
b67d8d5da9
Localisation updates from https://translatewiki.net .
...
Change-Id: Iab72a6b6f3236203dce7ea6bf8ec3c1b7bd96acb
2017-07-06 23:04:57 +02:00
James D. Forrester
528942c2e1
Drop local 'template' icon, use 'puzzle' from upstream
...
Now that our template icon has been upstreamed thereto.
Bug: T111041
Change-Id: If101018de284dcc1be086d92427de0d88adb0e02
2017-07-06 09:52:56 -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
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
Translation updater bot
90841ca36c
Localisation updates from https://translatewiki.net .
...
Change-Id: I87974d7d4cbd1f83e913953849d7583d5aa60fc0
2017-06-30 23:43:26 +02:00
jenkins-bot
59d74932b0
Merge "Update VE core submodule to master (b528a5321)"
2017-06-29 07:39:01 +00:00
Translation updater bot
1055bebefc
Localisation updates from https://translatewiki.net .
...
Change-Id: I6b7d0c0b29a571c695078b8a00086470751df315
2017-06-28 23:18:21 +02: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
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
15c6011875
Merge "Ensure MWInlineImages get the ve-ce-leafNode class"
2017-06-27 17:15:44 +00:00
Translation updater bot
42ca5c6d1e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibb3f2f38abf77af4872012fb32f73f89d94d0c7b
2017-06-26 23:08:30 +02:00
jenkins-bot
7f14f854c4
Merge "ve.init.mw.DesktopArticleTarget: Remove some hacks"
2017-06-26 20:27:09 +00: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
Translation updater bot
48c6e558ea
Localisation updates from https://translatewiki.net .
...
Change-Id: I03013c77fdaffbca561a7e3a3462a5469703b25b
2017-06-22 23:10:14 +02:00
Ed Sanders
11e6e25ac6
Clear all diff state when switching editors
...
Bug: T168618
Change-Id: I19ff5054b87568546bfe1202d67c5d863e1549be
2017-06-22 10:54:04 -07:00