mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
synced 2024-09-23 18:30:34 +00:00
Replace deprecated wfMsg with wfMessage.
Change-Id: Ieb5b1d632dbdaf5414d743ee05c0a033f37a7933
This commit is contained in:
parent
610876928b
commit
7ac97b1391
|
@ -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() );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue