This is an attempt at getting a more useful error message than "Import failed Expected <mediawiki> tag, got" (ie. XMLReader thinking that the root tag name is the empty string). E.g. with the dump file I'm debugging at the moment, after applying this patch I get "XML error at line 1: Extra content at the end of the document" instead. Change-Id: I365eebf78c30b644808eb5ac42d0946c8cf60778 |
||
|---|---|---|
| .. | ||
| Hook | ||
| ImportableOldRevision.php | ||
| ImportableOldRevisionImporter.php | ||
| ImportableUploadRevision.php | ||
| ImportableUploadRevisionImporter.php | ||
| ImportSource.php | ||
| ImportStreamSource.php | ||
| ImportStringSource.php | ||
| OldRevisionImporter.php | ||
| UploadRevisionImporter.php | ||
| UploadSourceAdapter.php | ||
| WikiImporter.php | ||
| WikiImporterFactory.php | ||
| WikiRevision.php | ||