MediaWiki
REL1_19
|
Show an error page on a badtitle. More...
Public Member Functions | |
__construct ($msg= 'badtitletext', $params=null) | |
report () | |
Just like ErrorPageError::report() but additionally set a 400 HTTP status code (bug 33646). |
Show an error page on a badtitle.
Similar to ErrorPage, but emit a 400 HTTP error code to let mobile browser it is not really a valid content.
Definition at line 280 of file Exception.php.
BadTitleError::__construct | ( | $ | msg = 'badtitletext' , |
$ | params = null |
||
) |
$msg | string A message key (default: 'badtitletext') |
$params | Array parameter to wfMsg() |
Definition at line 286 of file Exception.php.
References ErrorPageError\$msg, and ErrorPageError\$params.
Just like ErrorPageError::report() but additionally set a 400 HTTP status code (bug 33646).
Reimplemented from ErrorPageError.
Definition at line 294 of file Exception.php.
References $wgOut.