paramValue = $paramValue; $this->deprecated = (bool)$deprecated; } /** * Fetch the parameter value * @return string */ public function getParamValue() { return $this->paramValue; } /** * Fetch the 'deprecated' flag * @since 1.30 * @return bool */ public function isDeprecated() { return $this->deprecated; } /** * Fetch the message. * @return string */ public function fetchMessage() { if ( $this->message === null ) { $dep = ''; if ( $this->isDeprecated() ) { $msg = new Message( 'api-help-param-deprecated' ); $msg->interface = $this->interface; $msg->language = $this->language; $msg->useDatabase = $this->useDatabase; $msg->title = $this->title; $dep = '' . $msg->fetchMessage() . ' '; } $this->message = ";{$this->paramValue}:" . $dep . parent::fetchMessage(); } return $this->message; } }