From 6989375647ccbf985658747e3249629f5146e5d9 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Sun, 7 Jan 2007 04:27:34 +0000 Subject: [PATCH] Revert r17905. Needs more thought, and may be annoying, particularly for large pages. --- includes/EditPage.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 13cceb1841..5c36690d6c 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -122,7 +122,6 @@ class EditPage { # Inform the user of our success and set an automatic edit summary $this->editFormPageTop .= $wgOut->parse( wfMsgNoTrans( 'undo-success' ) ); $this->summary = wfMsgForContent( 'undo-summary', $undo, $undorev->getUserText() ); - $this->formtype = 'preview'; # Preview the result. } else { # Warn the user that something went wrong $this->editFormPageTop .= $wgOut->parse( wfMsgNoTrans( 'undo-failure' ) ); -- 2.20.1