60 parent::__construct( $text, $params );
96 if ( $this->message ===
null ) {
99 $prefix .=
'<span class="apihelp-deprecated">' .
100 $this->
subMessage(
'api-help-param-deprecated' ) .
105 $prefix .=
'<span class="apihelp-internal">' .
106 $this->
subMessage(
'api-help-param-internal' ) .
110 $this->message =
";<span dir=\"ltr\" lang=\"en\">{$this->paramValue}</span>:"
111 . $prefix . parent::fetchMessage();
122 return $msg->fetchMessage();
Message subclass that prepends wikitext for API help.
isInternal()
Fetch the 'internal' flag.
__construct( $paramValue, $text, $params=[], $deprecated=false, $internal=false)
getParamValue()
Fetch the parameter value.
isDeprecated()
Fetch the 'deprecated' flag.
The Message class deals with fetching and processing of interface message into a variety of formats.
bool $useDatabase
Whether database can be used.
string $key
The message key.
PageReference $contextPage
page object to use as context.
Language bool $language
In which language to get this message.
bool $interface
In which language to get this message.