Replace deprecated wfMsg with wfMessage.

Change-Id: Ieb5b1d632dbdaf5414d743ee05c0a033f37a7933
This commit is contained in:
Siebrand Mazeland 2012-09-02 01:07:57 +02:00
parent 610876928b
commit 7ac97b1391

View file

@ -122,7 +122,7 @@ class PdfHandler extends ImageHandler {
*/
protected function doThumbError( $width, $height, $msg ) {
return new MediaTransformError( 'thumbnail_error',
$width, $height, wfMsgForContent( $msg ) );
$width, $height, wfMessage( $msg )->inContentLanguage()->text() );
}
/**