Commit graph

15863 commits

Author SHA1 Message Date
libraryupgrader cdd3c69db5 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I59039cf354649d34661be0151df5dd94807606b4
2019-06-10 04:40:05 +00:00
jenkins-bot e60c7d777e Merge "Update VE core submodule to master (e531c251e)" 2019-06-07 21:37:40 +00:00
libraryupgrader a32c2a42e5 build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Change-Id: Iec9fc6e2ec593f7bcf8c1fe6b5762b65db2929ec
2019-06-07 15:54:03 +00:00
Translation updater bot edaa1d86d6 Localisation updates from https://translatewiki.net.
Change-Id: Idda8d8498ee74e4790a2c100c2c70512d4adcec1
2019-06-06 22:49:22 +02:00
James D. Forrester 14e747b398 Update VE core submodule to master (e531c251e)
New changes:
7f101ce9a Add new messages for add/edit link
e531c251e Update OOUI to v0.32.1

Change-Id: Ib9fb48c531c8bc787bd2efc3e4f59af8977b1977
2019-06-05 15:38:12 -07:00
Bartosz Dziewoński eb8aede95f MobileArticleTarget: Update loading interface for new design
* Remove animation for toolbar sliding into place. It now happens on
  the fake toolbar in MobileFrontend shown before the real toolbar
  loads, and our toolbar just transparently replaces it.

Bug: T217784
Depends-On: If21aa0ea619ec2500ce5fca6fe81eb27f26bb047
Change-Id: Ib6ff7594e1982d1b46e9ca89d6b9722d025e8207
2019-06-05 12:43:33 -04:00
Bartosz Dziewoński f48b5bcc9a MobileArticleTarget: Fix silly indirection via a global variable
Change-Id: I71349313b493c18cebe30df0b1b03defe81bb80e
2019-06-05 16:40:18 +00:00
Jforrester c1b9ce84c8 Merge "CollabTarget: Enable undo" 2019-06-05 03:25:04 +00:00
Jforrester 597bbefe0b Merge "Update VE core submodule to master (2da36280a)" 2019-06-05 03:24:45 +00:00
Ed Sanders 48b4051bef CollabTarget: Enable undo
Change-Id: I228ae26662d6577a1499ded1611b48a96f2fc8ef
Depends-On: Ic40e7290a06175916c8b7c0b20b5e8e8acbba7c8
2019-06-04 22:59:13 +00:00
James D. Forrester 65edcaf631 Update VE core submodule to master (2da36280a)
New changes:
ca588de0d CommentAnnotation: Make deleteable
02eb9e835 Synchronizer: Fix defaultName config
4101ca058 Add removeEmptyLastChildOnEnter to CheckListNode
080317f9f CheckListNode: Flip margins based on content direction
df1dbd0c4 Localisation updates from https://translatewiki.net.
a55f5d7d9 Make undo concurrency-aware

Bug: T185706
Change-Id: Id2b993eb6efcb0dde0c7d1ea1fc6a6cf91bc0e43
2019-06-04 15:57:46 -07:00
Bartosz Dziewoński 9cbc22c70d MobileArticleTarget: Remove a method that just calls the parent
Follow-up to 500462f4b2.

Change-Id: I1916a58b8814d1f03a14a35881f531d9de319736
2019-06-04 15:52:13 -04:00
Bartosz Dziewoński 4184d44dc5 MobileArticleTarget: Remove duplicate way to trigger abandon warnings
Abandon warnings are already handled by the code in MobileFrontend's
EditorOverlayBase. Using window.history.back() causes that code to run.
Having a duplicate way to trigger them only results in inconsistencies
because our dialogs animate in a different way.

Bug: T222315
Change-Id: I19c5616a6aeecf0ac63f37a564ef44f11df010b0
2019-06-04 15:50:59 -04:00
Translation updater bot 742564d1d2 Localisation updates from https://translatewiki.net.
Change-Id: Id625d72c939e7b643ebb6bfc0ce4c05cb20597a0
2019-06-02 22:31:12 +02:00
jenkins-bot 1ed01e0a05 Merge "Synchronizer: Fix defaultName config" 2019-06-02 15:43:16 +00:00
Ed Sanders 25cbd22b23 Synchronizer: Fix defaultName config
Change-Id: I2b7482f6405d7da8515f30c8060f7eac1758e6a9
2019-06-01 17:51:41 +01:00
Umherirrender e1442aa343 Add phan
Change-Id: I7352036536c1c8415b681f48f3ee0dcec315c035
2019-05-31 14:48:22 +00:00
Thalia cdb3b880af Use MediaWiki\Block\DatabaseBlock instead of Block
This follows the rename of the Block class in I6d96b63ca0.

Change-Id: Ib652feb34b7f10726ec775ff2929ca12ed66a8e1
2019-05-31 15:34:00 +01:00
Ed Sanders dbd4dfd727 Update VE core submodule to master (53e69bf14)
New changes:
5810e0cd4 Update UnicodeJS to v12.0.0
145991ded Fix file list on demo page
53e69bf14 SurfaceSynchronizer: Force websocket transport

Bug: T201531
Bug: T201532
Bug: T201533
Bug: T201534
Change-Id: I96beb31df55b41bf1d259f5e6964245008face22
2019-05-30 23:02:27 +01:00
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