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