From fe85ee1ba6fcd51fcdd357ee988849fd65667bc9 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Sat, 31 Dec 2016 15:22:11 +0000 Subject: [PATCH] Don't block VE/NWE from loading if 'editintro' is specified Later we should actually show the edit intro, but that is a separate issue (T56029). Bug: T153481 Change-Id: I97622a3d86b975866305aaa745bac51f6b55f217 --- VisualEditor.hooks.php | 1 - .../ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js | 1 - 2 files changed, 2 deletions(-) diff --git a/VisualEditor.hooks.php b/VisualEditor.hooks.php index 332bcc2533..153fd1c664 100644 --- a/VisualEditor.hooks.php +++ b/VisualEditor.hooks.php @@ -152,7 +152,6 @@ class VisualEditorHooks { // TODO: Other params too? See identical list in ve.init.mw.DesktopArticleTarget.init.js isset( $params['undo'] ) || isset( $params['undoafter'] ) || - isset( $params['editintro'] ) || isset( $params['preload'] ) || isset( $params['preloadtitle'] ) || isset( $params['preloadparams'] ) || diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js index 7c8b6d005e..6bb2ae8f42 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js @@ -842,7 +842,6 @@ if ( uri.query.undo === undefined && uri.query.undoafter === undefined && - uri.query.editintro === undefined && uri.query.preload === undefined && uri.query.preloadtitle === undefined && uri.query.preloadparams === undefined &&