r81389 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81388‎ | r81389 | r81390 >
Date:14:07, 2 February 2011
Author:btongminh
Status:ok
Tags:
Comment:
Follow-up r79964: Fix double parsing of file info
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialSearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -330,7 +330,7 @@
331331 $height_orig = $this->displayImg->getHeight( $page );
332332 $height = $height_orig;
333333
334 - $longDesc = wfMsgExt( 'parentheses', 'parseinline', $this->displayImg->getLongDesc() );
 334+ $longDesc = wfMsg( 'parentheses', $this->displayImg->getLongDesc() );
335335
336336 wfRunHooks( 'ImageOpenShowImageInlineBefore', array( &$this, &$wgOut ) );
337337
Index: trunk/phase3/includes/specials/SpecialSearch.php
@@ -596,7 +596,7 @@
597597 if( $img ) {
598598 $thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) );
599599 if( $thumb ) {
600 - $desc = wfMsgExt( 'parentheses', 'parseinline', $img->getShortDesc() );
 600+ $desc = wfMsg( 'parentheses', $img->getShortDesc() );
601601 wfProfileOut( __METHOD__ );
602602 // Float doesn't seem to interact well with the bullets.
603603 // Table messes up vertical alignment of the bullets.

Follow-up revisions

RevisionCommit summaryAuthorDate
r814131.17: MFT r78395, r79968, r81311, r81313, r81349, r81352, r81376, r81389, r81...catrope20:45, 2 February 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79964Move the () surrounding description strings of files, out of the description ...hartman22:18, 10 January 2011

Status & tagging log