Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1340,7 +1340,7 @@ |
1341 | 1341 | $autosumm = $this->autoSumm ? $this->autoSumm : md5( $this->summary ); |
1342 | 1342 | $summaryhiddens .= Xml::hidden( 'wpAutoSummary', $autosumm ); |
1343 | 1343 | if ( $this->section == 'new' ) { |
1344 | | - $commentsubject="<span id='wpSummaryLabel'><label for='wpSummary'>{$subject}</label></span>\n<input tabindex='1' type='text' value=\"$summarytext\" name='wpSummary' id='wpSummary' maxlength='200' size='60' />{$summaryhiddens}<br />"; |
| 1344 | + $commentsubject = $wgRequest->getBool( 'nosummary' ) ? '' : "<span id='wpSummaryLabel'><label for='wpSummary'>{$subject}</label></span>\n<input tabindex='1' type='text' value=\"$summarytext\" name='wpSummary' id='wpSummary' maxlength='200' size='60' />{$summaryhiddens}<br />"; |
1345 | 1345 | $editsummary = "<div class='editOptions'>\n"; |
1346 | 1346 | global $wgParser; |
1347 | 1347 | $formattedSummary = wfMsgForContent( 'newsectionsummary', $wgParser->stripSectionName( $this->summary ) ); |