Code Duplication    Length = 6-6 lines in 2 locations

includes/diff/DifferenceEngine.php 2 locations

@@ 355-360 (lines=6) @@
352
				'<div id="mw-diff-otitle5">' . $oldChangeTags[0] . '</div>' .
353
				'<div id="mw-diff-otitle4">' . $prevlink . '</div>';
354
355
			if ( $this->mOldRev->isDeleted( Revision::DELETED_TEXT ) ) {
356
				$deleted = true; // old revisions text is hidden
357
				if ( $this->mOldRev->isDeleted( Revision::DELETED_RESTRICTED ) ) {
358
					$suppressed = true; // also suppressed
359
				}
360
			}
361
362
			# Check if this user can see the revisions
363
			if ( !$this->mOldRev->userCan( Revision::DELETED_TEXT, $user ) ) {
@@ 416-421 (lines=6) @@
413
			'<div id="mw-diff-ntitle5">' . $newChangeTags[0] . '</div>' .
414
			'<div id="mw-diff-ntitle4">' . $nextlink . $this->markPatrolledLink() . '</div>';
415
416
		if ( $this->mNewRev->isDeleted( Revision::DELETED_TEXT ) ) {
417
			$deleted = true; // new revisions text is hidden
418
			if ( $this->mNewRev->isDeleted( Revision::DELETED_RESTRICTED ) ) {
419
				$suppressed = true; // also suppressed
420
			}
421
		}
422
423
		# If the diff cannot be shown due to a deleted revision, then output
424
		# the diff header and links to unhide (if available)...