MediaWiki
1.29.1
|
Message subclass that prepends wikitext for API help. More...
Public Member Functions | |
__construct ( $paramValue, $text, $params=[]) | |
fetchMessage () | |
Fetch the message. More... | |
getParamValue () | |
Fetch the parameter value. More... | |
Protected Attributes | |
$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 36 of file ApiHelpParamValueMessage.php.
ApiHelpParamValueMessage::__construct | ( | $paramValue, | |
$text, | |||
$params = [] |
|||
) |
string | $paramValue | Parameter value being documented |
string | $text | Message to use. |
array | $params | Parameters for the message. |
InvalidArgumentException |
Definition at line 48 of file ApiHelpParamValueMessage.php.
References $params, and $paramValue.
ApiHelpParamValueMessage::fetchMessage | ( | ) |
Fetch the message.
Definition at line 65 of file ApiHelpParamValueMessage.php.
References message.
ApiHelpParamValueMessage::getParamValue | ( | ) |
Fetch the parameter value.
Definition at line 57 of file ApiHelpParamValueMessage.php.
References $paramValue.
|
protected |
Definition at line 38 of file ApiHelpParamValueMessage.php.
Referenced by __construct(), and getParamValue().