36 $this->msg =
wfMessage( $msg )->params( $args );
37 $this->width = (int)
$width;
44 public function toHtml( $options = [] ) {
45 return "<div class=\"MediaTransformError\" style=\"" .
46 "width: {$this->width}px; height: {$this->height}px; display:inline-block;\">" .
55 return $this->msg->text();
62 return $this->msg->escaped();
88class_alias( MediaTransformError::class,
'MediaTransformError' );
wfMessage( $key,... $params)
This is the function for getting translated interface messages.