MediaWiki master
|
Message subclass that prepends wikitext for API help. More...
Inherits Message.
Public Member Functions | |
__construct ( $paramValue, $text, $params=[], $deprecated=false, $internal=false) | |
fetchMessage () | |
getParamValue () | |
Fetch the parameter value. | |
isDeprecated () | |
Fetch the 'deprecated' flag. | |
isInternal () | |
Fetch the 'internal' flag. | |
Protected Attributes | |
$deprecated | |
$internal | |
$paramValue | |
Message subclass that prepends wikitext for API help.
This exists so the apihelp-*-paramvalue-*-* messages don't all have to include markup wikitext while still keeping the 'APIGetParamDescriptionMessages' hook simple.
Definition at line 34 of file ApiHelpParamValueMessage.php.
ApiHelpParamValueMessage::__construct | ( | $paramValue, | |
$text, | |||
$params = [], | |||
$deprecated = false, | |||
$internal = false ) |
string | $paramValue | Parameter value being documented |
string | $text | Message to use. |
array | $params | Parameters for the message. |
bool | $deprecated | Whether the value is deprecated |
bool | $internal | Whether the value is internal |
InvalidArgumentException |
$deprecated
parameter $internal
parameter Definition at line 53 of file ApiHelpParamValueMessage.php.
References $deprecated, $internal, $params, and $paramValue.
ApiHelpParamValueMessage::fetchMessage | ( | ) |
Definition at line 95 of file ApiHelpParamValueMessage.php.
References isDeprecated(), and isInternal().
ApiHelpParamValueMessage::getParamValue | ( | ) |
Fetch the parameter value.
Definition at line 70 of file ApiHelpParamValueMessage.php.
References $paramValue.
ApiHelpParamValueMessage::isDeprecated | ( | ) |
Fetch the 'deprecated' flag.
Definition at line 79 of file ApiHelpParamValueMessage.php.
References $deprecated.
Referenced by fetchMessage().
ApiHelpParamValueMessage::isInternal | ( | ) |
Fetch the 'internal' flag.
Definition at line 88 of file ApiHelpParamValueMessage.php.
References $internal.
Referenced by fetchMessage().
|
protected |
Definition at line 37 of file ApiHelpParamValueMessage.php.
Referenced by __construct(), and isDeprecated().
|
protected |
Definition at line 38 of file ApiHelpParamValueMessage.php.
Referenced by __construct(), and isInternal().
|
protected |
Definition at line 36 of file ApiHelpParamValueMessage.php.
Referenced by __construct(), and getParamValue().