49 parent::__construct( $text, $params );
76 if ( $this->message ===
null ) {
79 $msg =
new Message(
'api-help-param-deprecated' );
84 $dep =
'<span class="apihelp-deprecated">' . $msg->fetchMessage() .
'</span> ';
86 $this->message =
";<span dir=\"ltr\" lang=\"en\">{$this->paramValue}</span>:"
87 . $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.