diff --git a/VisualEditor.hooks.php b/VisualEditor.hooks.php index b8272449ab..9f46b18ea7 100644 --- a/VisualEditor.hooks.php +++ b/VisualEditor.hooks.php @@ -150,8 +150,9 @@ class VisualEditorHooks { isset( $params['editintro'] ) || isset( $params['preload'] ) || isset( $params['preloadtitle'] ) || - isset( $params['preloadparams'] ); - // Known-good parameters: edit, veaction, section, vesection, veswitched + isset( $params['preloadparams'] ) || + isset( $params['veswitched'] ); + // Known-good parameters: edit, veaction, section, vesection $params['venoscript'] = '1'; $url = wfScript() . '?' . wfArrayToCgi( $params );