X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FStripState.php;h=ad95d5f76aeb4546bd765f1258d383323dd99217;hb=122e6813f70027d5eab5870f00d94327333d0a3f;hp=b08aa148fe2ded3955d6d147636abd4d8d9d44e0;hpb=5e18423043c4e1646e1e500ce8852f6c99d06317;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/StripState.php b/includes/parser/StripState.php index b08aa148fe..ad95d5f76a 100644 --- a/includes/parser/StripState.php +++ b/includes/parser/StripState.php @@ -134,11 +134,14 @@ class StripState { $marker = $m[1]; if ( isset( $this->data[$this->tempType][$marker] ) ) { if ( isset( $this->circularRefGuard[$marker] ) ) { - return '' . wfMsgForContent( 'parser-unstrip-loop-warning' ) . ''; + return '' + . wfMessage( 'parser-unstrip-loop-warning' )->inContentLanguage()->text() + . ''; } if ( $this->recursionLevel >= self::UNSTRIP_RECURSION_LIMIT ) { return '' . - wfMsgForContent( 'parser-unstrip-recursion-limit', self::UNSTRIP_RECURSION_LIMIT ) . + wfMessage( 'parser-unstrip-recursion-limit' ) + ->numParams( self::UNSTRIP_RECURSION_LIMIT )->inContentLanguage()->text() . ''; } $this->circularRefGuard[$marker] = true;