mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Revert "DesktopArticleTarget: Don't abort in SET mode if veswitched is set"
This reverts commit 5b083a7272
.
Change-Id: Ief26646da34e88b6a32c782a8b0b40dd1ba53903
This commit is contained in:
parent
bef99351b1
commit
35d38ae13a
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue