Steps to replicate the issue (include links if applicable):
- Export some logs with php dumpBackup.php --logs to an XML file
- Import the XML file to another site
What happens?:
[23a0ea4a338c0e40bd314544] /w/index.php?title=Special:Import&action=submit TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, cannot access private method ImportReporter::reportLogItem()
Backtrace:
from /var/www/html/w/includes/import/WikiImporter.php(651)
#0 /var/www/html/w/includes/import/WikiImporter.php(878): WikiImporter->logItemCallback()
#1 /var/www/html/w/includes/import/WikiImporter.php(835): WikiImporter->processLogItem()
#2 /var/www/html/w/includes/import/WikiImporter.php(757): WikiImporter->handleLogItem()
#3 /var/www/html/w/includes/specials/SpecialImport.php(248): WikiImporter->doImport()
#4 /var/www/html/w/includes/specials/SpecialImport.php(121): MediaWiki\Specials\SpecialImport->doImport()
#5 /var/www/html/w/includes/specialpage/SpecialPage.php(729): MediaWiki\Specials\SpecialImport->execute()
#6 /var/www/html/w/includes/specialpage/SpecialPageFactory.php(1623): MediaWiki\SpecialPage\SpecialPage->run()
#7 /var/www/html/w/includes/MediaWiki.php(357): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
#8 /var/www/html/w/includes/MediaWiki.php(956): MediaWiki->performRequest()
#9 /var/www/html/w/includes/MediaWiki.php(604): MediaWiki->main()
#10 /var/www/html/w/index.php(50): MediaWiki->run()
#11 /var/www/html/w/index.php(46): wfIndexMain()
#12 {main}What should have happened instead?:
Success, or fail gently if not supported.
Software version (skip for WMF-hosted wikis like Wikipedia):
master branch
Other information (browser name/version, screenshots, etc.):