Code Duplication    Length = 4-4 lines in 2 locations

includes/EditPage.php 2 locations

@@ 2743-2746 (lines=4) @@
2740
		$wgOut->addHTML( Html::hidden( 'format', $this->contentFormat ) );
2741
		$wgOut->addHTML( Html::hidden( 'model', $this->contentModel ) );
2742
2743
		if ( $this->section == 'new' ) {
2744
			$this->showSummaryInput( true, $this->summary );
2745
			$wgOut->addHTML( $this->getSummaryPreview( true, $this->summary ) );
2746
		}
2747
2748
		$wgOut->addHTML( $this->editFormTextBeforeContent );
2749
@@ 3616-3619 (lines=4) @@
3613
		global $wgOut;
3614
		$wgOut->addHTML( "<div class='editOptions'>\n" );
3615
3616
		if ( $this->section != 'new' ) {
3617
			$this->showSummaryInput( false, $this->summary );
3618
			$wgOut->addHTML( $this->getSummaryPreview( false, $this->summary ) );
3619
		}
3620
3621
		$checkboxes = $this->getCheckboxes( $tabindex,
3622
			[ 'minor' => $this->minoredit, 'watch' => $this->watchthis ] );