When importing an XML dump with importDump.php (only --wiki and file args specified, no --no-updates, etc), I sometimes get undefined offset errors:
2015-09-29 14:38:16 mw1 buswiki: [2352d243] [no req] ErrorException from line 127 of /srv/mediawiki/w/includes/title/NamespaceAwareForeignTitleFactory.php: PHP Notice: Undefined offset: 1 #0 /srv/mediawiki/w/includes/title/NamespaceAwareForeignTitleFactory.php(127): MWExceptionHandler::handleError(8, 'Undefined offse...', '/srv/mediawiki/...', 127, Array) #1 /srv/mediawiki/w/includes/title/NamespaceAwareForeignTitleFactory.php(78): NamespaceAwareForeignTitleFactory->parseTitleWithNs('Documentation', 828) #2 /srv/mediawiki/w/includes/Import.php(979): NamespaceAwareForeignTitleFactory->createForeignTitle('Documentation', 828) #3 /srv/mediawiki/w/includes/Import.php(718): WikiImporter->processTitle('Documentation', '828') #4 /srv/mediawiki/w/includes/Import.php(555): WikiImporter->handlePage() #5 /srv/mediawiki/w/maintenance/importDump.php(299): WikiImporter->doImport() #6 /srv/mediawiki/w/maintenance/importDump.php(257): BackupReader->importFromHandle(Resource id #168) #7 /srv/mediawiki/w/maintenance/importDump.php(102): BackupReader->importFromFile('/home/southpark...') #8 /srv/mediawiki/w/maintenance/doMaintenance.php(103): BackupReader->execute() #9 /srv/mediawiki/w/maintenance/importDump.php(304): require_once('/srv/mediawiki/...') #10 {main}
There's no namespace key for the 828 (Module:) namespace in the XML file, I guess that's why this error gets thrown?