mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
VisualEditorHooks: Mark the 'preview' parameter as unsupported
We don't currently support it in NWE. It has a very different design for previews that wouldn't really do what users expect. Let the old editor handle this. Bug: T195914 Change-Id: If0c0312347c212447bd8da7336c80bd4a1cb246a
This commit is contained in:
parent
7dc2fee2f7
commit
222ada6a8e
|
@ -19,6 +19,9 @@ class VisualEditorHooks {
|
||||||
private static $unsupportedEditParams = [
|
private static $unsupportedEditParams = [
|
||||||
'undo',
|
'undo',
|
||||||
'undoafter',
|
'undoafter',
|
||||||
|
// Only for WTE. This parameter is not supported right now, and NWE has a very different design
|
||||||
|
// for previews, so we might not want to support this at all.
|
||||||
|
'preview',
|
||||||
'veswitched'
|
'veswitched'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue