Follow-up r79964: Fix double parsing of file info
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 2 Feb 2011 14:07:08 +0000 (14:07 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 2 Feb 2011 14:07:08 +0000 (14:07 +0000)
includes/ImagePage.php
includes/specials/SpecialSearch.php

index d00120f..063adc0 100644 (file)
@@ -330,7 +330,7 @@ class ImagePage extends Article {
                        $height_orig = $this->displayImg->getHeight( $page );
                        $height = $height_orig;
 
-                       $longDesc = wfMsgExt( 'parentheses', 'parseinline', $this->displayImg->getLongDesc() );
+                       $longDesc = wfMsg( 'parentheses', $this->displayImg->getLongDesc() );
 
                        wfRunHooks( 'ImageOpenShowImageInlineBefore', array( &$this, &$wgOut ) );
 
index cf173ed..18c534e 100644 (file)
@@ -596,7 +596,7 @@ class SpecialSearch extends SpecialPage {
                        if( $img ) {
                                $thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) );
                                if( $thumb ) {
-                                       $desc = wfMsgExt( 'parentheses', 'parseinline', $img->getShortDesc() );
+                                       $desc = wfMsg( 'parentheses', $img->getShortDesc() );
                                        wfProfileOut( __METHOD__ );
                                        // Float doesn't seem to interact well with the bullets.
                                        // Table messes up vertical alignment of the bullets.