Code Duplication    Length = 4-4 lines in 2 locations

includes/EditPage.php 2 locations

@@ 2686-2689 (lines=4) @@
2683
		$out->addHTML( Html::hidden( 'format', $this->contentFormat ) );
2684
		$out->addHTML( Html::hidden( 'model', $this->contentModel ) );
2685
2686
		if ( $this->section == 'new' ) {
2687
			$this->showSummaryInput( true, $this->summary );
2688
			$out->addHTML( $this->getSummaryPreview( true, $this->summary ) );
2689
		}
2690
2691
		$out->addHTML( $this->editFormTextBeforeContent );
2692
@@ 3480-3483 (lines=4) @@
3477
		$out = $this->context->getOutput();
3478
		$out->addHTML( "<div class='editOptions'>\n" );
3479
3480
		if ( $this->section != 'new' ) {
3481
			$this->showSummaryInput( false, $this->summary );
3482
			$out->addHTML( $this->getSummaryPreview( false, $this->summary ) );
3483
		}
3484
3485
		$checkboxes = $this->getCheckboxes( $tabindex,
3486
			[ 'minor' => $this->minoredit, 'watch' => $this->watchthis ] );