@@ 782-791 (lines=10) @@ | ||
779 | $categorySnippet = $result->getCategorySnippet(); |
|
780 | ||
781 | $redirect = ''; |
|
782 | if ( !is_null( $redirectTitle ) ) { |
|
783 | if ( $redirectText == '' ) { |
|
784 | $redirectText = null; |
|
785 | } |
|
786 | ||
787 | $redirect = "<span class='searchalttitle'>" . |
|
788 | $this->msg( 'search-redirect' )->rawParams( |
|
789 | Linker::linkKnown( $redirectTitle, $redirectText ) )->text() . |
|
790 | "</span>"; |
|
791 | } |
|
792 | ||
793 | $section = ''; |
|
794 | if ( !is_null( $sectionTitle ) ) { |
|
@@ 794-803 (lines=10) @@ | ||
791 | } |
|
792 | ||
793 | $section = ''; |
|
794 | if ( !is_null( $sectionTitle ) ) { |
|
795 | if ( $sectionText == '' ) { |
|
796 | $sectionText = null; |
|
797 | } |
|
798 | ||
799 | $section = "<span class='searchalttitle'>" . |
|
800 | $this->msg( 'search-section' )->rawParams( |
|
801 | Linker::linkKnown( $sectionTitle, $sectionText ) )->text() . |
|
802 | "</span>"; |
|
803 | } |
|
804 | ||
805 | $category = ''; |
|
806 | if ( $categorySnippet ) { |
|
@@ 975-984 (lines=10) @@ | ||
972 | $redirectTitle = $result->getRedirectTitle(); |
|
973 | $redirectText = $result->getRedirectSnippet(); |
|
974 | $redirect = ''; |
|
975 | if ( !is_null( $redirectTitle ) ) { |
|
976 | if ( $redirectText == '' ) { |
|
977 | $redirectText = null; |
|
978 | } |
|
979 | ||
980 | $redirect = "<span class='searchalttitle'>" . |
|
981 | $this->msg( 'search-redirect' )->rawParams( |
|
982 | Linker::linkKnown( $redirectTitle, $redirectText ) )->text() . |
|
983 | "</span>"; |
|
984 | } |
|
985 | ||
986 | $out = ""; |
|
987 | // display project name |