Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1022,10 +1022,12 @@ |
1023 | 1023 | $commentsubject="<span id='wpSummaryLabel'><label for='wpSummary'>{$subject}:</label></span>\n<div class='editOptions'>\n<input tabindex='1' type='text' value=\"$summarytext\" name='wpSummary' id='wpSummary' maxlength='200' size='60' /><br />"; |
1024 | 1024 | $editsummary = ''; |
1025 | 1025 | $subjectpreview = $summarytext && $this->preview ? "<div class=\"mw-summary-preview\">".wfMsg('subject-preview').':'.$sk->commentBlock( $this->summary, $this->mTitle )."</div>\n" : ''; |
| 1026 | + $summarypreview = ''; |
1026 | 1027 | } else { |
1027 | 1028 | $commentsubject = ''; |
1028 | 1029 | $editsummary="<span id='wpSummaryLabel'><label for='wpSummary'>{$summary}:</label></span>\n<div class='editOptions'>\n<input tabindex='2' type='text' value=\"$summarytext\" name='wpSummary' id='wpSummary' maxlength='200' size='60' /><br />"; |
1029 | 1030 | $summarypreview = $summarytext && $this->preview ? "<div class=\"mw-summary-preview\">".wfMsg('summary-preview').':'.$sk->commentBlock( $this->summary, $this->mTitle )."</div>\n" : ''; |
| 1031 | + $subjectpreview = ''; |
1030 | 1032 | } |
1031 | 1033 | |
1032 | 1034 | # Set focus to the edit box on load, except on preview or diff, where it would interfere with the display |