From: Bryan Tong Minh Date: Wed, 2 Feb 2011 14:07:08 +0000 (+0000) Subject: Follow-up r79964: Fix double parsing of file info X-Git-Tag: 1.31.0-rc.0~32257 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=a1a6b005b65fd829c743d8cf6de7e146ed49086e;p=lhc%2Fweb%2Fwiklou.git Follow-up r79964: Fix double parsing of file info --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index d00120f507..063adc0558 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -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 ) ); diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index cf173ed5dc..18c534ed47 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -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.