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

This commit is contained in:
jenkins-bot 2016-02-16 16:53:48 +00:00 committed by Gerrit Code Review
commit a87434c49e

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