msg = wfMessage( $msg )->params( $args );
$this->width = intval( $width );
$this->height = intval( $height );
$this->url = false;
$this->path = false;
}
public function toHtml( $options = [] ) {
return "
width}px; height: {$this->height}px; display:inline-block;\">" .
$this->getHtmlMsg() .
"
";
}
public function toText() {
return $this->msg->text();
}
public function getHtmlMsg() {
return $this->msg->escaped();
}
public function getMsg() {
return $this->msg;
}
public function isError() {
return true;
}
/**
* @stable to override
*
* @return int
*/
public function getHttpStatusCode() {
return 500;
}
}