MediaWiki  master
UploadChunkVerificationException.php
Go to the documentation of this file.
1 <?php
25  public $msg;
26 
27  public function __construct( array $res ) {
28  $this->msg = wfMessage( ...$res );
29  parent::__construct( wfMessage( ...$res )
30  ->inLanguage( 'en' )->useDatabase( false )->text() );
31  }
32 }
msg( $key, $fallback,... $params)
Get a message from i18n.
Definition: MWException.php:75
wfMessage( $key,... $params)
This is the function for getting translated interface messages.