[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/exception/ -> BadTitleError.php (summary)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

File Size: 51 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BadTitleError:: (2 methods):
  __construct()
  report()


Class: BadTitleError  - X-Ref

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.

__construct( $msg = 'badtitletext', $params = array()   X-Ref

param: string|Message $msg A message key (default: 'badtitletext')
param: array $params Parameter to wfMessage()

report()   X-Ref
Just like ErrorPageError::report() but additionally set
a 400 HTTP status code (bug 33646).




Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1