|
@@ 2729-2732 (lines=4) @@
|
| 2726 |
|
$wgOut->addHTML( Html::hidden( 'format', $this->contentFormat ) ); |
| 2727 |
|
$wgOut->addHTML( Html::hidden( 'model', $this->contentModel ) ); |
| 2728 |
|
|
| 2729 |
|
if ( $this->section == 'new' ) { |
| 2730 |
|
$this->showSummaryInput( true, $this->summary ); |
| 2731 |
|
$wgOut->addHTML( $this->getSummaryPreview( true, $this->summary ) ); |
| 2732 |
|
} |
| 2733 |
|
|
| 2734 |
|
$wgOut->addHTML( $this->editFormTextBeforeContent ); |
| 2735 |
|
|
|
@@ 3592-3595 (lines=4) @@
|
| 3589 |
|
global $wgOut; |
| 3590 |
|
$wgOut->addHTML( "<div class='editOptions'>\n" ); |
| 3591 |
|
|
| 3592 |
|
if ( $this->section != 'new' ) { |
| 3593 |
|
$this->showSummaryInput( false, $this->summary ); |
| 3594 |
|
$wgOut->addHTML( $this->getSummaryPreview( false, $this->summary ) ); |
| 3595 |
|
} |
| 3596 |
|
|
| 3597 |
|
$checkboxes = $this->getCheckboxes( $tabindex, |
| 3598 |
|
[ 'minor' => $this->minoredit, 'watch' => $this->watchthis ] ); |