Merge "CoreTagHooks: Use parse() for output to HTML rather than text()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 28 Oct 2014 20:46:44 +0000 (20:46 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 28 Oct 2014 20:46:44 +0000 (20:46 +0000)
includes/parser/CoreTagHooks.php

index 3ffa16c..df868ea 100644 (file)
@@ -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 '<span class="error">' .
-                               wfMessage( 'invalid-indicator-name' )->inContentLanguage()->text() .
+                               wfMessage( 'invalid-indicator-name' )->inContentLanguage()->parse() .
                                '</span>';
                }