Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -732,7 +732,8 @@ |
733 | 733 | if( $active == 'images' ) { |
734 | 734 | $out .= Xml::element( 'strong', array( 'title'=>$tt ), $m ); |
735 | 735 | } else { |
736 | | - $out .= $this->makeSearchLink( $wgContLang->getFormattedNsText(NS_IMAGE).':'.$bareterm, array() , $m, $tt ); |
| 736 | + $imageTextForm = $wgContLang->getFormattedNsText(NS_IMAGE).':'.$bareterm; |
| 737 | + $out .= $this->makeSearchLink( $imageTextForm, array( NS_IMAGE ) , $m, $tt ); |
737 | 738 | } |
738 | 739 | $out .= $sep; |
739 | 740 | |