Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1415,7 +1415,7 @@ |
1416 | 1416 | $editsummary = "<div class='editOptions'>\n"; |
1417 | 1417 | global $wgParser; |
1418 | 1418 | $formattedSummary = wfMsgForContent( 'newsectionsummary', $wgParser->stripSectionName( $this->summary ) ); |
1419 | | - $subjectpreview = $summarytext && $this->preview ? |
| 1419 | + $subjectpreview = $summarytext && ( $this->preview || $this->diff ) ? |
1420 | 1420 | "<div class=\"mw-summary-preview\">". wfMsgExt('subject-preview', 'parseinline') . $sk->commentBlock( $formattedSummary, $this->mTitle, true )."</div>\n" : ''; |
1421 | 1421 | $summarypreview = ''; |
1422 | 1422 | } else { |
— | — | @@ -1442,7 +1442,7 @@ |
1443 | 1443 | . $editsummary . '<br/>'; |
1444 | 1444 | |
1445 | 1445 | $summarypreview = ''; |
1446 | | - if ( $summarytext && $this->preview ) { |
| 1446 | + if ( $summarytext && ( $this->preview || $this->diff ) ) { |
1447 | 1447 | $summarypreview = |
1448 | 1448 | Xml::tags( 'div', |
1449 | 1449 | array( 'class' => 'mw-summary-preview' ), |