From: Bartosz DziewoƄski Date: Tue, 28 Oct 2014 19:57:47 +0000 (+0100) Subject: CoreTagHooks: Use parse() for output to HTML rather than text() X-Git-Tag: 1.31.0-rc.0~13460^2 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=0f97573ce9985ea6673cb894ed6bbff7885b607e;p=lhc%2Fweb%2Fwiklou.git CoreTagHooks: Use parse() for output to HTML rather than text() Change-Id: I9f28afe185a24883fb575dd6df8a23c4ab233b64 --- diff --git a/includes/parser/CoreTagHooks.php b/includes/parser/CoreTagHooks.php index 3ffa16c41d..df868eabd5 100644 --- a/includes/parser/CoreTagHooks.php +++ b/includes/parser/CoreTagHooks.php @@ -135,7 +135,7 @@ class CoreTagHooks { public static function indicator( $content, array $attributes, Parser $parser, PPFrame $frame ) { if ( !isset( $attributes['name'] ) || trim( $attributes['name'] ) === '' ) { return '' . - wfMessage( 'invalid-indicator-name' )->inContentLanguage()->text() . + wfMessage( 'invalid-indicator-name' )->inContentLanguage()->parse() . ''; }