X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdumpIterator.php;h=707f4b3c8c93fc40d7b8734cbeae37944adc36ad;hb=a4df91da77002c0ae6404aa1529b55321b60244b;hp=254f36804241365c5c0f3056d5106daa1f20d30f;hpb=57fb649603a94ea8244c50be0070d3074ca14d6e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpIterator.php b/maintenance/dumpIterator.php index 254f368042..707f4b3c8c 100644 --- a/maintenance/dumpIterator.php +++ b/maintenance/dumpIterator.php @@ -77,6 +77,9 @@ abstract class DumpIterator extends Maintenance { $importer->setRevisionCallback( [ $this, 'handleRevision' ] ); + $importer->setNoticeCallback( function ( $msg, $params ) { + echo wfMessage( $msg, $params )->text() . "\n"; + } ); $this->from = $this->getOption( 'from', null ); $this->count = 0;