Code Duplication    Length = 3-7 lines in 2 locations

includes/specials/SpecialVersion.php 2 locations

@@ 399-405 (lines=7) @@
396
	public function getExtensionCredits() {
397
		global $wgExtensionCredits;
398
399
		if (
400
			count( $wgExtensionCredits ) === 0 ||
401
			// Skins are displayed separately, see getSkinCredits()
402
			( count( $wgExtensionCredits ) === 1 && isset( $wgExtensionCredits['skin'] ) )
403
		) {
404
			return '';
405
		}
406
407
		$extensionTypes = self::getExtensionTypes();
408
@@ 452-454 (lines=3) @@
449
	 */
450
	public function getSkinCredits() {
451
		global $wgExtensionCredits;
452
		if ( !isset( $wgExtensionCredits['skin'] ) || count( $wgExtensionCredits['skin'] ) === 0 ) {
453
			return '';
454
		}
455
456
		$out = Xml::element(
457
				'h2',