X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fskins%2FQuickTemplate.php;h=6bcf1c3ba96b7ddd01ad9cc3d61821819c71378c;hb=a1c74d9ca804a61e4e96784f41c18c8881bb2964;hp=06d0f7b5e881aca08dae950b34ed18b5f2e92fcd;hpb=0770f85a0a293e6c7af6f1d3d3a1dbd2d13c1e09;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/skins/QuickTemplate.php b/includes/skins/QuickTemplate.php index 06d0f7b5e8..6bcf1c3ba9 100644 --- a/includes/skins/QuickTemplate.php +++ b/includes/skins/QuickTemplate.php @@ -63,7 +63,7 @@ abstract class QuickTemplate { */ 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; } @@ -125,25 +125,13 @@ abstract class QuickTemplate { 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() or ->msgWiki() instead. - * @suppress SecurityCheck-XSS - * @return-taint exec_html - */ - function msgHtml( $msgKey ) { - wfDeprecated( __METHOD__, '1.32' ); - echo wfMessage( $msgKey )->text(); - } - /** * An ugly, ugly hack. - * @private + * @deprecated since 1.33 Use ->msg() instead. * @param string $msgKey */ function msgWiki( $msgKey ) { + // TODO: Add wfDeprecated( __METHOD__, '1.33' ) after 1.33 got released global $wgOut; $text = wfMessage( $msgKey )->plain();