Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1327,7 +1327,6 @@ |
1328 | 1328 | if ( $this->missingSummary ) $summaryhiddens .= Xml::hidden( 'wpIgnoreBlankSummary', true ); |
1329 | 1329 | $autosumm = $this->autoSumm ? $this->autoSumm : md5( $this->summary ); |
1330 | 1330 | $summaryhiddens .= Xml::hidden( 'wpAutoSummary', $autosumm ); |
1331 | | - $subjectPreviewMsg = wfMsgExt( 'subject-preview', array( 'escapenoentities' ) ); |
1332 | 1331 | if ( $this->section == 'new' ) { |
1333 | 1332 | $commentsubject = "<span id='wpSummaryLabel'><label for='wpSummary'>{$subject}</label></span>\n" . |
1334 | 1333 | "<input tabindex='1' type='text' value=\"$summarytext\" name='wpSummary' id='wpSummary' maxlength='200' size='60' />" . |
— | — | @@ -1336,7 +1335,8 @@ |
1337 | 1336 | global $wgParser; |
1338 | 1337 | $formattedSummary = wfMsgForContent( 'newsectionsummary', $wgParser->stripSectionName( $this->summary ) ); |
1339 | 1338 | $subjectpreview = $summarytext && $this->preview ? |
1340 | | - "<div class=\"mw-summary-preview\">" . $subjectPreviewMsg . $sk->commentBlock( $formattedSummary, $this->mTitle, true ) . "</div>\n" : ''; |
| 1339 | + "<div class=\"mw-summary-preview\">" . wfMsgExt( 'subject-preview', array( 'escapenoentities' ) ) . |
| 1340 | + $sk->commentBlock( $formattedSummary, $this->mTitle, true ) . "</div>\n" : ''; |
1341 | 1341 | $summarypreview = ''; |
1342 | 1342 | } else { |
1343 | 1343 | $commentsubject = ''; |
— | — | @@ -1345,7 +1345,8 @@ |
1346 | 1346 | "{$summaryhiddens}<br />"; |
1347 | 1347 | $subjectpreview = ''; |
1348 | 1348 | $summarypreview = $summarytext && $this->preview ? |
1349 | | - "<div class=\"mw-summary-preview\">" . $subjectPreviewMsg . $sk->commentBlock( $this->summary, $this->mTitle ) . "</div>\n" : ''; |
| 1349 | + "<div class=\"mw-summary-preview\">" . wfMsgExt( 'summary-preview', array( 'escapenoentities' ) ) . |
| 1350 | + $sk->commentBlock( $this->summary, $this->mTitle ) . "</div>\n" : ''; |
1350 | 1351 | } |
1351 | 1352 | |
1352 | 1353 | # Set focus to the edit box on load, except on preview or diff, where it would interfere with the display |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1055,7 +1055,7 @@ |
1056 | 1056 | 'missingcommenttext' => 'Please enter a comment below.', |
1057 | 1057 | 'missingcommentheader' => "'''Reminder:''' You have not provided a subject/headline for this comment. |
1058 | 1058 | If you click Save again, your edit will be saved without one.", |
1059 | | -'summary-preview' => 'Summary preview', |
| 1059 | +'summary-preview' => 'Summary preview:', |
1060 | 1060 | 'subject-preview' => 'Subject/headline preview:', |
1061 | 1061 | 'blockedtitle' => 'User is blocked', |
1062 | 1062 | 'blockedtext' => "<big>'''Your user name or IP address has been blocked.'''</big> |