Code Duplication    Length = 7-7 lines in 2 locations

includes/parser/Parser.php 2 locations

@@ 2568-2574 (lines=7) @@
2565
			case 'rootpagename':
2566
				$value = wfEscapeWikiText( $this->mTitle->getRootText() );
2567
				break;
2568
			case 'rootpagenamee':
2569
				$value = wfEscapeWikiText( wfUrlencode( str_replace(
2570
					' ',
2571
					'_',
2572
					$this->mTitle->getRootText()
2573
				) ) );
2574
				break;
2575
			case 'basepagename':
2576
				$value = wfEscapeWikiText( $this->mTitle->getBaseText() );
2577
				break;
@@ 2578-2584 (lines=7) @@
2575
			case 'basepagename':
2576
				$value = wfEscapeWikiText( $this->mTitle->getBaseText() );
2577
				break;
2578
			case 'basepagenamee':
2579
				$value = wfEscapeWikiText( wfUrlencode( str_replace(
2580
					' ',
2581
					'_',
2582
					$this->mTitle->getBaseText()
2583
				) ) );
2584
				break;
2585
			case 'talkpagename':
2586
				if ( $this->mTitle->canTalk() ) {
2587
					$talkPage = $this->mTitle->getTalkPage();