|
@@ 3486-3489 (lines=4) @@
|
| 3483 |
|
global $wgOut; |
| 3484 |
|
$wgOut->addHTML( "<div class='editOptions'>\n" ); |
| 3485 |
|
|
| 3486 |
|
if ( $this->section != 'new' ) { |
| 3487 |
|
$this->showSummaryInput( false, $this->summary ); |
| 3488 |
|
$wgOut->addHTML( $this->getSummaryPreview( false, $this->summary ) ); |
| 3489 |
|
} |
| 3490 |
|
|
| 3491 |
|
$checkboxes = $this->getCheckboxes( $tabindex, |
| 3492 |
|
[ 'minor' => $this->minoredit, 'watch' => $this->watchthis ] ); |
|
@@ 2738-2741 (lines=4) @@
|
| 2735 |
|
$wgOut->addHTML( Html::hidden( 'format', $this->contentFormat ) ); |
| 2736 |
|
$wgOut->addHTML( Html::hidden( 'model', $this->contentModel ) ); |
| 2737 |
|
|
| 2738 |
|
if ( $this->section == 'new' ) { |
| 2739 |
|
$this->showSummaryInput( true, $this->summary ); |
| 2740 |
|
$wgOut->addHTML( $this->getSummaryPreview( true, $this->summary ) ); |
| 2741 |
|
} |
| 2742 |
|
|
| 2743 |
|
$wgOut->addHTML( $this->editFormTextBeforeContent ); |
| 2744 |
|
|