X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FCoreTagHooks.php;h=9755ea93f6b3a61b474c074fc20f665d2fe3e471;hb=ca2c2c0f4fdd633779ce1d48d09645275b0e5827;hp=3ffa16c41dc38aa8efbdcfa7281f48e970c1ce33;hpb=cf93d76c03b99b8167f54c2a05f66657ba4c59b3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/CoreTagHooks.php b/includes/parser/CoreTagHooks.php index 3ffa16c41d..9755ea93f6 100644 --- a/includes/parser/CoreTagHooks.php +++ b/includes/parser/CoreTagHooks.php @@ -135,13 +135,13 @@ 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() . ''; } $parser->getOutput()->setIndicator( trim( $attributes['name'] ), - $parser->recursiveTagParse( $content, $frame ) + Parser::stripOuterParagraph( $parser->recursiveTagParseFully( $content, $frame ) ) ); return '';