mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Don't load VE or NWE on lint-targetted pages (until that works)"
This commit is contained in:
commit
a3a4ff3d20
|
@ -156,6 +156,7 @@ class VisualEditorHooks {
|
|||
isset( $params['preload'] ) ||
|
||||
isset( $params['preloadtitle'] ) ||
|
||||
isset( $params['preloadparams'] ) ||
|
||||
isset( $params['lintid'] ) ||
|
||||
isset( $params['veswitched'] );
|
||||
// Known-good parameters: edit, veaction, section
|
||||
|
||||
|
|
|
@ -865,6 +865,7 @@
|
|||
uri.query.preload === undefined &&
|
||||
uri.query.preloadtitle === undefined &&
|
||||
uri.query.preloadparams === undefined &&
|
||||
uri.query.lintid === undefined &&
|
||||
uri.query.veswitched === undefined
|
||||
// Known-good parameters: edit, veaction, section
|
||||
// TODO: other params too? See identical list in VisualEditor.hooks.php)
|
||||
|
|
Loading…
Reference in a new issue