Code Duplication    Length = 4-4 lines in 2 locations

includes/EditPage.php 2 locations

@@ 2624-2627 (lines=4) @@
2621
		$wgOut->addHTML( Html::hidden( 'format', $this->contentFormat ) );
2622
		$wgOut->addHTML( Html::hidden( 'model', $this->contentModel ) );
2623
2624
		if ( $this->section == 'new' ) {
2625
			$this->showSummaryInput( true, $this->summary );
2626
			$wgOut->addHTML( $this->getSummaryPreview( true, $this->summary ) );
2627
		}
2628
2629
		$wgOut->addHTML( $this->editFormTextBeforeContent );
2630
@@ 3436-3439 (lines=4) @@
3433
		global $wgOut;
3434
		$wgOut->addHTML( "<div class='editOptions'>\n" );
3435
3436
		if ( $this->section != 'new' ) {
3437
			$this->showSummaryInput( false, $this->summary );
3438
			$wgOut->addHTML( $this->getSummaryPreview( false, $this->summary ) );
3439
		}
3440
3441
		$checkboxes = $this->getCheckboxes( $tabindex,
3442
			[ 'minor' => $this->minoredit, 'watch' => $this->watchthis ] );