X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fparser%2FParser.php;h=c0a648c7d4afcfaafd8ed744b0753df34d73344e;hp=34f62324e076a31b6d1bd9d7af72a955522e2bad;hb=43c13e73049047842837d837bb3537f1c550a0a4;hpb=a2254d32bf816c28f2a3fb4088b5e4356cff4c48 diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 34f62324e0..c0a648c7d4 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3261,6 +3261,8 @@ class Parser { . wfMessage( 'parser-template-loop-warning', $titleText )->inContentLanguage()->text() . ''; $this->addTrackingCategory( 'template-loop-category' ); + $this->mOutput->addWarning( wfMessage( 'template-loop-warning', + wfEscapeWikiText( $titleText ) )->text() ); wfDebug( __METHOD__ . ": template loop broken at '$titleText'\n" ); } } @@ -4974,6 +4976,7 @@ class Parser { $ig->setContextTitle( $this->mTitle ); $ig->setShowBytes( false ); + $ig->setShowDimensions( false ); $ig->setShowFilename( false ); $ig->setParser( $this ); $ig->setHideBadImages();