X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiExpandTemplates.php;h=8a63070ce6c797186a68f7b7262174183caaed8b;hb=07b407f558fbfdeacde6f10ccabc9130ee6b0e0e;hp=6112534cf20d80193dae1b8d1ba670f001b7871d;hpb=3368cccde53732c1278f51632e69b9865c4ee6ba;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiExpandTemplates.php b/includes/api/ApiExpandTemplates.php index 6112534cf2..8a63070ce6 100644 --- a/includes/api/ApiExpandTemplates.php +++ b/includes/api/ApiExpandTemplates.php @@ -80,10 +80,6 @@ class ApiExpandTemplates extends ApiBase { $retval = array(); if ( isset( $prop['parsetree'] ) || $params['generatexml'] ) { - if ( !isset( $prop['parsetree'] ) ) { - $this->logFeatureUsage( 'action=expandtemplates&generatexml' ); - } - $wgParser->startExternalParse( $title_obj, $options, Parser::OT_PREPROCESS ); $dom = $wgParser->preprocessToDom( $params['text'] ); if ( is_callable( array( $dom, 'saveXML' ) ) ) {