Wikibase
MediaWiki Wikibase extension
|
Used in special pages and elsewhere to handle user input errors, allow them to bubble up to presentation layer and contain message that can be displayed to the user in their language. More...
Public Member Functions | |
__construct ( $key, array $params, $message, Exception $previous=null) | |
Public Member Functions inherited from Wikibase\Lib\MessageException | |
getKey () | |
getParams () | |
Additional Inherited Members | |
Protected Attributes inherited from Wikibase\Lib\MessageException | |
$key | |
$params | |
Used in special pages and elsewhere to handle user input errors, allow them to bubble up to presentation layer and contain message that can be displayed to the user in their language.
Wikibase\Lib\UserInputException::__construct | ( | $key, | |
array | $params, | ||
$message, | |||
Exception | $previous = null |
||
) |
string | $key | |
array | $params | List of parameters, depending on the message. Since this is a "user input" exception, callers are expected to pass in unescaped user input. This class will take care of proper wikitext escaping. |
string | $message | |
Exception | null | $previous |
Reimplemented from Wikibase\Lib\MessageException.