dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove useless StatusTest::testCanConstruct()
[lhc/web/wiklou.git]
/
maintenance
/
renderDump.php
diff --git
a/maintenance/renderDump.php
b/maintenance/renderDump.php
index
33d6e50
..
458556f
100644
(file)
--- a/
maintenance/renderDump.php
+++ b/
maintenance/renderDump.php
@@
-65,7
+65,10
@@
class DumpRenderer extends Maintenance {
$importer = new WikiImporter( $source, $this->getConfig() );
$importer->setRevisionCallback(
$importer = new WikiImporter( $source, $this->getConfig() );
$importer->setRevisionCallback(
- array( $this, 'handleRevision' ) );
+ [ $this, 'handleRevision' ] );
+ $importer->setNoticeCallback( function ( $msg, $params ) {
+ echo wfMessage( $msg, $params )->text() . "\n";
+ } );
$importer->doImport();
$importer->doImport();