mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Merge "Fix inheritance of isResizable" 2019-05-13 18:11:44 +00:00
dm MWInternalLinkAnnotation: handle non-internal links that say they're mw:WikiLink 2019-05-14 14:35:39 -05:00
init Allow switching from WTE to VE with changes in non-RESTBase mode 2019-05-30 20:18:53 +02:00
tests Store 'canEdit' property when auto-saving or switching editors 2019-05-24 23:15:38 +02:00
themes ve.ui.MWSaveDialog: Fix border radius styles after changes in OOUI 2019-04-16 17:35:56 +02:00
ui Merge "MWEditSummaryWidget: Use showSuggestionsOnFocus flag" 2019-05-29 15:29:13 +00:00
ve.MWutils.js eslint: Enable valid-jsdoc 2019-04-17 17:13:39 +01:00