mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Revert "DesktopArticleTarget: Don't abort in SET mode if veswitched is set""
This commit is contained in:
commit
a87434c49e
|
@ -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