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
Merge "[WikiImporter::notice] use wfDebug instead of echo in notice()"
[lhc/web/wiklou.git]
/
maintenance
/
storage
/
checkStorage.php
diff --git
a/maintenance/storage/checkStorage.php
b/maintenance/storage/checkStorage.php
index
6348e96
..
8f55b88
100644
(file)
--- a/
maintenance/storage/checkStorage.php
+++ b/
maintenance/storage/checkStorage.php
@@
-493,6
+493,9
@@
class CheckStorage {
MediaWikiServices::getInstance()->getMainConfig()
);
$importer->setRevisionCallback( [ $this, 'importRevision' ] );
MediaWikiServices::getInstance()->getMainConfig()
);
$importer->setRevisionCallback( [ $this, 'importRevision' ] );
+ $importer->setNoticeCallback( function ( $msg, $params ) {
+ echo wfMessage( $msg, $params )->text() . "\n";
+ } );
$importer->doImport();
}
$importer->doImport();
}