Code Duplication    Length = 7-7 lines in 3 locations

includes/parser/CoreParserFunctions.php 3 locations

@@ 606-612 (lines=7) @@
603
		}
604
		return wfEscapeWikiText( $t->getPartialURL() );
605
	}
606
	public static function fullpagename( $parser, $title = null ) {
607
		$t = Title::newFromText( $title );
608
		if ( is_null( $t ) || !$t->canTalk() ) {
609
			return '';
610
		}
611
		return wfEscapeWikiText( $t->getPrefixedText() );
612
	}
613
	public static function fullpagenamee( $parser, $title = null ) {
614
		$t = Title::newFromText( $title );
615
		if ( is_null( $t ) || !$t->canTalk() ) {
@@ 676-682 (lines=7) @@
673
		}
674
		return wfEscapeWikiText( $t->getTalkPage()->getPrefixedURL() );
675
	}
676
	public static function subjectpagename( $parser, $title = null ) {
677
		$t = Title::newFromText( $title );
678
		if ( is_null( $t ) ) {
679
			return '';
680
		}
681
		return wfEscapeWikiText( $t->getSubjectPage()->getPrefixedText() );
682
	}
683
	public static function subjectpagenamee( $parser, $title = null ) {
684
		$t = Title::newFromText( $title );
685
		if ( is_null( $t ) ) {
@@ 683-689 (lines=7) @@
680
		}
681
		return wfEscapeWikiText( $t->getSubjectPage()->getPrefixedText() );
682
	}
683
	public static function subjectpagenamee( $parser, $title = null ) {
684
		$t = Title::newFromText( $title );
685
		if ( is_null( $t ) ) {
686
			return '';
687
		}
688
		return wfEscapeWikiText( $t->getSubjectPage()->getPrefixedURL() );
689
	}
690
691
	/**
692
	 * Return the number of pages, files or subcats in the given category,