mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-27 04:06:51 +00:00
Fix action=edit links for NWE
We added support loading NWE from action=edit in I35208cce069 but missed this check in the front-end. Bug: T165238 Change-Id: I2732eaa81a3f968b34c4e878b2ad36de981dd567
This commit is contained in:
parent
2f40972807
commit
9342e45f7b
|
@ -362,7 +362,7 @@
|
|||
mw.config.get( 'wgAction' ) === 'edit' ||
|
||||
mw.config.get( 'wgAction' ) === 'submit'
|
||||
);
|
||||
isEditPage = conf.singleEditTab && (
|
||||
isEditPage = (
|
||||
uri.query.action === 'edit' ||
|
||||
uri.query.action === 'submit'
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue