Revert r17905. Needs more thought, and may be annoying, particularly for large pages.
authorAndrew Garrett <werdna@users.mediawiki.org>
Sun, 7 Jan 2007 04:27:34 +0000 (04:27 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Sun, 7 Jan 2007 04:27:34 +0000 (04:27 +0000)
includes/EditPage.php

index 13cceb1..5c36690 100644 (file)
@@ -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' ) );