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

Bug: T160102
Change-Id: Ibb364ff2d89975d5907fa887cca666eee6e78d37
This commit is contained in:
James D. Forrester 2017-03-15 14:23:17 -07:00
parent 2a9562aca5
commit c07a6df74c
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)