Code Duplication    Length = 6-7 lines in 2 locations

includes/specialpage/QueryPage.php 1 location

@@ 814-819 (lines=6) @@
811
		return isset( $row->user_text ) ? $row->user_text : '';
812
	}
813
814
	function feedTitle() {
815
		$desc = $this->getDescription();
816
		$code = $this->getConfig()->get( 'LanguageCode' );
817
		$sitename = $this->getConfig()->get( 'Sitename' );
818
		return "$sitename - $desc [$code]";
819
	}
820
821
	function feedDesc() {
822
		return $this->msg( 'tagline' )->text();

includes/specials/SpecialNewpages.php 1 location

@@ 448-454 (lines=7) @@
445
		$feed->outFooter();
446
	}
447
448
	protected function feedTitle() {
449
		$desc = $this->getDescription();
450
		$code = $this->getConfig()->get( 'LanguageCode' );
451
		$sitename = $this->getConfig()->get( 'Sitename' );
452
453
		return "$sitename - $desc [$code]";
454
	}
455
456
	protected function feedItem( $row ) {
457
		$title = Title::makeTitle( intval( $row->rc_namespace ), $row->rc_title );