X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fimport%2FWikiImporter.php;h=ed5ec1a2c20e064c1fafec7d5a362c761ae9ba6a;hp=28f3f824e51edce32a70d5c896e2c17c275d8829;hb=dbad540cd37617879aff6f28ce9c016dd8049d4e;hpb=731c7c852c4caab3b90366188e4e110860231040 diff --git a/includes/import/WikiImporter.php b/includes/import/WikiImporter.php index 28f3f824e5..ed5ec1a2c2 100644 --- a/includes/import/WikiImporter.php +++ b/includes/import/WikiImporter.php @@ -125,7 +125,9 @@ class WikiImporter { if ( is_callable( $this->mNoticeCallback ) ) { call_user_func( $this->mNoticeCallback, $msg, $params ); } else { # No ImportReporter -> CLI - echo wfMessage( $msg, $params )->text() . "\n"; + // T177997: the command line importers should call setNoticeCallback() + // for their own custom callback to echo the notice + wfDebug( wfMessage( $msg, $params )->text() . "\n" ); } }