MediaWiki REL1_39
BadRequestError.php
Go to the documentation of this file.
1<?php
30
38 public function report( $action = self::SEND_OUTPUT ) {
39 global $wgOut;
40 $wgOut->setStatusCode( 400 );
41 parent::report( $action );
42 }
43}
if(!defined( 'MW_NO_SESSION') &&! $wgCommandLineMode $wgOut
Definition Setup.php:497
An error page that emits an HTTP 400 Bad Request status code.
report( $action=self::SEND_OUTPUT)
An error page which can definitely be safely rendered using the OutputPage.