Merge "Don't load VE or NWE on lint-targetted pages (until that works)"

This commit is contained in:
jenkins-bot 2017-03-16 04:59:33 +00:00 committed by Gerrit Code Review
commit a3a4ff3d20
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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)