* @return bool Success
*/
public function streamFile( $headers = [] ) {
- $this->streamFileWithStatus( $headers )->isOK();
+ return $this->streamFileWithStatus( $headers )->isOK();
}
/**
class TransformTooBigImageAreaError extends MediaTransformError {
function __construct( $params, $maxImageArea ) {
$msg = wfMessage( 'thumbnail_toobigimagearea' );
- $msg->rawParams(
+ $msg->params(
$msg->getLanguage()->formatComputingNumbers( $maxImageArea, 1000, "size-$1pixel" )
);