wiki.techinc.nl/includes/import
Gergő Tisza bdbc5d13eb
WikiImporter: improve error handling
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
2021-10-16 21:13:52 -07:00
..
Hook Add forgotten import hook interface 2020-11-02 08:17:34 -07:00
ImportableOldRevision.php MCR import 2020-07-18 20:34:16 -04:00
ImportableOldRevisionImporter.php Migrate WikiPage::doEditUpdates() to using PageUpdaterFactory 2021-10-07 11:17:43 +01:00
ImportableUploadRevision.php
ImportableUploadRevisionImporter.php Add missing spaces to imploded debug strings 2021-07-28 11:07:17 +02:00
ImportSource.php Add missing visibility on methods related to import/export 2020-05-09 11:56:48 +00:00
ImportStreamSource.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
ImportStringSource.php Add missing visibility on methods related to import/export 2020-05-09 11:56:48 +00:00
OldRevisionImporter.php
UploadRevisionImporter.php
UploadSourceAdapter.php Add missing visibility on methods related to import/export 2020-05-09 11:56:48 +00:00
WikiImporter.php WikiImporter: improve error handling 2021-10-16 21:13:52 -07:00
WikiImporterFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
WikiRevision.php Merge "Same code style and formatting for exists-style SQL queries" 2021-08-24 17:44:17 +00:00