diff --git a/VisualEditor.hooks.php b/VisualEditor.hooks.php index 9b4c1db50b..39d2c49ac1 100644 --- a/VisualEditor.hooks.php +++ b/VisualEditor.hooks.php @@ -23,6 +23,8 @@ class VisualEditorHooks { public static function onBeforePageDisplay( &$output, &$skin ) { global $wgVisualEditorNamespaces; if ( + // Disable on redirect pages until redirects are editable + !$skin->getTitle()->isRedirect() && // User has the 'visualeditor-enable' preference set $skin->getUser()->getOption( 'visualeditor-enable' ) && in_array( $skin->getSkinName(), self::$supportedSkins ) &&