X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FCoreParserFunctions.php;h=c6a10aefbc0be868c2c529378c9b154e83b8b757;hb=11ee7f78da9776db26098642a151a288f98bea14;hp=ad56afc4130cc71338de855509274ca2eef3943a;hpb=236488d398046838059f758b0915341648b64c7b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index ad56afc413..c6a10aefbc 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -1005,10 +1005,10 @@ class CoreParserFunctions { if ( $argA == 'nowiki' ) { // {{filepath: | option [| size] }} $isNowiki = true; - $parsedWidthParam = $parser->parseWidthParam( $argB ); + $parsedWidthParam = Parser::parseWidthParam( $argB ); } else { // {{filepath: [| size [|option]] }} - $parsedWidthParam = $parser->parseWidthParam( $argA ); + $parsedWidthParam = Parser::parseWidthParam( $argA ); $isNowiki = ( $argB == 'nowiki' ); }