fix bug 41300, restore the continue-editing bit of the edit page preview note
authoraude <aude.wiki@gmail.com>
Tue, 23 Oct 2012 11:54:04 +0000 (13:54 +0200)
committeraude <aude.wiki@gmail.com>
Tue, 23 Oct 2012 11:58:23 +0000 (13:58 +0200)
Change-Id: I39fa7a0951f8e2afe7e25cb61cd1716429228371

includes/EditPage.php

index 15321fc..d2db142 100644 (file)
@@ -2931,11 +2931,7 @@ HTML
                                # Messages: usercsspreview, userjspreview, sitecsspreview, sitejspreview
                                if( $level && $format ) {
                                        $note = "<div id='mw-{$level}{$format}preview'>" . wfMessage( "{$level}{$format}preview" )->text()  . "</div>";
-                               } else {
-                                       $note = wfMessage( 'previewnote' )->text() ;
                                }
-                       } else {
-                               $note = wfMessage( 'previewnote' )->text() ;
                        }
 
                        $rt = $content->getRedirectChain();