jenkins-bot
8bd98a42af
Merge "Allow switching from WTE to VE with changes in non-RESTBase mode"
2019-05-30 21:10:37 +00:00
Translation updater bot
142810144b
Localisation updates from https://translatewiki.net .
...
Change-Id: I3af7db8676dde62427c9b66167f963ca9db05e06
2019-05-30 22:54:40 +02:00
Bartosz Dziewoński
8ae4925676
Allow switching from WTE to VE with changes in non-RESTBase mode
...
* Change the query in ve.init.mw.ArticleTargetLoader#requestParsoidData
so that in non-RESTBase mode with wikitext it still returns the
metadata required to initialize the editor, using the backend API
code added in I1b35b28e428a1f86d2e34d90ddbe73361ce14818. This fixes
the exception from T222312.
* Introduce new configuration option $wgVisualEditorAllowLossySwitching
to control this feature. It is enabled by default, fixing T214542.
We allow it to be disabled because switching in non-RESTBase mode may
cause "dirty diffs" (non-semantic changes to the wikitext), which are
undesirable on wikis where users carefully review all changes.
Bug: T214542
Bug: T222312
Change-Id: I58879cba5612002c70c24731306214d2577c2c52
2019-05-30 20:18:53 +02:00
jenkins-bot
0ce9cfcf90
Merge "Update VE core submodule to master (06f1ebb8e)"
2019-05-29 22:07:08 +00:00
Ed Sanders
b1ac5b74d3
Update VE core submodule to master (06f1ebb8e)
...
New changes:
06f1ebb8e Local/SessionStorage refactor
Local changes:
* Update for core storage refactor
Depends-On: I3cc1d5adfbce794e8345b7f1090c10fb0d42d150
Change-Id: If855ee33b0993788cc159d8c3acf03070e6a9566
2019-05-29 14:49:53 -07:00
jenkins-bot
e77313d780
Merge "Update VE core submodule to master (d9ece414a)"
2019-05-29 21:26:33 +00:00
James D. Forrester
0e7e88c43e
Update VE core submodule to master (d9ece414a)
...
New changes:
c0799b060 Source mode performance optimizations
d9ece414a ve.dm.MetaItem: Add removable flag
Bug: T96528
Change-Id: Ifc0d3322c0ab0c0384fd179281cb1ed7f3ff6b31
2019-05-29 12:31:24 -07:00
Umherirrender
c9c4b68d25
Remove class_exists by ExtensionRegistry check for ConfirmEdit extension
...
Change-Id: I6ffb1842600316f2a6309a0028e96e75fe75f0c8
2019-05-29 12:10:02 -07:00
jenkins-bot
4ec7272876
Merge "MWEditSummaryWidget: Use showSuggestionsOnFocus flag"
2019-05-29 15:29:13 +00:00
James D. Forrester
0c98fd06c8
Update VE core submodule to master (67f50262e)
...
New changes:
27a6c1b28 Fix find and replace selection handling
67f50262e Update OOUI to v0.32.0
Bug: T222247
Change-Id: I648a339f4d84967c64e66d76f6828af8031b8b63
2019-05-28 17:58:24 -07:00
jenkins-bot
795e7b13fb
Merge "Special-case redlink URLs to load preferred editor"
2019-05-28 23:21:28 +00:00
James D. Forrester
e2d2263540
Update VE core submodule to master (e3715c257)
...
New changes:
f33944071 Call handleInsertion on beforeinput
fea597f9f Localisation updates from https://translatewiki.net .
33750ce4a Revert "ve.ce.FocusableNode: Prevent native selection from changing on click"
Bug: T217223
Bug: T224042
Change-Id: I3b3b65f002e0d0852eb065338552243e4f1979ae
2019-05-28 10:45:53 -07:00
jenkins-bot
26ff1fd72d
Merge "Use nullSelectionOnBlur when section=new"
2019-05-28 14:37:50 +00:00
Translation updater bot
cc85c307f2
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib7b6c7cee86ba48537b8665f0b562e9fd80fa2a5
2019-05-28 08:56:29 +02:00
Ed Sanders
4dc8ee52a1
Use nullSelectionOnBlur when section=new
...
Section=new behaves more like a form than a full
document editor, so allow focus to be fully moved
to the title input without leaving a deactivated
cursor behind.
Change-Id: I7e3835da925b27f5df79dcbdd4550445795cdc51
2019-05-27 12:39:19 +01:00
Translation updater bot
1be7ab0488
Localisation updates from https://translatewiki.net .
...
Change-Id: I31c01a1de08b1ddd6f25da7c5d448e9faa84e023
2019-05-26 22:23:50 +02:00
Ed Sanders
4a692e762d
Special-case redlink URLs to load preferred editor
...
In general action=edit could be bound to a wikitext-specific
edit link, but in the case of redlinks we can use the
preferred editor instead.
Bug: T223793
Change-Id: Ib0851e9e2ce441ae93311153801e2c3de0a2063d
2019-05-26 17:55:38 +01:00
Bartosz Dziewoński
fbb56d66fa
Store 'canEdit' property when auto-saving or switching editors
...
Added in b9835f75d3
.
Bug: T224319
Change-Id: I05d6aa500ba921d114f33972369ad4dd53b8e140
2019-05-24 23:15:38 +02:00
James D. Forrester
4a7231f3ee
Update VE core submodule to master (3c069c39f)
...
New changes:
c843549bc ve.ui.Surface: Remove unneeded code handling mobile dialogs
9d530f337 Don't show mobile table context on desktop
Bug: T211240
Change-Id: I8975279f4ee29eb290c6b6238a8106077857635f
2019-05-24 09:57:41 -07:00
jenkins-bot
9dac4f7746
Merge "MWInternalLinkAnnotation: handle non-internal links that say they're mw:WikiLink"
2019-05-24 16:54:15 +00:00
jenkins-bot
a5724f8fe5
Merge "'scrollCursorIntoView' -> 'scrollSelectionIntoView'"
2019-05-24 16:40:32 +00:00
Ed Sanders
5b4158860a
'scrollCursorIntoView' -> 'scrollSelectionIntoView'
...
Change-Id: I202b1bdb3196b318c26422577b66de66d37080c8
Depends-On: Iac446ce9fce170b43c96001ca89e8af4825522ca
2019-05-24 10:11:38 +00:00
Ed Sanders
c1130d386c
MWEditSummaryWidget: Use showSuggestionsOnFocus flag
...
Bug: T169484
Depends-On: Ib47c9831ea712bf92b56a88474c3419067124458
Change-Id: I8697e153d4ed0bfbc8d89b65ff63a302c11a27ea
2019-05-24 11:09:26 +01:00
James D. Forrester
6c368a0303
Update VE core submodule to master (68b031087)
...
New changes:
68b031087 ve.init.Target: Fix errant call to setSurfacePadding, not setPadding
Bug: T224255
Change-Id: I19db16ec5849968f48658e4149bf7410b58ece5e
2019-05-23 16:45:28 -07:00
Translation updater bot
37c239fadd
Localisation updates from https://translatewiki.net .
...
Change-Id: I88a668ff5b24842a4a734bfaa0a251f849a99b48
2019-05-23 23:06:43 +02:00
Bartosz Dziewoński
d43262feb6
ve.ui.MWEditSummaryWidget: Remove a hack for T220204
...
Change-Id: I1539eb72b9b313c32743b300a58a734f3eaafef4
2019-05-23 21:30:15 +02:00
jenkins-bot
603223152c
Merge "Replace call to setToolbarHeight with setPadding"
2019-05-23 18:25:46 +00:00
jenkins-bot
862390af6c
Merge "Update VE core submodule to master (c3d8228b8)"
2019-05-23 18:25:22 +00:00
Ed Sanders
617e4d8d61
Replace call to setToolbarHeight with setPadding
...
Bug: T224126
Depends-On: Id5f7ead769dc30c0fbd2a8b8f6f6c4d68dcfabac
Change-Id: I140cdb320dbb0368bc36a0a0210523937b9f7dea
2019-05-23 18:11:03 +00:00
jenkins-bot
9482cc3ec5
Merge "Debounce calls to 'adjustContentPadding'"
2019-05-23 17:57:14 +00:00
James D. Forrester
fd7e4e3abd
Update VE core submodule to master (c3d8228b8)
...
New changes:
120c96c94 Replace surface's 'toolbarHeight' with generic 'padding'
c3d8228b8 Localisation updates from https://translatewiki.net .
Bug: T224126
Change-Id: If374b215f942220f157bfedbe481ed79d69e9d85
2019-05-23 10:54:35 -07:00
Translation updater bot
42411c942c
Localisation updates from https://translatewiki.net .
...
Change-Id: If7270724d65450fd86d1ff6ae2e4e11415c0faed
2019-05-22 22:32:22 +02:00
James D. Forrester
700087e5fe
Update VE core submodule to master (d5a7325ef)
...
New changes:
ae1c9f741 AlignableContextItem: Hide labels on mobile for space
c32f27d63 Localisation updates from https://translatewiki.net .
71f10a10b Remove fullCol/fullRow selection style
d5a7325ef Unify selection scroll code
Bug: T220227
Change-Id: I294b1b63f34530b2b649e15d9f63f6c0e1ae2e96
2019-05-22 09:37:28 -07:00
Ed Sanders
9bc0383733
Debounce calls to 'adjustContentPadding'
...
Change-Id: I045ad541c5997a7d9c0f24b4e097057524756def
2019-05-22 15:06:12 +01:00
Ed Sanders
4beab42217
Switch to wikitext: Don't set oldid if unmodified current ID
...
Bug: T223651
Change-Id: I5a896cd98d304c419e61c5f56adb6175bc1c72a8
2019-05-22 14:32:54 +01:00
Translation updater bot
07bf8b723c
Localisation updates from https://translatewiki.net .
...
Change-Id: I68d0f801fa1732a328b574c9fb13b18bef0d05ad
2019-05-20 22:31:29 +02:00
jenkins-bot
e6d885789e
Merge "Check if page is really editable and call #setReadOnly accordingly"
2019-05-18 18:10:59 +00:00
Bartosz Dziewoński
222ada6a8e
VisualEditorHooks: Mark the 'preview' parameter as unsupported
...
We don't currently support it in NWE. It has a very different design
for previews that wouldn't really do what users expect. Let the old
editor handle this.
Bug: T195914
Change-Id: If0c0312347c212447bd8da7336c80bd4a1cb246a
2019-05-18 19:08:31 +02:00
Bartosz Dziewoński
b9835f75d3
Check if page is really editable and call #setReadOnly accordingly
...
There are various circumstances where the wgIsProbablyEditable check
gives incorrect results (hence the 'probably'):
* User is blocked (T111217)
* Page is protected from creation (T173763)
* Page is transcluded on a cascade-protected page (T217217)
Bug: T111217
Bug: T173763
Bug: T217217
Change-Id: I7df8909c31f29d2e7521bef8612c27cb61146a4d
2019-05-18 17:23:31 +02:00
jenkins-bot
7dc2fee2f7
Merge "MobileCollabTarget: Cleanup toolbar"
2019-05-17 16:55:29 +00:00
jenkins-bot
2037b2c772
Merge "CollabTarget: Disable nullSelectionOnBlur, as per ArticleTarget"
2019-05-17 15:13:16 +00:00
Ed Sanders
d3d8748967
CollabTarget: Disable nullSelectionOnBlur, as per ArticleTarget
...
Change-Id: I690e6d63109267f3b385311ecdf84eea24b0e998
2019-05-17 16:29:53 +02:00
Ed Sanders
a046bacead
Update VE core submodule to master (334260638)
...
New changes:
e01936d72 Tweak table selection rects in Chrome/Firefox
334260638 Localisation updates from https://translatewiki.net .
Change-Id: I70f78c7e98c42be2e171a47cb6a572005c2a8ac5
2019-05-17 14:40:20 +02:00
Ed Sanders
b6704010fa
Automatically add a template when chosen from the autocomplete list
...
This behaves in the same way as the link inspector.
Change-Id: I8901c636cd5c74023f4c6c562b410f55afe91124
2019-05-17 13:15:07 +02:00
Translation updater bot
ffcda8b9ce
Localisation updates from https://translatewiki.net .
...
Change-Id: Id1269fe72a790f85c18963a632afa19f4b9bdef3
2019-05-16 09:10:43 +02:00
Translation updater bot
88820032ab
Localisation updates from https://translatewiki.net .
...
Change-Id: I9eea7b3fbca2511d3320592f9f15b9e6c6ba8720
2019-05-15 09:15:16 +02:00
David Lynch
c66f8e0547
MWInternalLinkAnnotation: handle non-internal links that say they're mw:WikiLink
...
The likely case for this is: copying from within VE in one wiki, and pasting
into VE in another wiki. This change will notice this happening, and fall back
to treat it as an external link. (For the wiki-internal links, this will turn
them into interwiki links rather than raw external links.)
Bug: T223322
Change-Id: Ie0157fc3aee6e5fd9973a2889be7ebd287bc90a5
2019-05-14 14:35:39 -05:00
Ed Sanders
47af04b8d9
MobileCollabTarget: Cleanup toolbar
...
Change-Id: I4b2e21ce61cb647ca6a74bdbdd8def614ed41341
2019-05-14 20:19:54 +01:00
Ed Sanders
3285b7dbe5
Initialize $restbaseHeaders to null
...
Bug: T223281
Change-Id: I8bead40c35323cd4082f55ac529f900403f76f37
2019-05-14 16:07:22 +01:00
jenkins-bot
b267913dc1
Merge "DesktopArticleTarget.init: Fix wrong message used for 'Edit' tab in rare cases"
2019-05-14 10:19:46 +00:00