*/
public function extend( $name, $value ) {
if ( $this->haveData( $name ) ) {
- $this->data[$name] = $this->data[$name] . $value;
+ $this->data[$name] .= $value;
} else {
$this->data[$name] = $value;
}
echo htmlspecialchars( wfMessage( $msgKey )->text() );
}
- /**
- * @private
- * @param string $msgKey
- * @warning You should never use this method. I18n messages should be escaped
- * @deprecated 1.32 Use ->msg() instead.
- * @suppress SecurityCheck-XSS
- * @return-taint exec_html
- */
- function msgHtml( $msgKey ) {
- wfDeprecated( __METHOD__, '1.32' );
- echo wfMessage( $msgKey )->text();
- }
-
/**
* An ugly, ugly hack.
* @deprecated since 1.33 Use ->msg() instead.