Merge "Make visual diffs the default in visual mode"

This commit is contained in:
jenkins-bot 2018-01-27 00:21:24 +00:00 committed by Gerrit Code Review
commit d7d026425c

View file

@ -749,9 +749,8 @@ ve.ui.MWSaveDialog.prototype.getSetupProcess = function ( data ) {
// Config values used here:
// * visualeditor-diffmode-visual
// * visualeditor-diffmode-source
// TODO: Make 'visual' the default for visual mode (T178248)
this.reviewModeButtonSelect.selectItemByData(
ve.userConfig( 'visualeditor-diffmode-' + surfaceMode ) || 'source'
ve.userConfig( 'visualeditor-diffmode-' + surfaceMode ) || surfaceMode
);
// Old messages should not persist