48 parent::__construct( $text,
$params );
75 if ( $this->message ===
null ) {
78 $msg =
new Message(
'api-help-param-deprecated' );
83 $dep =
'<span class="apihelp-deprecated">' . $msg->fetchMessage() .
'</span> ';
85 $this->message =
";<span dir=\"ltr\" lang=\"en\">{$this->paramValue}</span>:"
86 . $dep . parent::fetchMessage();
Message subclass that prepends wikitext for API help.
fetchMessage()
Fetch the message.
__construct( $paramValue, $text, $params=[], $deprecated=false)
getParamValue()
Fetch the parameter value.
isDeprecated()
Fetch the 'deprecated' flag.
The Message class provides methods which fulfil two basic services:
bool $useDatabase
Whether database can be used.
Language bool $language
In which language to get this message.
Title $title
Title object to use as context.
bool $interface
In which language to get this message.