mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
Merge "Always enable visual diff when diffmode=visual"
This commit is contained in:
commit
b94265acc3
|
@ -118,8 +118,10 @@ class VisualEditorHooks {
|
|||
$veConfig->get( 'VisualEditorEnableDiffPage' ) ||
|
||||
// Enabled as user beta feature
|
||||
$userOptionsLookup->getOption( $user, 'visualeditor-visualdiffpage' ) ||
|
||||
// Enabled by query param (deprecated)
|
||||
$output->getRequest()->getVal( 'visualdiff' ) !== null ||
|
||||
// Enabled by query param
|
||||
$output->getRequest()->getVal( 'visualdiff' ) !== null
|
||||
$output->getRequest()->getVal( 'diffmode' ) === 'visual'
|
||||
) ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue