Revert "DesktopArticleTarget: Don't abort in SET mode if veswitched is set"

This reverts commit 5b083a7272.

Change-Id: Ief26646da34e88b6a32c782a8b0b40dd1ba53903
This commit is contained in:
Alex Monk 2016-02-12 23:36:22 +00:00 committed by Jforrester
parent bef99351b1
commit 35d38ae13a

View file

@ -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 );