From 35d38ae13ab435eeccd1052bf4c4ed5b366ff1b6 Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Fri, 12 Feb 2016 23:36:22 +0000 Subject: [PATCH] Revert "DesktopArticleTarget: Don't abort in SET mode if veswitched is set" This reverts commit 5b083a7272e5857ad61c58b863139c48b72df310. Change-Id: Ief26646da34e88b6a32c782a8b0b40dd1ba53903 --- VisualEditor.hooks.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 );