MediaWiki  master
BadRequestError.php
Go to the documentation of this file.
1 <?php
28 
29  public function report() {
30  global $wgOut;
31  $wgOut->setStatusCode( 400 );
32  parent::report();
33  }
34 }
An error page which can definitely be safely rendered using the OutputPage.
$wgOut
Definition: Setup.php:876
An error page that emits an HTTP 400 Bad Request status code.