Fix action!=edit opening the editor
Bug: T196150 Change-Id: I5bd4b5ce231f5269676d0706e6762f33f6faa344
This commit is contained in:
parent
ec83db7d2d
commit
e91295a5ea
|
@ -310,7 +310,7 @@
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
} );
|
} );
|
||||||
|
|
||||||
if ( !router.getPath() && ( mw.util.getParamValue( 'veaction' ) || mw.util.getParamValue( 'action' ) ) ) {
|
if ( !router.getPath() && ( mw.util.getParamValue( 'veaction' ) || mw.util.getParamValue( 'action' ) === 'edit' ) ) {
|
||||||
if ( mw.util.getParamValue( 'veaction' ) === 'edit' ) {
|
if ( mw.util.getParamValue( 'veaction' ) === 'edit' ) {
|
||||||
editorOverride = 'VisualEditor';
|
editorOverride = 'VisualEditor';
|
||||||
} else if ( mw.util.getParamValue( 'veaction' ) === 'editsource' ) {
|
} else if ( mw.util.getParamValue( 'veaction' ) === 'editsource' ) {
|
||||||
|
|
Loading…
Reference in New Issue