Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -224,12 +224,13 @@ |
225 | 225 | # Note that $height <= $maxHeight now, but might not be identical |
226 | 226 | # because of rounding. |
227 | 227 | } |
228 | | - $msgbig = wfMsgHtml('show-big-image'); |
229 | | - $msgsmall = wfMsg('show-big-image-thumb', $width, $height ); |
| 228 | + $msgbig = wfMsgHtml( 'show-big-image' ); |
| 229 | + $msgsmall = wfMsgExt( 'show-big-image-thumb', |
| 230 | + array( 'parseinline' ), $width, $height ); |
230 | 231 | } else { |
231 | 232 | # Image is small enough to show full size on image page |
232 | | - $msgbig = $this->img->getName(); |
233 | | - $msgsmall = wfMsg( 'file-nohires' ); |
| 233 | + $msgbig = htmlspecialchars( $this->img->getName() ); |
| 234 | + $msgsmall = wfMsgExt( 'file-nohires', array( 'parseinline' ) ); |
234 | 235 | } |
235 | 236 | |
236 | 237 | $params['width'] = $width; |