Move the () surrounding description strings of files, out of the description and...
[lhc/web/wiklou.git] / includes / specials / SpecialSearch.php
index fafcf0d..7f5b7f1 100644 (file)
@@ -594,7 +594,7 @@ class SpecialSearch extends SpecialPage {
                        if( $img ) {
                                $thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) );
                                if( $thumb ) {
-                                       $desc = $img->getShortDesc();
+                                       $desc = wfMsgExt( 'file-info-wrapper', 'parseinline', $img->getShortDesc() );
                                        wfProfileOut( __METHOD__ );
                                        // Float doesn't seem to interact well with the bullets.
                                        // Table messes up vertical alignment of the bullets.