Page MenuHomePhabricator

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in UploadSourceAdapter.php on line 88
Closed, ResolvedPublic

Description

( ! ) Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/wiki/mediawiki/core/includes/import/UploadSourceAdapter.php on line 88
Call Stack
#	Time	Memory	Function	Location
1	0.0000	370024	{main}( )	.../index.php:0
2	0.0388	3687344	wfIndexMain( )	.../index.php:46
3	0.0388	3687456	MediaWiki->run( )	.../index.php:50
4	0.0388	3687456	MediaWiki->main( )	.../MediaWiki.php:568
5	0.0392	3701160	MediaWiki->performRequest( )	.../MediaWiki.php:911
6	0.0441	3829768	MediaWiki\SpecialPage\SpecialPageFactory->executePath( $path = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = NULL; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = TRUE; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = ['mTextform' => [...], 'mUrlform' => [...], 'mDbkeyform' => [...], 'mNamespace' => [...], 'mInterwiki' => [...], 'mFragment' => [...]]; private $dynamicPropertiesAccessDeprecated = FALSE }, $context = class RequestContext { private $request = class WebRequest { protected $data = [...]; protected $queryAndPathParams = [...]; protected $queryParams = [...]; protected $headers = [...]; private $response = class WebResponse { ... }; private $ip = '10.13.37.22'; protected $requestTime = 1657311415.5624; protected $protocol = 'https'; protected $sessionId = class MediaWiki\Session\SessionId { ... }; protected $markedAsSafe = FALSE }; private $title = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = NULL; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = NULL; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = [...]; private $dynamicPropertiesAccessDeprecated = FALSE }; private $wikipage = NULL; private $action = NULL; private $output = class OutputPage { private ${ContextSource}context = ...; protected $mMetatags = [...]; protected $mLinktags = [...]; protected $mCanonicalUrl = FALSE; private $mPageTitle = 'Import pages'; private $displayTitle = NULL; private $cacheIsFinal = FALSE; public $mBodytext = ''; private $mHTMLtitle = 'Import pages - ReedyDevWiki'; private $mIsArticle = FALSE; private $mIsArticleRelated = FALSE; private $mHasCopyright = FALSE; private $mPrintable = FALSE; private $mSections = [...]; private $mSubtitle = [...]; public $mRedirect = ''; protected $mStatusCode = NULL; protected $mLastModified = ''; protected $mCategoryLinks = [...]; protected $mCategories = [...]; protected $mIndicators = [...]; private $mLanguageLinks = [...]; private $mScripts = ''; protected $mInlineStyles = ''; public $mPageLinkTitle = ''; protected $mAdditionalHtmlClasses = [...]; protected $mHeadItems = [...]; protected $mAdditionalBodyClasses = [...]; protected $mModules = [...]; protected $mModuleStyles = [...]; protected $mResourceLoader = NULL; private $rlClient = NULL; private $rlClientContext = NULL; private $rlExemptStyleModules = NULL; protected $mJsConfigVars = [...]; protected $mTemplateIds = [...]; protected $mImageTimeKeys = [...]; public $mRedirectCode = ''; protected $mFeedLinksAppendQuery = NULL; protected $mAllowedModules = [...]; protected $mDoNothing = FALSE; protected $mParserOptions = NULL; private $mFeedLinks = [...]; protected $mEnableClientCache = TRUE; private $mArticleBodyOnly = FALSE; protected $mNewSectionLink = FALSE; protected $mHideNewSectionLink = FALSE; public $mNoGallery = FALSE; protected $mCdnMaxage = 0; protected $mCdnMaxageLimit = INF; protected $mPreventClickjacking = TRUE; private $mRevisionId = NULL; private $mRevisionTimestamp = NULL; protected $mFileVersion = NULL; protected $styles = [...]; private $mIndexPolicy = 'noindex'; private $mFollowPolicy = 'nofollow'; private $mRobotsOptions = [...]; private $mVaryHeader = [...]; private $mRedirectedFrom = NULL; private $mProperties = [...]; private $mTarget = NULL; private $mEnableTOC = FALSE; private $copyrightUrl = NULL; private $limitReportJSData = [...]; private $contentOverrides = [...]; private $contentOverrideCallbacks = [...]; private $mLinkHeader = [...]; private $CSP = class ContentSecurityPolicy { ... } }; private $user = class User { public $mId = 1; public $mName = 'Reedy'; public $mActorId = 1; public $mRealName = 'Sam'; public $mEmail = 'sam@reedyboy.net'; public $mTouched = '20220706230716'; protected $mQuickTouched = NULL; protected $mToken = 'a47668ca62955a1c7c36284542d16f8d'; public $mEmailAuthenticated = NULL; protected $mEmailToken = '\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000'; protected $mEmailTokenExpires = NULL; protected $mRegistration = '20110131194049'; protected $mLoadedItems = TRUE; public $mFrom = 'session'; protected $mDatePreference = NULL; private $mBlockedby = ''; protected $mHash = FALSE; protected $mBlockreason = ''; protected $mGlobalBlock = NULL; protected $mLocked = NULL; private $mHideName = FALSE; private $mRequest = class WebRequest { ... }; private $mBlock = NULL; private $mBlockedFromCreateAccount = FALSE; protected $queryFlagsUsed = 0; private $mThisAsAuthority = class MediaWiki\Permissions\UserAuthority { ... }; private $isTemp = NULL }; private $authority = NULL; private $lang = class Language { public $mCode = 'en-gb'; public $mMagicExtensions = [...]; private $mHtmlCode = NULL; public $dateFormatStrings = [...]; public $mExtendedSpecialPageAliases = [...]; protected $namespaceNames = [...]; protected $mNamespaceIds = NULL; protected $namespaceAliases = NULL; private $transformData = [...]; private $namespaceInfo = class NamespaceInfo { ... }; private $localisationCache = class LocalisationCache { ... }; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { ... }; private $langFallback = class MediaWiki\Languages\LanguageFallback { ... }; private $grammarTransformCache = NULL; private $converterFactory = class MediaWiki\Languages\LanguageConverterFactory { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $config = class GlobalVarConfig { ... } }; private $skin = class MediaWiki\Skins\Vector\SkinVectorLegacy { private ${ContextSource}context = ...; private ${Skin}defaultLinkOptions = [...]; protected $skinname = 'vector'; protected $options = [...]; protected $mRelevantTitle = NULL; private ${Skin}mRelevantUser = FALSE; private ${Skin}languageLinks = NULL; private ${Skin}sidebar = NULL; private ${Skin}componentRegistry = class MediaWiki\Skin\SkinComponentRegistry { ... }; public $template = NULL; public $thispage = NULL; public $titletxt = NULL; public $userpage = NULL; public $thisquery = NULL; public $loggedin = NULL; public $username = NULL; public $userpageUrlDetails = NULL; private ${SkinTemplate}isTempUser = NULL; private ${SkinTemplate}isNamedUser = NULL; private ${SkinTemplate}templateContextSet = FALSE; private ${SkinTemplate}contentNavigationCached = NULL; private ${SkinMustache}templateParser = NULL; private ${MediaWiki\Skins\Vector\SkinVector}languages = NULL }; private $timing = NULL; private $config = class GlobalVarConfig { private $prefix = 'wg' }; private $languageRecursion = FALSE }, $including = ???, $linkRenderer = ??? )	.../MediaWiki.php:316
7	0.0442	3833664	SpecialPage->run( $subPage = NULL )	.../SpecialPageFactory.php:1421
8	0.0484	3986976	SpecialImport->execute( $par = NULL )	.../SpecialPage.php:691
9	0.0697	5583792	SpecialImport->doImport( )	.../SpecialImport.php:112
10	0.0700	5585008	WikiImporterFactory->getWikiImporter( $source = class ImportStreamSource { private $mHandle = resource(74) of type (stream) } )	.../SpecialImport.php:204
11	0.0725	5586320	WikiImporter->__construct( $source = class ImportStreamSource { private $mHandle = resource(74) of type (stream) }, $config = class GlobalVarConfig { private $prefix = 'wg' }, $hookContainer = class MediaWiki\HookContainer\HookContainer { private $dynamicHandlers = []; private $tombstones = []; private $handlersByName = ['CategoryTree-config' => class MediaWiki\Extension\CategoryTree\ConfigHookHandler { ... }, 'SecurePoll-setup' => class MediaWiki\Extension\SecurePoll\HookHandler\SetupHandler { ... }, 'TimedMediaHandler-main' => class MediaWiki\TimedMediaHandler\Hooks { ... }, 'OATHAuth-main' => class MediaWiki\Extension\OATHAuth\Hook\HookHandler { ... }, 'TitleBlacklist-TitleBlacklistHookHandler' => class MediaWiki\Extension\TitleBlacklist\Hooks { ... }, 'GlobalBlocking-main' => class MediaWiki\Extension\GlobalBlocking\GlobalBlockingHooks { ... }, 'TorBlock-TorBlockHooks' => class MediaWiki\Extension\TorBlock\Hooks { ... }, 'Gadgets-GadgetHooks' => class MediaWiki\Extension\Gadgets\Hooks { ... }, 'BetaFeatures-main' => class MediaWiki\Extension\BetaFeatures\Hooks { ... }, 'Math-PreferencesHooksHandler' => class MediaWiki\Extension\Math\HookHandlers\PreferencesHooksHandler { ... }, 'Popups-PopupsHooks' => class Popups\PopupsHooks { ... }, 'AdvancedSearch-main' => class AdvancedSearch\Hooks { ... }, 'UniversalLanguageSelector-main' => class UniversalLanguageSelector\Hooks { ... }, 'ParserFunctions-ParserFunctionsHookHandler' => class MediaWiki\Extension\ParserFunctions\Hooks { ... }, 'CategoryTree-default' => class MediaWiki\Extension\CategoryTree\Hooks { ... }, 'Cite-parser' => class Cite\Hooks\CiteParserHooks { ... }, 'Math-ParserHooksHandler' => class MediaWiki\Extension\Math\HookHandlers\ParserHooksHandler { ... }, 'Abuse Filter-AutoPromoteGroups' => class MediaWiki\Extension\AbuseFilter\Hooks\Handlers\AutoPromoteGroupsHandler { ... }]; private $registry = class MediaWiki\HookContainer\GlobalHookRegistry { private $extensionRegistry = class ExtensionRegistry { ... }; private $deprecatedHooks = class MediaWiki\HookContainer\DeprecatedHooks { ... } }; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { protected $serviceContainer = class MediaWiki\MediaWikiServices { ... } }; private $nextScopedRegisterId = 0 }, $contentLanguage = class Language { public $mCode = 'en-gb'; public $mMagicExtensions = []; private $mHtmlCode = NULL; public $dateFormatStrings = []; public $mExtendedSpecialPageAliases = ['BetaFeatures' => [...], 'Uncategorizedcategories' => [...], 'Uncategorizedimages' => [...], 'Uncategorizedpages' => [...], 'Uncategorizedtemplates' => [...], 'Code' => [...], 'RepoAdmin' => [...], 'Gadgets' => [...], 'GadgetUsage' => [...], 'GoogleNewsSitemap' => [...], 'Renameuser' => [...], 'Nuke' => [...], 'RandomPageInCategory' => [...], 'SiteMatrix' => [...], 'Campaigns' => [...], 'UploadWizard' => [...], 'CheckUser' => [...], 'CheckUserLog' => [...], 'Investigate' => [...], 'InvestigateBlock' => [...], 'ShortUrl' => [...], 'UrlShortener' => [...], 'ManageShortUrls' => [...], 'UrlRedirector' => [...], 'Uploads' => [...], 'History' => [...], 'MobileCite' => [...], 'MobileOptions' => [...], 'MobileDiff' => [...], 'MobileLanguages' => [...], 'Nearby' => [...], 'AbuseLog' => [...], 'AbuseFilter' => [...], 'AggregateGroups' => [...], 'ImportTranslations' => [...], 'ExportTranslations' => [...], 'LanguageStats' => [...], 'ManageMessageGroups' => [...], 'ManageTranslatorSandbox' => [...], 'MessageGroupStats' => [...], 'PageTranslation' => [...], 'PageTranslationDeletePage' => [...], 'SearchTranslations' => [...], 'SupportedLanguages' => [...], 'Translate' => [...], 'TranslationStash' => [...], 'TranslationStats' => [...], 'Translations' => [...], 'PageMigration' => [...], 'PagePreparation' => [...], 'CategoryTree' => [...], 'IndexPages' => [...], 'PagesWithoutScans' => [...], 'GlobalBlock' => [...], 'GlobalBlockList' => [...], 'RemoveGlobalBlock' => [...], 'GlobalBlockStatus' => [...], 'ExtensionDistributor' => [...], 'SkinDistributor' => [...], 'EmailCapture' => [...], 'Notifications' => [...], 'DisplayNotificationsConfiguration' => [...], 'NotificationsMarkRead' => [...], 'Interwiki' => [...], 'DisableOATHForUser' => [...], 'OATHManage' => [...], 'VerifyOATHForUser' => [...], 'MassMessage' => [...], 'CreateMassMessageList' => [...], 'EditMassMessageList' => [...], 'OAuthConsumerRegistration' => [...], 'OAuthManageConsumers' => [...], 'OAuthListConsumers' => [...], 'OAuthManageMyGrants' => [...], 'OAuth' => [...], 'SecurePoll' => [...], 'SecurePollLog' => [...], 'Petition' => [...], 'PetitionData' => [...], 'UserMerge' => [...], 'Contact' => [...], 'OverrideThrottle' => [...], 'ThrottleOverrideList' => [...], 'Captcha' => [...], 'StructuredDiscussions' => [...], 'EnableStructuredDiscussions' => [...], 'TemplateSandbox' => [...], 'MissedPages' => [...], 'MathStatus' => [...], 'MathShowImage' => [...], 'MathWikibase' => [...], 'CollabPad' => [...], 'GlobalUsage' => [...], 'MostGloballyLinkedFiles' => [...], 'GloballyWantedFiles' => [...], 'GloballyUnusedFiles' => [...], 'LintErrors' => [...], 'TranscodeStatistics' => [...], 'OrphanedTimedText' => [...], 'ReplaceText' => [...], 'VueTest' => [...], 'Hieroglyphs' => [...], 'DisambiguationPages' => [...], 'DisambiguationPageLinks' => [...], 'Activeusers' => [...], 'Allmessages' => [...], 'AllMyUploads' => [...], 'Allpages' => [...], 'Ancientpages' => [...], 'ApiHelp' => [...], 'ApiSandbox' => [...], 'AutoblockList' => [...], 'Badtitle' => [...], 'Blankpage' => [...], 'Block' => [...], 'BlockList' => [...], 'Booksources' => [...], 'BotPasswords' => [...], 'BrokenRedirects' => [...], 'Categories' => [...], 'ChangeContentModel' => [...], 'ChangeCredentials' => [...], 'ChangeEmail' => [...], 'ChangePassword' => [...], 'ComparePages' => [...], 'Confirmemail' => [...], 'Contributions' => [...], 'CreateAccount' => [...], ...]; protected $namespaceNames = [-2 => 'Media', -1 => 'Special', 0 => '', 1 => 'Talk', 2 => 'User', 3 => 'User_talk', 4 => 'ReedyDevWiki', 5 => 'ReedyDevWiki_talk', 6 => 'File', 7 => 'File_talk', 8 => 'MediaWiki', 9 => 'MediaWiki_talk', 10 => 'Template', 11 => 'Template_talk', 12 => 'Help', 13 => 'Help_talk', 14 => 'Category', 15 => 'Category_talk', 100 => 'Foo', 101 => 'Foo_talk', 250 => 'Page', 251 => 'Page_talk', 252 => 'Index', 253 => 'Index_talk', 460 => 'Campaign', 461 => 'Campaign_talk', 710 => 'TimedText', 711 => 'TimedText_talk', 828 => 'Module', 829 => 'Module_talk', 1198 => 'Translations', 1199 => 'Translations_talk', 2300 => 'Gadget', 2301 => 'Gadget_talk', 2302 => 'Gadget_definition', 2303 => 'Gadget_definition_talk', 2600 => 'Topic']; protected $mNamespaceIds = NULL; protected $namespaceAliases = NULL; private $transformData = []; private $namespaceInfo = class NamespaceInfo { private $alwaysCapitalizedNamespaces = [...]; private $canonicalNamespaces = [...]; private $namespaceIndexes = [...]; private $validNamespaces = [...]; private $options = class MediaWiki\Config\ServiceOptions { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... } }; private $localisationCache = class LocalisationCache { private $options = class MediaWiki\Config\ServiceOptions { ... }; private $manualRecache = FALSE; protected $data = [...]; private $store = class LCStoreStaticArray { ... }; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $clearStoreCallbacks = [...]; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { ... }; private $loadedItems = [...]; private $loadedSubitems = [...]; private $initialisedLangs = [...]; private $shallowFallbacks = [...]; private $recachedLangs = [...]; private $pluralRules = NULL; private $pluralRuleTypes = NULL; private $mergeableKeys = NULL }; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { private $options = class MediaWiki\Config\ServiceOptions { ... }; private $languageNameCache = NULL; private $validCodeCache = [...]; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... } }; private $langFallback = class MediaWiki\Languages\LanguageFallback { private $siteLangCode = 'en-gb'; private $localisationCache = class LocalisationCache { ... }; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { ... }; private $fallbackCache = [...] }; private $grammarTransformCache = NULL; private $converterFactory = class MediaWiki\Languages\LanguageConverterFactory { private $cache = [...]; private $converterList = [...]; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { ... }; private $isConversionDisabled = FALSE; private $isTitleConversionDisabled = FALSE; private $defaultLanguage = class Closure { virtual $closure = "Wikimedia\Services\ServiceContainer::{closure}", ... } }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { private $dynamicHandlers = [...]; private $tombstones = [...]; private $handlersByName = [...]; private $registry = class MediaWiki\HookContainer\GlobalHookRegistry { ... }; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { ... }; private $nextScopedRegisterId = 0 }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } }; private $config = class GlobalVarConfig { private $prefix = 'wg' } }, $namespaceInfo = class NamespaceInfo { private $alwaysCapitalizedNamespaces = [0 => -1, 1 => 2, 2 => 8]; private $canonicalNamespaces = [0 => '', -2 => 'Media', -1 => 'Special', 1 => 'Talk', 2 => 'User', 3 => 'User_talk', 4 => 'Project', 5 => 'Project_talk', 6 => 'File', 7 => 'File_talk', 8 => 'MediaWiki', 9 => 'MediaWiki_talk', 10 => 'Template', 11 => 'Template_talk', 12 => 'Help', 13 => 'Help_talk', 14 => 'Category', 15 => 'Category_talk', 100 => 'Foo', 101 => 'Foo_talk', 250 => 'Page', 251 => 'Page_talk', 252 => 'Index', 253 => 'Index_talk', 2300 => 'Gadget', 2301 => 'Gadget_talk', 2302 => 'Gadget_definition', 2303 => 'Gadget_definition_talk', 460 => 'Campaign', 461 => 'Campaign_talk', 1198 => 'Translations', 1199 => 'Translations_talk', 828 => 'Module', 829 => 'Module_talk', 2600 => 'Topic', 710 => 'TimedText', 711 => 'TimedText_talk']; private $namespaceIndexes = ['' => 0, 'media' => -2, 'special' => -1, 'talk' => 1, 'user' => 2, 'user_talk' => 3, 'project' => 4, 'project_talk' => 5, 'file' => 6, 'file_talk' => 7, 'mediawiki' => 8, 'mediawiki_talk' => 9, 'template' => 10, 'template_talk' => 11, 'help' => 12, 'help_talk' => 13, 'category' => 14, 'category_talk' => 15, 'foo' => 100, 'foo_talk' => 101, 'page' => 250, 'page_talk' => 251, 'index' => 252, 'index_talk' => 253, 'gadget' => 2300, 'gadget_talk' => 2301, 'gadget_definition' => 2302, 'gadget_definition_talk' => 2303, 'campaign' => 460, 'campaign_talk' => 461, 'translations' => 1198, 'translations_talk' => 1199, 'module' => 828, 'module_talk' => 829, 'topic' => 2600, 'timedtext' => 710, 'timedtext_talk' => 711]; private $validNamespaces = [0 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10, 11 => 11, 12 => 12, 13 => 13, 14 => 14, 15 => 15, 16 => 100, 17 => 101, 18 => 250, 19 => 251, 20 => 252, 21 => 253, 22 => 460, 23 => 461, 24 => 710, 25 => 711, 26 => 828, 27 => 829, 28 => 1198, 29 => 1199, 30 => 2300, 31 => 2301, 32 => 2302, 33 => 2303, 34 => 2600]; private $options = class MediaWiki\Config\ServiceOptions { private $keys = [...]; private $options = [...] }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } } }, $titleFactory = class TitleFactory { }, $wikiPageFactory = class MediaWiki\Page\WikiPageFactory { private $titleFactory = class TitleFactory { }; private $wikiPageFactoryHookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } }; private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { private $loadMonitor = NULL; private $csProvider = class Wikimedia\RequestTimeout\CriticalSectionProvider { ... }; private $chronologyCallback = class Closure { virtual $closure = "$this->Wikimedia\Rdbms\{closure}", ... }; private $srvCache = class APCUBagOStuff { ... }; private $wanCache = class WANObjectCache { ... }; private $profiler = class Closure { virtual $closure = "MWLBFactory::{closure}", ... }; private $trxProfiler = class Wikimedia\Rdbms\TransactionProfiler { ... }; private $connLogger = class MediaWiki\Logger\LegacyLogger { ... }; private $queryLogger = class MediaWiki\Logger\LegacyLogger { ... }; private $replLogger = class MediaWiki\Logger\LegacyLogger { ... }; private $perfLogger = class MediaWiki\Logger\LegacyLogger { ... }; private $errorLogger = [...]; private $deprecationLogger = [...]; private $localDomain = class Wikimedia\Rdbms\DatabaseDomain { ... }; private $conns = [...]; private $clusterName = 'DEFAULT'; private $servers = [...]; private $groupLoads = [...]; private $waitTimeout = 10; private $loadMonitorConfig = [...]; private $maxLag = 6; private $defaultGroup = ''; private $cliMode = FALSE; private $agent = ''; private $tableAliases = [...]; private $indexAliases = [...]; private $domainAliases = [...]; private $trxRecurringCallbacks = [...]; private $tempTablesOnlyMode = [...]; private $trxRoundId = FALSE; private $trxRoundStage = 'cursory'; private $errorConnection = NULL; private $readIndexByGroup = [...]; private $waitForPos = NULL; private $laggedReplicaMode = FALSE; private $lastError = 'Unknown error'; private $readOnlyReason = FALSE; private $connectionCounter = 2; private $disabled = FALSE; private $chronologyCallbackTriggered = TRUE; private $nonLocalDomainCache = [...] } }, $uploadRevisionImporter = class ImportableUploadRevisionImporter { private $logger = class MediaWiki\Logger\LegacyLogger { protected $channel = 'UploadRevisionImporter'; private $minimumLevel = 100; private $isDB = FALSE }; private $enableUploads = TRUE; private $shouldCreateNullRevision = TRUE }, $permissionManager = class MediaWiki\Permissions\PermissionManager { private $options = class MediaWiki\Config\ServiceOptions { private $keys = [...]; private $options = [...] }; private $specialPageFactory = class MediaWiki\SpecialPage\SpecialPageFactory { private $list = [...]; private $aliases = [...]; private $options = class MediaWiki\Config\ServiceOptions { ... }; private $contLang = class Language { ... }; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $titleFactory = class TitleFactory { ... } }; private $redirectLookup = class MediaWiki\Page\RedirectStore { private $wikiPageFactory = class MediaWiki\Page\WikiPageFactory { ... } }; private $nsInfo = class NamespaceInfo { private $alwaysCapitalizedNamespaces = [...]; private $canonicalNamespaces = [...]; private $namespaceIndexes = [...]; private $validNamespaces = [...]; private $options = class MediaWiki\Config\ServiceOptions { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... } }; private $groupPermissionsLookup = class MediaWiki\Permissions\GroupPermissionsLookup { private $groupPermissions = [...]; private $revokePermissions = [...]; private $groupInheritance = [...] }; private $userGroupManager = class MediaWiki\User\UserGroupManager { private $options = class MediaWiki\Config\ServiceOptions { ... }; private $loadBalancerFactory = class Wikimedia\Rdbms\LBFactorySimple { ... }; private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $readOnlyMode = class ReadOnlyMode { ... }; private $userEditTracker = class MediaWiki\User\UserEditTracker { ... }; private $groupPermissionsLookup = class MediaWiki\Permissions\GroupPermissionsLookup { ... }; private $jobQueueGroup = class JobQueueGroup { ... }; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $tempUserConfig = class MediaWiki\User\TempUser\RealTempUserConfig { ... }; private $clearCacheCallbacks = [...]; private $dbDomain = FALSE; private $userGroupCache = [...]; private $queryFlagsUsedForCaching = [...] }; private $allRights = NULL; private $blockErrorFormatter = class MediaWiki\Block\BlockErrorFormatter { private $titleFormatter = class MediaWikiTitleCodec { ... } }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } }; private $userCache = class UserCache { protected $cache = [...]; protected $typesCached = [...]; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $linkBatchFactory = class MediaWiki\Cache\LinkBatchFactory { ... }; private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... } }; private $restrictionStore = class MediaWiki\Permissions\RestrictionStore { private $options = class MediaWiki\Config\ServiceOptions { ... }; private $wanCache = class WANObjectCache { ... }; private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... }; private $linkCache = class LinkCache { ... }; private $linksMigration = class MediaWiki\Linker\LinksMigration { ... }; private $commentStore = class CommentStore { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $pageStore = class MediaWiki\Page\PageStore { ... }; private $cache = [...] }; private $titleFormatter = class MediaWikiTitleCodec { protected $language = class Language { ... }; protected $genderCache = class GenderCache { ... }; protected $localInterwikis = [...]; protected $interwikiLookup = class MediaWiki\Interwiki\ClassicInterwikiLookup { ... }; protected $nsInfo = class NamespaceInfo { ... }; private $createMalformedTitleException = class Closure { virtual $closure = "MediaWikiTitleCodec::{closure}", ... } }; private $tempUserConfig = class MediaWiki\User\TempUser\RealTempUserConfig { private $enabled = FALSE; private $serialProviderConfig = [...]; private $serialMappingConfig = [...]; private $autoCreateActions = NULL; private $genPattern = NULL; private $matchPattern = NULL }; private $userFactory = class MediaWiki\User\UserFactory { private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... }; private $userNameUtils = class MediaWiki\User\UserNameUtils { ... }; private $lastUserFromIdentity = NULL }; private $actionFactory = class MediaWiki\Actions\ActionFactory { private $actionsConfig = [...]; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... } }; private $usersRights = ['u:1' => [...]]; private $temporaryUserRights = []; private $cachedRights = ['read' => TRUE]; private $coreRights = [0 => 'apihighlimits', 1 => 'applychangetags', 2 => 'autoconfirmed', 3 => 'autocreateaccount', 4 => 'autopatrol', 5 => 'bigdelete', 6 => 'block', 7 => 'blockemail', 8 => 'bot', 9 => 'browsearchive', 10 => 'changetags', 11 => 'createaccount', 12 => 'createpage', 13 => 'createtalk', 14 => 'delete', 15 => 'delete-redirect', 16 => 'deletechangetags', 17 => 'deletedhistory', 18 => 'deletedtext', 19 => 'deletelogentry', 20 => 'deleterevision', 21 => 'edit', 22 => 'editcontentmodel', 23 => 'editinterface', 24 => 'editprotected', 25 => 'editmyoptions', 26 => 'editmyprivateinfo', 27 => 'editmyusercss', 28 => 'editmyuserjson', 29 => 'editmyuserjs', 30 => 'editmyuserjsredirect', 31 => 'editmywatchlist', 32 => 'editsemiprotected', 33 => 'editsitecss', 34 => 'editsitejson', 35 => 'editsitejs', 36 => 'editusercss', 37 => 'edituserjson', 38 => 'edituserjs', 39 => 'hideuser', 40 => 'import', 41 => 'importupload', 42 => 'ipblock-exempt', 43 => 'managechangetags', 44 => 'markbotedits', 45 => 'mergehistory', 46 => 'minoredit', 47 => 'move', 48 => 'movefile', 49 => 'move-categorypages', 50 => 'move-rootuserpages', 51 => 'move-subpages', 52 => 'nominornewtalk', 53 => 'noratelimit', 54 => 'override-export-depth', 55 => 'pagelang', 56 => 'patrol', 57 => 'patrolmarks', 58 => 'protect', 59 => 'purge', 60 => 'read', 61 => 'reupload', 62 => 'reupload-own', 63 => 'reupload-shared', 64 => 'rollback', 65 => 'sendemail', 66 => 'siteadmin', 67 => 'suppressionlog', 68 => 'suppressredirect', 69 => 'suppressrevision', 70 => 'unblockself', 71 => 'undelete', 72 => 'unwatchedpages', 73 => 'upload', 74 => 'upload_by_url', 75 => 'userrights', 76 => 'userrights-interwiki', 77 => 'viewmyprivateinfo', 78 => 'viewmywatchlist', 79 => 'viewsuppressed', 80 => 'writeapi'] }, $contentHandlerFactory = class MediaWiki\Content\ContentHandlerFactory { private $handlerSpecs = ['GadgetDefinition' => 'MediaWiki\\Extension\\Gadgets\\Content\\GadgetDefinitionContentHandler', 'Campaign' => 'CampaignContentHandler', 'translate-messagebundle' => '\\MediaWiki\\Extension\\Translate\\MessageBundleTranslation\\MessageBundleContentHandler', 'proofread-page' => '\\ProofreadPage\\Page\\PageContentHandler', 'proofread-index' => '\\ProofreadPage\\Index\\IndexContentHandler', 'Scribunto' => 'MediaWiki\\Extension\\Scribunto\\ScribuntoContentHandler', 'JsonSchema' => 'MediaWiki\\Extension\\EventLogging\\JsonSchemaContentHandler', 'MassMessageListContent' => 'MediaWiki\\MassMessage\\Content\\MassMessageListContentHandler', 'SecurePoll' => '\\MediaWiki\\Extension\\SecurePoll\\SecurePollContentHandler', 'flow-board' => 'Flow\\Content\\BoardContentHandler', 'sanitized-css' => 'MediaWiki\\Extension\\TemplateStyles\\TemplateStylesContentHandler', 'wikitext' => 'WikitextContentHandler', 'javascript' => 'JavaScriptContentHandler', 'json' => 'JsonContentHandler', 'css' => 'CssContentHandler', 'text' => 'TextContentHandler', 'unknown' => 'FallbackContentHandler']; private $handlersByModel = ['css' => class CssContentHandler { ... }, 'wikitext' => class WikitextContentHandler { ... }]; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { protected $serviceContainer = class MediaWiki\MediaWikiServices { ... } }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } }; private $logger = class MediaWiki\Logger\LegacyLogger { protected $channel = 'ContentHandler'; private $minimumLevel = 100; private $isDB = FALSE } }, $slotRoleRegistry = class MediaWiki\Revision\SlotRoleRegistry { private $roleNamesStore = class MediaWiki\Storage\NameTableStore { private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... }; private $cache = class WANObjectCache { ... }; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $tableCache = [...]; private $domain = FALSE; private $cacheTTL = 2592000; private $table = 'slot_roles'; private $idField = 'role_id'; private $nameField = 'role_name'; private $normalizationCallback = 'strtolower'; private $insertCallback = NULL }; private $instantiators = ['main' => class Closure { virtual $closure = "Wikimedia\Services\ServiceContainer::{closure}", ... }]; private $handlers = NULL } )	.../WikiImporterFactory.php:117
12	0.0730	5588112	open( $uri = 'uploadsource://f19e78536bc88aacf5d7e2c7aae8b5ea', $encoding = NULL, $flags = 524288 )	.../WikiImporter.php:181
13	0.0731	5597280	UploadSourceAdapter->stream_read( $count = 8192 )	.../WikiImporter.php:181
14	0.0731	5597280	strlen( $string = NULL )	.../UploadSourceAdapter.php:88

Event Timeline

Importing these two files (from enwiki)

Change 812404 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@master] UploadSourceAdapter::stream_read() check that $this->mBuffer !== null

https://gerrit.wikimedia.org/r/812404

Hmm that patch seemingly results in

( ! ) Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/wiki/mediawiki/core/includes/import/UploadSourceAdapter.php on line 100
Call Stack
#	Time	Memory	Function	Location
1	0.0011	373768	{main}( )	.../index.php:0
2	0.4817	7022576	wfIndexMain( )	.../index.php:46
3	0.4836	7022768	MediaWiki->run( )	.../index.php:50
4	0.4836	7022768	MediaWiki->main( )	.../MediaWiki.php:568
5	0.4860	7102536	MediaWiki->performRequest( )	.../MediaWiki.php:911
6	0.5392	7631368	MediaWiki\SpecialPage\SpecialPageFactory->executePath( $path = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = NULL; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = TRUE; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = ['mTextform' => [...], 'mUrlform' => [...], 'mDbkeyform' => [...], 'mNamespace' => [...], 'mInterwiki' => [...], 'mFragment' => [...]]; private $dynamicPropertiesAccessDeprecated = FALSE }, $context = class RequestContext { private $request = class WebRequest { protected $data = [...]; protected $queryAndPathParams = [...]; protected $queryParams = [...]; protected $headers = [...]; private $response = class WebResponse { ... }; private $ip = '10.13.37.22'; protected $requestTime = 1657312201.0777; protected $protocol = 'https'; protected $sessionId = class MediaWiki\Session\SessionId { ... }; protected $markedAsSafe = FALSE }; private $title = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = NULL; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = NULL; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = [...]; private $dynamicPropertiesAccessDeprecated = FALSE }; private $wikipage = NULL; private $action = NULL; private $output = class OutputPage { private ${ContextSource}context = ...; protected $mMetatags = [...]; protected $mLinktags = [...]; protected $mCanonicalUrl = FALSE; private $mPageTitle = 'Import pages'; private $displayTitle = NULL; private $cacheIsFinal = FALSE; public $mBodytext = ''; private $mHTMLtitle = 'Import pages - ReedyDevWiki'; private $mIsArticle = FALSE; private $mIsArticleRelated = FALSE; private $mHasCopyright = FALSE; private $mPrintable = FALSE; private $mSections = [...]; private $mSubtitle = [...]; public $mRedirect = ''; protected $mStatusCode = NULL; protected $mLastModified = ''; protected $mCategoryLinks = [...]; protected $mCategories = [...]; protected $mIndicators = [...]; private $mLanguageLinks = [...]; private $mScripts = ''; protected $mInlineStyles = ''; public $mPageLinkTitle = ''; protected $mAdditionalHtmlClasses = [...]; protected $mHeadItems = [...]; protected $mAdditionalBodyClasses = [...]; protected $mModules = [...]; protected $mModuleStyles = [...]; protected $mResourceLoader = NULL; private $rlClient = NULL; private $rlClientContext = NULL; private $rlExemptStyleModules = NULL; protected $mJsConfigVars = [...]; protected $mTemplateIds = [...]; protected $mImageTimeKeys = [...]; public $mRedirectCode = ''; protected $mFeedLinksAppendQuery = NULL; protected $mAllowedModules = [...]; protected $mDoNothing = FALSE; protected $mParserOptions = NULL; private $mFeedLinks = [...]; protected $mEnableClientCache = TRUE; private $mArticleBodyOnly = FALSE; protected $mNewSectionLink = FALSE; protected $mHideNewSectionLink = FALSE; public $mNoGallery = FALSE; protected $mCdnMaxage = 0; protected $mCdnMaxageLimit = INF; protected $mPreventClickjacking = TRUE; private $mRevisionId = NULL; private $mRevisionTimestamp = NULL; protected $mFileVersion = NULL; protected $styles = [...]; private $mIndexPolicy = 'noindex'; private $mFollowPolicy = 'nofollow'; private $mRobotsOptions = [...]; private $mVaryHeader = [...]; private $mRedirectedFrom = NULL; private $mProperties = [...]; private $mTarget = NULL; private $mEnableTOC = FALSE; private $copyrightUrl = NULL; private $limitReportJSData = [...]; private $contentOverrides = [...]; private $contentOverrideCallbacks = [...]; private $mLinkHeader = [...]; private $CSP = class ContentSecurityPolicy { ... } }; private $user = class User { public $mId = 1; public $mName = 'Reedy'; public $mActorId = 1; public $mRealName = 'Sam'; public $mEmail = 'sam@reedyboy.net'; public $mTouched = '20220706230716'; protected $mQuickTouched = NULL; protected $mToken = 'a47668ca62955a1c7c36284542d16f8d'; public $mEmailAuthenticated = NULL; protected $mEmailToken = '\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000'; protected $mEmailTokenExpires = NULL; protected $mRegistration = '20110131194049'; protected $mLoadedItems = TRUE; public $mFrom = 'session'; protected $mDatePreference = NULL; private $mBlockedby = ''; protected $mHash = FALSE; protected $mBlockreason = ''; protected $mGlobalBlock = NULL; protected $mLocked = NULL; private $mHideName = FALSE; private $mRequest = class WebRequest { ... }; private $mBlock = NULL; private $mBlockedFromCreateAccount = FALSE; protected $queryFlagsUsed = 0; private $mThisAsAuthority = class MediaWiki\Permissions\UserAuthority { ... }; private $isTemp = NULL }; private $authority = NULL; private $lang = class Language { public $mCode = 'en-gb'; public $mMagicExtensions = [...]; private $mHtmlCode = NULL; public $dateFormatStrings = [...]; public $mExtendedSpecialPageAliases = [...]; protected $namespaceNames = [...]; protected $mNamespaceIds = NULL; protected $namespaceAliases = NULL; private $transformData = [...]; private $namespaceInfo = class NamespaceInfo { ... }; private $localisationCache = class LocalisationCache { ... }; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { ... }; private $langFallback = class MediaWiki\Languages\LanguageFallback { ... }; private $grammarTransformCache = NULL; private $converterFactory = class MediaWiki\Languages\LanguageConverterFactory { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $config = class GlobalVarConfig { ... } }; private $skin = class MediaWiki\Skins\Vector\SkinVectorLegacy { private ${ContextSource}context = ...; private ${Skin}defaultLinkOptions = [...]; protected $skinname = 'vector'; protected $options = [...]; protected $mRelevantTitle = NULL; private ${Skin}mRelevantUser = FALSE; private ${Skin}languageLinks = NULL; private ${Skin}sidebar = NULL; private ${Skin}componentRegistry = class MediaWiki\Skin\SkinComponentRegistry { ... }; public $template = NULL; public $thispage = NULL; public $titletxt = NULL; public $userpage = NULL; public $thisquery = NULL; public $loggedin = NULL; public $username = NULL; public $userpageUrlDetails = NULL; private ${SkinTemplate}isTempUser = NULL; private ${SkinTemplate}isNamedUser = NULL; private ${SkinTemplate}templateContextSet = FALSE; private ${SkinTemplate}contentNavigationCached = NULL; private ${SkinMustache}templateParser = NULL; private ${MediaWiki\Skins\Vector\SkinVector}languages = NULL }; private $timing = NULL; private $config = class GlobalVarConfig { private $prefix = 'wg' }; private $languageRecursion = FALSE }, $including = ???, $linkRenderer = ??? )	.../MediaWiki.php:316
7	0.5394	7635264	SpecialPage->run( $subPage = NULL )	.../SpecialPageFactory.php:1421
8	0.5858	8251360	SpecialImport->execute( $par = NULL )	.../SpecialPage.php:691
9	0.7477	11112408	SpecialImport->doImport( )	.../SpecialImport.php:112
10	0.7500	11179512	WikiImporterFactory->getWikiImporter( $source = class ImportStreamSource { private $mHandle = resource(1460) of type (stream) } )	.../SpecialImport.php:204
11	0.7523	11180120	WikiImporter->__construct( $source = class ImportStreamSource { private $mHandle = resource(1460) of type (stream) }, $config = class GlobalVarConfig { private $prefix = 'wg' }, $hookContainer = class MediaWiki\HookContainer\HookContainer { private $dynamicHandlers = []; private $tombstones = []; private $handlersByName = ['CategoryTree-config' => class MediaWiki\Extension\CategoryTree\ConfigHookHandler { ... }, 'SecurePoll-setup' => class MediaWiki\Extension\SecurePoll\HookHandler\SetupHandler { ... }, 'TimedMediaHandler-main' => class MediaWiki\TimedMediaHandler\Hooks { ... }, 'OATHAuth-main' => class MediaWiki\Extension\OATHAuth\Hook\HookHandler { ... }, 'TitleBlacklist-TitleBlacklistHookHandler' => class MediaWiki\Extension\TitleBlacklist\Hooks { ... }, 'GlobalBlocking-main' => class MediaWiki\Extension\GlobalBlocking\GlobalBlockingHooks { ... }, 'TorBlock-TorBlockHooks' => class MediaWiki\Extension\TorBlock\Hooks { ... }, 'Gadgets-GadgetHooks' => class MediaWiki\Extension\Gadgets\Hooks { ... }, 'BetaFeatures-main' => class MediaWiki\Extension\BetaFeatures\Hooks { ... }, 'Math-PreferencesHooksHandler' => class MediaWiki\Extension\Math\HookHandlers\PreferencesHooksHandler { ... }, 'Popups-PopupsHooks' => class Popups\PopupsHooks { ... }, 'AdvancedSearch-main' => class AdvancedSearch\Hooks { ... }, 'UniversalLanguageSelector-main' => class UniversalLanguageSelector\Hooks { ... }, 'ParserFunctions-ParserFunctionsHookHandler' => class MediaWiki\Extension\ParserFunctions\Hooks { ... }, 'CategoryTree-default' => class MediaWiki\Extension\CategoryTree\Hooks { ... }, 'Cite-parser' => class Cite\Hooks\CiteParserHooks { ... }, 'Math-ParserHooksHandler' => class MediaWiki\Extension\Math\HookHandlers\ParserHooksHandler { ... }, 'Abuse Filter-AutoPromoteGroups' => class MediaWiki\Extension\AbuseFilter\Hooks\Handlers\AutoPromoteGroupsHandler { ... }]; private $registry = class MediaWiki\HookContainer\GlobalHookRegistry { private $extensionRegistry = class ExtensionRegistry { ... }; private $deprecatedHooks = class MediaWiki\HookContainer\DeprecatedHooks { ... } }; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { protected $serviceContainer = class MediaWiki\MediaWikiServices { ... } }; private $nextScopedRegisterId = 0 }, $contentLanguage = class Language { public $mCode = 'en-gb'; public $mMagicExtensions = []; private $mHtmlCode = NULL; public $dateFormatStrings = []; public $mExtendedSpecialPageAliases = ['BetaFeatures' => [...], 'Uncategorizedcategories' => [...], 'Uncategorizedimages' => [...], 'Uncategorizedpages' => [...], 'Uncategorizedtemplates' => [...], 'Code' => [...], 'RepoAdmin' => [...], 'Gadgets' => [...], 'GadgetUsage' => [...], 'GoogleNewsSitemap' => [...], 'Renameuser' => [...], 'Nuke' => [...], 'RandomPageInCategory' => [...], 'SiteMatrix' => [...], 'Campaigns' => [...], 'UploadWizard' => [...], 'CheckUser' => [...], 'CheckUserLog' => [...], 'Investigate' => [...], 'InvestigateBlock' => [...], 'ShortUrl' => [...], 'UrlShortener' => [...], 'ManageShortUrls' => [...], 'UrlRedirector' => [...], 'Uploads' => [...], 'History' => [...], 'MobileCite' => [...], 'MobileOptions' => [...], 'MobileDiff' => [...], 'MobileLanguages' => [...], 'Nearby' => [...], 'AbuseLog' => [...], 'AbuseFilter' => [...], 'AggregateGroups' => [...], 'ImportTranslations' => [...], 'ExportTranslations' => [...], 'LanguageStats' => [...], 'ManageMessageGroups' => [...], 'ManageTranslatorSandbox' => [...], 'MessageGroupStats' => [...], 'PageTranslation' => [...], 'PageTranslationDeletePage' => [...], 'SearchTranslations' => [...], 'SupportedLanguages' => [...], 'Translate' => [...], 'TranslationStash' => [...], 'TranslationStats' => [...], 'Translations' => [...], 'PageMigration' => [...], 'PagePreparation' => [...], 'CategoryTree' => [...], 'IndexPages' => [...], 'PagesWithoutScans' => [...], 'GlobalBlock' => [...], 'GlobalBlockList' => [...], 'RemoveGlobalBlock' => [...], 'GlobalBlockStatus' => [...], 'ExtensionDistributor' => [...], 'SkinDistributor' => [...], 'EmailCapture' => [...], 'Notifications' => [...], 'DisplayNotificationsConfiguration' => [...], 'NotificationsMarkRead' => [...], 'Interwiki' => [...], 'DisableOATHForUser' => [...], 'OATHManage' => [...], 'VerifyOATHForUser' => [...], 'MassMessage' => [...], 'CreateMassMessageList' => [...], 'EditMassMessageList' => [...], 'OAuthConsumerRegistration' => [...], 'OAuthManageConsumers' => [...], 'OAuthListConsumers' => [...], 'OAuthManageMyGrants' => [...], 'OAuth' => [...], 'SecurePoll' => [...], 'SecurePollLog' => [...], 'Petition' => [...], 'PetitionData' => [...], 'UserMerge' => [...], 'Contact' => [...], 'OverrideThrottle' => [...], 'ThrottleOverrideList' => [...], 'Captcha' => [...], 'StructuredDiscussions' => [...], 'EnableStructuredDiscussions' => [...], 'TemplateSandbox' => [...], 'MissedPages' => [...], 'MathStatus' => [...], 'MathShowImage' => [...], 'MathWikibase' => [...], 'CollabPad' => [...], 'GlobalUsage' => [...], 'MostGloballyLinkedFiles' => [...], 'GloballyWantedFiles' => [...], 'GloballyUnusedFiles' => [...], 'LintErrors' => [...], 'TranscodeStatistics' => [...], 'OrphanedTimedText' => [...], 'ReplaceText' => [...], 'VueTest' => [...], 'Hieroglyphs' => [...], 'DisambiguationPages' => [...], 'DisambiguationPageLinks' => [...], 'Activeusers' => [...], 'Allmessages' => [...], 'AllMyUploads' => [...], 'Allpages' => [...], 'Ancientpages' => [...], 'ApiHelp' => [...], 'ApiSandbox' => [...], 'AutoblockList' => [...], 'Badtitle' => [...], 'Blankpage' => [...], 'Block' => [...], 'BlockList' => [...], 'Booksources' => [...], 'BotPasswords' => [...], 'BrokenRedirects' => [...], 'Categories' => [...], 'ChangeContentModel' => [...], 'ChangeCredentials' => [...], 'ChangeEmail' => [...], 'ChangePassword' => [...], 'ComparePages' => [...], 'Confirmemail' => [...], 'Contributions' => [...], 'CreateAccount' => [...], ...]; protected $namespaceNames = [-2 => 'Media', -1 => 'Special', 0 => '', 1 => 'Talk', 2 => 'User', 3 => 'User_talk', 4 => 'ReedyDevWiki', 5 => 'ReedyDevWiki_talk', 6 => 'File', 7 => 'File_talk', 8 => 'MediaWiki', 9 => 'MediaWiki_talk', 10 => 'Template', 11 => 'Template_talk', 12 => 'Help', 13 => 'Help_talk', 14 => 'Category', 15 => 'Category_talk', 100 => 'Foo', 101 => 'Foo_talk', 250 => 'Page', 251 => 'Page_talk', 252 => 'Index', 253 => 'Index_talk', 460 => 'Campaign', 461 => 'Campaign_talk', 710 => 'TimedText', 711 => 'TimedText_talk', 828 => 'Module', 829 => 'Module_talk', 1198 => 'Translations', 1199 => 'Translations_talk', 2300 => 'Gadget', 2301 => 'Gadget_talk', 2302 => 'Gadget_definition', 2303 => 'Gadget_definition_talk', 2600 => 'Topic']; protected $mNamespaceIds = NULL; protected $namespaceAliases = NULL; private $transformData = []; private $namespaceInfo = class NamespaceInfo { private $alwaysCapitalizedNamespaces = [...]; private $canonicalNamespaces = [...]; private $namespaceIndexes = [...]; private $validNamespaces = [...]; private $options = class MediaWiki\Config\ServiceOptions { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... } }; private $localisationCache = class LocalisationCache { private $options = class MediaWiki\Config\ServiceOptions { ... }; private $manualRecache = FALSE; protected $data = [...]; private $store = class LCStoreStaticArray { ... }; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $clearStoreCallbacks = [...]; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { ... }; private $loadedItems = [...]; private $loadedSubitems = [...]; private $initialisedLangs = [...]; private $shallowFallbacks = [...]; private $recachedLangs = [...]; private $pluralRules = NULL; private $pluralRuleTypes = NULL; private $mergeableKeys = NULL }; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { private $options = class MediaWiki\Config\ServiceOptions { ... }; private $languageNameCache = NULL; private $validCodeCache = [...]; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... } }; private $langFallback = class MediaWiki\Languages\LanguageFallback { private $siteLangCode = 'en-gb'; private $localisationCache = class LocalisationCache { ... }; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { ... }; private $fallbackCache = [...] }; private $grammarTransformCache = NULL; private $converterFactory = class MediaWiki\Languages\LanguageConverterFactory { private $cache = [...]; private $converterList = [...]; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { ... }; private $isConversionDisabled = FALSE; private $isTitleConversionDisabled = FALSE; private $defaultLanguage = class Closure { virtual $closure = "Wikimedia\Services\ServiceContainer::{closure}", ... } }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { private $dynamicHandlers = [...]; private $tombstones = [...]; private $handlersByName = [...]; private $registry = class MediaWiki\HookContainer\GlobalHookRegistry { ... }; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { ... }; private $nextScopedRegisterId = 0 }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } }; private $config = class GlobalVarConfig { private $prefix = 'wg' } }, $namespaceInfo = class NamespaceInfo { private $alwaysCapitalizedNamespaces = [0 => -1, 1 => 2, 2 => 8]; private $canonicalNamespaces = [0 => '', -2 => 'Media', -1 => 'Special', 1 => 'Talk', 2 => 'User', 3 => 'User_talk', 4 => 'Project', 5 => 'Project_talk', 6 => 'File', 7 => 'File_talk', 8 => 'MediaWiki', 9 => 'MediaWiki_talk', 10 => 'Template', 11 => 'Template_talk', 12 => 'Help', 13 => 'Help_talk', 14 => 'Category', 15 => 'Category_talk', 100 => 'Foo', 101 => 'Foo_talk', 250 => 'Page', 251 => 'Page_talk', 252 => 'Index', 253 => 'Index_talk', 2300 => 'Gadget', 2301 => 'Gadget_talk', 2302 => 'Gadget_definition', 2303 => 'Gadget_definition_talk', 460 => 'Campaign', 461 => 'Campaign_talk', 1198 => 'Translations', 1199 => 'Translations_talk', 828 => 'Module', 829 => 'Module_talk', 2600 => 'Topic', 710 => 'TimedText', 711 => 'TimedText_talk']; private $namespaceIndexes = ['' => 0, 'media' => -2, 'special' => -1, 'talk' => 1, 'user' => 2, 'user_talk' => 3, 'project' => 4, 'project_talk' => 5, 'file' => 6, 'file_talk' => 7, 'mediawiki' => 8, 'mediawiki_talk' => 9, 'template' => 10, 'template_talk' => 11, 'help' => 12, 'help_talk' => 13, 'category' => 14, 'category_talk' => 15, 'foo' => 100, 'foo_talk' => 101, 'page' => 250, 'page_talk' => 251, 'index' => 252, 'index_talk' => 253, 'gadget' => 2300, 'gadget_talk' => 2301, 'gadget_definition' => 2302, 'gadget_definition_talk' => 2303, 'campaign' => 460, 'campaign_talk' => 461, 'translations' => 1198, 'translations_talk' => 1199, 'module' => 828, 'module_talk' => 829, 'topic' => 2600, 'timedtext' => 710, 'timedtext_talk' => 711]; private $validNamespaces = [0 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10, 11 => 11, 12 => 12, 13 => 13, 14 => 14, 15 => 15, 16 => 100, 17 => 101, 18 => 250, 19 => 251, 20 => 252, 21 => 253, 22 => 460, 23 => 461, 24 => 710, 25 => 711, 26 => 828, 27 => 829, 28 => 1198, 29 => 1199, 30 => 2300, 31 => 2301, 32 => 2302, 33 => 2303, 34 => 2600]; private $options = class MediaWiki\Config\ServiceOptions { private $keys = [...]; private $options = [...] }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } } }, $titleFactory = class TitleFactory { }, $wikiPageFactory = class MediaWiki\Page\WikiPageFactory { private $titleFactory = class TitleFactory { }; private $wikiPageFactoryHookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } }; private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { private $loadMonitor = NULL; private $csProvider = class Wikimedia\RequestTimeout\CriticalSectionProvider { ... }; private $chronologyCallback = class Closure { virtual $closure = "$this->Wikimedia\Rdbms\{closure}", ... }; private $srvCache = class APCUBagOStuff { ... }; private $wanCache = class WANObjectCache { ... }; private $profiler = class Closure { virtual $closure = "MWLBFactory::{closure}", ... }; private $trxProfiler = class Wikimedia\Rdbms\TransactionProfiler { ... }; private $connLogger = class MediaWiki\Logger\LegacyLogger { ... }; private $queryLogger = class MediaWiki\Logger\LegacyLogger { ... }; private $replLogger = class MediaWiki\Logger\LegacyLogger { ... }; private $perfLogger = class MediaWiki\Logger\LegacyLogger { ... }; private $errorLogger = [...]; private $deprecationLogger = [...]; private $localDomain = class Wikimedia\Rdbms\DatabaseDomain { ... }; private $conns = [...]; private $clusterName = 'DEFAULT'; private $servers = [...]; private $groupLoads = [...]; private $waitTimeout = 10; private $loadMonitorConfig = [...]; private $maxLag = 6; private $defaultGroup = ''; private $cliMode = FALSE; private $agent = ''; private $tableAliases = [...]; private $indexAliases = [...]; private $domainAliases = [...]; private $trxRecurringCallbacks = [...]; private $tempTablesOnlyMode = [...]; private $trxRoundId = FALSE; private $trxRoundStage = 'cursory'; private $errorConnection = NULL; private $readIndexByGroup = [...]; private $waitForPos = NULL; private $laggedReplicaMode = FALSE; private $lastError = 'Unknown error'; private $readOnlyReason = FALSE; private $connectionCounter = 2; private $disabled = FALSE; private $chronologyCallbackTriggered = TRUE; private $nonLocalDomainCache = [...] } }, $uploadRevisionImporter = class ImportableUploadRevisionImporter { private $logger = class MediaWiki\Logger\LegacyLogger { protected $channel = 'UploadRevisionImporter'; private $minimumLevel = 100; private $isDB = FALSE }; private $enableUploads = TRUE; private $shouldCreateNullRevision = TRUE }, $permissionManager = class MediaWiki\Permissions\PermissionManager { private $options = class MediaWiki\Config\ServiceOptions { private $keys = [...]; private $options = [...] }; private $specialPageFactory = class MediaWiki\SpecialPage\SpecialPageFactory { private $list = [...]; private $aliases = [...]; private $options = class MediaWiki\Config\ServiceOptions { ... }; private $contLang = class Language { ... }; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $titleFactory = class TitleFactory { ... } }; private $redirectLookup = class MediaWiki\Page\RedirectStore { private $wikiPageFactory = class MediaWiki\Page\WikiPageFactory { ... } }; private $nsInfo = class NamespaceInfo { private $alwaysCapitalizedNamespaces = [...]; private $canonicalNamespaces = [...]; private $namespaceIndexes = [...]; private $validNamespaces = [...]; private $options = class MediaWiki\Config\ServiceOptions { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... } }; private $groupPermissionsLookup = class MediaWiki\Permissions\GroupPermissionsLookup { private $groupPermissions = [...]; private $revokePermissions = [...]; private $groupInheritance = [...] }; private $userGroupManager = class MediaWiki\User\UserGroupManager { private $options = class MediaWiki\Config\ServiceOptions { ... }; private $loadBalancerFactory = class Wikimedia\Rdbms\LBFactorySimple { ... }; private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $readOnlyMode = class ReadOnlyMode { ... }; private $userEditTracker = class MediaWiki\User\UserEditTracker { ... }; private $groupPermissionsLookup = class MediaWiki\Permissions\GroupPermissionsLookup { ... }; private $jobQueueGroup = class JobQueueGroup { ... }; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $tempUserConfig = class MediaWiki\User\TempUser\RealTempUserConfig { ... }; private $clearCacheCallbacks = [...]; private $dbDomain = FALSE; private $userGroupCache = [...]; private $queryFlagsUsedForCaching = [...] }; private $allRights = NULL; private $blockErrorFormatter = class MediaWiki\Block\BlockErrorFormatter { private $titleFormatter = class MediaWikiTitleCodec { ... } }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } }; private $userCache = class UserCache { protected $cache = [...]; protected $typesCached = [...]; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $linkBatchFactory = class MediaWiki\Cache\LinkBatchFactory { ... }; private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... } }; private $restrictionStore = class MediaWiki\Permissions\RestrictionStore { private $options = class MediaWiki\Config\ServiceOptions { ... }; private $wanCache = class WANObjectCache { ... }; private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... }; private $linkCache = class LinkCache { ... }; private $linksMigration = class MediaWiki\Linker\LinksMigration { ... }; private $commentStore = class CommentStore { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $pageStore = class MediaWiki\Page\PageStore { ... }; private $cache = [...] }; private $titleFormatter = class MediaWikiTitleCodec { protected $language = class Language { ... }; protected $genderCache = class GenderCache { ... }; protected $localInterwikis = [...]; protected $interwikiLookup = class MediaWiki\Interwiki\ClassicInterwikiLookup { ... }; protected $nsInfo = class NamespaceInfo { ... }; private $createMalformedTitleException = class Closure { virtual $closure = "MediaWikiTitleCodec::{closure}", ... } }; private $tempUserConfig = class MediaWiki\User\TempUser\RealTempUserConfig { private $enabled = FALSE; private $serialProviderConfig = [...]; private $serialMappingConfig = [...]; private $autoCreateActions = NULL; private $genPattern = NULL; private $matchPattern = NULL }; private $userFactory = class MediaWiki\User\UserFactory { private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... }; private $userNameUtils = class MediaWiki\User\UserNameUtils { ... }; private $lastUserFromIdentity = NULL }; private $actionFactory = class MediaWiki\Actions\ActionFactory { private $actionsConfig = [...]; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... } }; private $usersRights = ['u:1' => [...]]; private $temporaryUserRights = []; private $cachedRights = ['read' => TRUE]; private $coreRights = [0 => 'apihighlimits', 1 => 'applychangetags', 2 => 'autoconfirmed', 3 => 'autocreateaccount', 4 => 'autopatrol', 5 => 'bigdelete', 6 => 'block', 7 => 'blockemail', 8 => 'bot', 9 => 'browsearchive', 10 => 'changetags', 11 => 'createaccount', 12 => 'createpage', 13 => 'createtalk', 14 => 'delete', 15 => 'delete-redirect', 16 => 'deletechangetags', 17 => 'deletedhistory', 18 => 'deletedtext', 19 => 'deletelogentry', 20 => 'deleterevision', 21 => 'edit', 22 => 'editcontentmodel', 23 => 'editinterface', 24 => 'editprotected', 25 => 'editmyoptions', 26 => 'editmyprivateinfo', 27 => 'editmyusercss', 28 => 'editmyuserjson', 29 => 'editmyuserjs', 30 => 'editmyuserjsredirect', 31 => 'editmywatchlist', 32 => 'editsemiprotected', 33 => 'editsitecss', 34 => 'editsitejson', 35 => 'editsitejs', 36 => 'editusercss', 37 => 'edituserjson', 38 => 'edituserjs', 39 => 'hideuser', 40 => 'import', 41 => 'importupload', 42 => 'ipblock-exempt', 43 => 'managechangetags', 44 => 'markbotedits', 45 => 'mergehistory', 46 => 'minoredit', 47 => 'move', 48 => 'movefile', 49 => 'move-categorypages', 50 => 'move-rootuserpages', 51 => 'move-subpages', 52 => 'nominornewtalk', 53 => 'noratelimit', 54 => 'override-export-depth', 55 => 'pagelang', 56 => 'patrol', 57 => 'patrolmarks', 58 => 'protect', 59 => 'purge', 60 => 'read', 61 => 'reupload', 62 => 'reupload-own', 63 => 'reupload-shared', 64 => 'rollback', 65 => 'sendemail', 66 => 'siteadmin', 67 => 'suppressionlog', 68 => 'suppressredirect', 69 => 'suppressrevision', 70 => 'unblockself', 71 => 'undelete', 72 => 'unwatchedpages', 73 => 'upload', 74 => 'upload_by_url', 75 => 'userrights', 76 => 'userrights-interwiki', 77 => 'viewmyprivateinfo', 78 => 'viewmywatchlist', 79 => 'viewsuppressed', 80 => 'writeapi'] }, $contentHandlerFactory = class MediaWiki\Content\ContentHandlerFactory { private $handlerSpecs = ['GadgetDefinition' => 'MediaWiki\\Extension\\Gadgets\\Content\\GadgetDefinitionContentHandler', 'Campaign' => 'CampaignContentHandler', 'translate-messagebundle' => '\\MediaWiki\\Extension\\Translate\\MessageBundleTranslation\\MessageBundleContentHandler', 'proofread-page' => '\\ProofreadPage\\Page\\PageContentHandler', 'proofread-index' => '\\ProofreadPage\\Index\\IndexContentHandler', 'Scribunto' => 'MediaWiki\\Extension\\Scribunto\\ScribuntoContentHandler', 'JsonSchema' => 'MediaWiki\\Extension\\EventLogging\\JsonSchemaContentHandler', 'MassMessageListContent' => 'MediaWiki\\MassMessage\\Content\\MassMessageListContentHandler', 'SecurePoll' => '\\MediaWiki\\Extension\\SecurePoll\\SecurePollContentHandler', 'flow-board' => 'Flow\\Content\\BoardContentHandler', 'sanitized-css' => 'MediaWiki\\Extension\\TemplateStyles\\TemplateStylesContentHandler', 'wikitext' => 'WikitextContentHandler', 'javascript' => 'JavaScriptContentHandler', 'json' => 'JsonContentHandler', 'css' => 'CssContentHandler', 'text' => 'TextContentHandler', 'unknown' => 'FallbackContentHandler']; private $handlersByModel = ['css' => class CssContentHandler { ... }, 'wikitext' => class WikitextContentHandler { ... }]; private $objectFactory = class Wikimedia\ObjectFactory\ObjectFactory { protected $serviceContainer = class MediaWiki\MediaWikiServices { ... } }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { private $container = class MediaWiki\HookContainer\HookContainer { ... } }; private $logger = class MediaWiki\Logger\LegacyLogger { protected $channel = 'ContentHandler'; private $minimumLevel = 100; private $isDB = FALSE } }, $slotRoleRegistry = class MediaWiki\Revision\SlotRoleRegistry { private $roleNamesStore = class MediaWiki\Storage\NameTableStore { private $loadBalancer = class Wikimedia\Rdbms\LoadBalancer { ... }; private $cache = class WANObjectCache { ... }; private $logger = class MediaWiki\Logger\LegacyLogger { ... }; private $tableCache = [...]; private $domain = FALSE; private $cacheTTL = 2592000; private $table = 'slot_roles'; private $idField = 'role_id'; private $nameField = 'role_name'; private $normalizationCallback = 'strtolower'; private $insertCallback = NULL }; private $instantiators = ['main' => class Closure { virtual $closure = "Wikimedia\Services\ServiceContainer::{closure}", ... }]; private $handlers = NULL } )	.../WikiImporterFactory.php:117
12	0.7527	11181912	open( $uri = 'uploadsource://86fb9021b4d77370885ec665581223cd', $encoding = NULL, $flags = 524288 )	.../WikiImporter.php:181
13	0.7529	11191080	UploadSourceAdapter->stream_read( $count = 8192 )	.../WikiImporter.php:181
14	0.7529	11191080	strlen( $string = NULL )	.../UploadSourceAdapter.php:100

( ! ) Warning: XMLReader::read(): uploadsource://86fb9021b4d77370885ec665581223cd:1: parser error : Extra content at the end of the document in /var/www/wiki/mediawiki/core/includes/import/WikiImporter.php on line 712
Call Stack
#	Time	Memory	Function	Location
1	0.0011	373768	{main}( )	.../index.php:0
2	0.4817	7022576	wfIndexMain( )	.../index.php:46
3	0.4836	7022768	MediaWiki->run( )	.../index.php:50
4	0.4836	7022768	MediaWiki->main( )	.../MediaWiki.php:568
5	0.4860	7102536	MediaWiki->performRequest( )	.../MediaWiki.php:911
6	0.5392	7631368	MediaWiki\SpecialPage\SpecialPageFactory->executePath( $path = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = NULL; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = TRUE; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = ['mTextform' => [...], 'mUrlform' => [...], 'mDbkeyform' => [...], 'mNamespace' => [...], 'mInterwiki' => [...], 'mFragment' => [...]]; private $dynamicPropertiesAccessDeprecated = FALSE }, $context = class RequestContext { private $request = class WebRequest { protected $data = [...]; protected $queryAndPathParams = [...]; protected $queryParams = [...]; protected $headers = [...]; private $response = class WebResponse { ... }; private $ip = '10.13.37.22'; protected $requestTime = 1657312201.0777; protected $protocol = 'https'; protected $sessionId = class MediaWiki\Session\SessionId { ... }; protected $markedAsSafe = FALSE }; private $title = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = 'Special:Import'; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = NULL; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = [...]; private $dynamicPropertiesAccessDeprecated = FALSE }; private $wikipage = NULL; private $action = NULL; private $output = class OutputPage { private ${ContextSource}context = ...; protected $mMetatags = [...]; protected $mLinktags = [...]; protected $mCanonicalUrl = FALSE; private $mPageTitle = 'Import pages'; private $displayTitle = NULL; private $cacheIsFinal = FALSE; public $mBodytext = '<p>Importing pages...\n</p><ul>\n'; private $mHTMLtitle = 'Import pages - ReedyDevWiki'; private $mIsArticle = FALSE; private $mIsArticleRelated = FALSE; private $mHasCopyright = FALSE; private $mPrintable = FALSE; private $mSections = [...]; private $mSubtitle = [...]; public $mRedirect = ''; protected $mStatusCode = NULL; protected $mLastModified = ''; protected $mCategoryLinks = [...]; protected $mCategories = [...]; protected $mIndicators = [...]; private $mLanguageLinks = [...]; private $mScripts = ''; protected $mInlineStyles = ''; public $mPageLinkTitle = ''; protected $mAdditionalHtmlClasses = [...]; protected $mHeadItems = [...]; protected $mAdditionalBodyClasses = [...]; protected $mModules = [...]; protected $mModuleStyles = [...]; protected $mResourceLoader = NULL; private $rlClient = NULL; private $rlClientContext = NULL; private $rlExemptStyleModules = NULL; protected $mJsConfigVars = [...]; protected $mTemplateIds = [...]; protected $mImageTimeKeys = [...]; public $mRedirectCode = ''; protected $mFeedLinksAppendQuery = NULL; protected $mAllowedModules = [...]; protected $mDoNothing = FALSE; protected $mParserOptions = NULL; private $mFeedLinks = [...]; protected $mEnableClientCache = TRUE; private $mArticleBodyOnly = FALSE; protected $mNewSectionLink = FALSE; protected $mHideNewSectionLink = FALSE; public $mNoGallery = FALSE; protected $mCdnMaxage = 0; protected $mCdnMaxageLimit = INF; protected $mPreventClickjacking = TRUE; private $mRevisionId = NULL; private $mRevisionTimestamp = NULL; protected $mFileVersion = NULL; protected $styles = [...]; private $mIndexPolicy = 'noindex'; private $mFollowPolicy = 'nofollow'; private $mRobotsOptions = [...]; private $mVaryHeader = [...]; private $mRedirectedFrom = NULL; private $mProperties = [...]; private $mTarget = NULL; private $mEnableTOC = FALSE; private $copyrightUrl = NULL; private $limitReportJSData = [...]; private $contentOverrides = [...]; private $contentOverrideCallbacks = [...]; private $mLinkHeader = [...]; private $CSP = class ContentSecurityPolicy { ... } }; private $user = class User { public $mId = 1; public $mName = 'Reedy'; public $mActorId = 1; public $mRealName = 'Sam'; public $mEmail = 'sam@reedyboy.net'; public $mTouched = '20220706230716'; protected $mQuickTouched = NULL; protected $mToken = 'a47668ca62955a1c7c36284542d16f8d'; public $mEmailAuthenticated = NULL; protected $mEmailToken = '\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000'; protected $mEmailTokenExpires = NULL; protected $mRegistration = '20110131194049'; protected $mLoadedItems = TRUE; public $mFrom = 'session'; protected $mDatePreference = NULL; private $mBlockedby = ''; protected $mHash = FALSE; protected $mBlockreason = ''; protected $mGlobalBlock = NULL; protected $mLocked = NULL; private $mHideName = FALSE; private $mRequest = class WebRequest { ... }; private $mBlock = NULL; private $mBlockedFromCreateAccount = FALSE; protected $queryFlagsUsed = 0; private $mThisAsAuthority = class MediaWiki\Permissions\UserAuthority { ... }; private $isTemp = NULL }; private $authority = NULL; private $lang = class Language { public $mCode = 'en-gb'; public $mMagicExtensions = [...]; private $mHtmlCode = NULL; public $dateFormatStrings = [...]; public $mExtendedSpecialPageAliases = [...]; protected $namespaceNames = [...]; protected $mNamespaceIds = NULL; protected $namespaceAliases = NULL; private $transformData = [...]; private $namespaceInfo = class NamespaceInfo { ... }; private $localisationCache = class LocalisationCache { ... }; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { ... }; private $langFallback = class MediaWiki\Languages\LanguageFallback { ... }; private $grammarTransformCache = NULL; private $converterFactory = class MediaWiki\Languages\LanguageConverterFactory { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $config = class GlobalVarConfig { ... } }; private $skin = class MediaWiki\Skins\Vector\SkinVectorLegacy { private ${ContextSource}context = ...; private ${Skin}defaultLinkOptions = [...]; protected $skinname = 'vector'; protected $options = [...]; protected $mRelevantTitle = NULL; private ${Skin}mRelevantUser = FALSE; private ${Skin}languageLinks = NULL; private ${Skin}sidebar = NULL; private ${Skin}componentRegistry = class MediaWiki\Skin\SkinComponentRegistry { ... }; public $template = NULL; public $thispage = NULL; public $titletxt = NULL; public $userpage = NULL; public $thisquery = NULL; public $loggedin = NULL; public $username = NULL; public $userpageUrlDetails = NULL; private ${SkinTemplate}isTempUser = NULL; private ${SkinTemplate}isNamedUser = NULL; private ${SkinTemplate}templateContextSet = FALSE; private ${SkinTemplate}contentNavigationCached = NULL; private ${SkinMustache}templateParser = NULL; private ${MediaWiki\Skins\Vector\SkinVector}languages = NULL }; private $timing = NULL; private $config = class GlobalVarConfig { private $prefix = 'wg' }; private $languageRecursion = FALSE }, $including = ???, $linkRenderer = ??? )	.../MediaWiki.php:316
7	0.5394	7635264	SpecialPage->run( $subPage = NULL )	.../SpecialPageFactory.php:1421
8	0.5858	8251360	SpecialImport->execute( $par = NULL )	.../SpecialPage.php:691
9	0.7477	11112408	SpecialImport->doImport( )	.../SpecialImport.php:112
10	0.7692	11460608	WikiImporter->doImport( )	.../SpecialImport.php:239
11	0.7692	11460608	read( )	.../WikiImporter.php:712

( ! ) Warning: XMLReader::read(): in /var/www/wiki/mediawiki/core/includes/import/WikiImporter.php on line 712
Call Stack
#	Time	Memory	Function	Location
1	0.0011	373768	{main}( )	.../index.php:0
2	0.4817	7022576	wfIndexMain( )	.../index.php:46
3	0.4836	7022768	MediaWiki->run( )	.../index.php:50
4	0.4836	7022768	MediaWiki->main( )	.../MediaWiki.php:568
5	0.4860	7102536	MediaWiki->performRequest( )	.../MediaWiki.php:911
6	0.5392	7631368	MediaWiki\SpecialPage\SpecialPageFactory->executePath( $path = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = NULL; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = TRUE; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = ['mTextform' => [...], 'mUrlform' => [...], 'mDbkeyform' => [...], 'mNamespace' => [...], 'mInterwiki' => [...], 'mFragment' => [...]]; private $dynamicPropertiesAccessDeprecated = FALSE }, $context = class RequestContext { private $request = class WebRequest { protected $data = [...]; protected $queryAndPathParams = [...]; protected $queryParams = [...]; protected $headers = [...]; private $response = class WebResponse { ... }; private $ip = '10.13.37.22'; protected $requestTime = 1657312201.0777; protected $protocol = 'https'; protected $sessionId = class MediaWiki\Session\SessionId { ... }; protected $markedAsSafe = FALSE }; private $title = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = 'Special:Import'; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = NULL; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = [...]; private $dynamicPropertiesAccessDeprecated = FALSE }; private $wikipage = NULL; private $action = NULL; private $output = class OutputPage { private ${ContextSource}context = ...; protected $mMetatags = [...]; protected $mLinktags = [...]; protected $mCanonicalUrl = FALSE; private $mPageTitle = 'Import pages'; private $displayTitle = NULL; private $cacheIsFinal = FALSE; public $mBodytext = '<p>Importing pages...\n</p><ul>\n'; private $mHTMLtitle = 'Import pages - ReedyDevWiki'; private $mIsArticle = FALSE; private $mIsArticleRelated = FALSE; private $mHasCopyright = FALSE; private $mPrintable = FALSE; private $mSections = [...]; private $mSubtitle = [...]; public $mRedirect = ''; protected $mStatusCode = NULL; protected $mLastModified = ''; protected $mCategoryLinks = [...]; protected $mCategories = [...]; protected $mIndicators = [...]; private $mLanguageLinks = [...]; private $mScripts = ''; protected $mInlineStyles = ''; public $mPageLinkTitle = ''; protected $mAdditionalHtmlClasses = [...]; protected $mHeadItems = [...]; protected $mAdditionalBodyClasses = [...]; protected $mModules = [...]; protected $mModuleStyles = [...]; protected $mResourceLoader = NULL; private $rlClient = NULL; private $rlClientContext = NULL; private $rlExemptStyleModules = NULL; protected $mJsConfigVars = [...]; protected $mTemplateIds = [...]; protected $mImageTimeKeys = [...]; public $mRedirectCode = ''; protected $mFeedLinksAppendQuery = NULL; protected $mAllowedModules = [...]; protected $mDoNothing = FALSE; protected $mParserOptions = NULL; private $mFeedLinks = [...]; protected $mEnableClientCache = TRUE; private $mArticleBodyOnly = FALSE; protected $mNewSectionLink = FALSE; protected $mHideNewSectionLink = FALSE; public $mNoGallery = FALSE; protected $mCdnMaxage = 0; protected $mCdnMaxageLimit = INF; protected $mPreventClickjacking = TRUE; private $mRevisionId = NULL; private $mRevisionTimestamp = NULL; protected $mFileVersion = NULL; protected $styles = [...]; private $mIndexPolicy = 'noindex'; private $mFollowPolicy = 'nofollow'; private $mRobotsOptions = [...]; private $mVaryHeader = [...]; private $mRedirectedFrom = NULL; private $mProperties = [...]; private $mTarget = NULL; private $mEnableTOC = FALSE; private $copyrightUrl = NULL; private $limitReportJSData = [...]; private $contentOverrides = [...]; private $contentOverrideCallbacks = [...]; private $mLinkHeader = [...]; private $CSP = class ContentSecurityPolicy { ... } }; private $user = class User { public $mId = 1; public $mName = 'Reedy'; public $mActorId = 1; public $mRealName = 'Sam'; public $mEmail = 'sam@reedyboy.net'; public $mTouched = '20220706230716'; protected $mQuickTouched = NULL; protected $mToken = 'a47668ca62955a1c7c36284542d16f8d'; public $mEmailAuthenticated = NULL; protected $mEmailToken = '\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000'; protected $mEmailTokenExpires = NULL; protected $mRegistration = '20110131194049'; protected $mLoadedItems = TRUE; public $mFrom = 'session'; protected $mDatePreference = NULL; private $mBlockedby = ''; protected $mHash = FALSE; protected $mBlockreason = ''; protected $mGlobalBlock = NULL; protected $mLocked = NULL; private $mHideName = FALSE; private $mRequest = class WebRequest { ... }; private $mBlock = NULL; private $mBlockedFromCreateAccount = FALSE; protected $queryFlagsUsed = 0; private $mThisAsAuthority = class MediaWiki\Permissions\UserAuthority { ... }; private $isTemp = NULL }; private $authority = NULL; private $lang = class Language { public $mCode = 'en-gb'; public $mMagicExtensions = [...]; private $mHtmlCode = NULL; public $dateFormatStrings = [...]; public $mExtendedSpecialPageAliases = [...]; protected $namespaceNames = [...]; protected $mNamespaceIds = NULL; protected $namespaceAliases = NULL; private $transformData = [...]; private $namespaceInfo = class NamespaceInfo { ... }; private $localisationCache = class LocalisationCache { ... }; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { ... }; private $langFallback = class MediaWiki\Languages\LanguageFallback { ... }; private $grammarTransformCache = NULL; private $converterFactory = class MediaWiki\Languages\LanguageConverterFactory { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $config = class GlobalVarConfig { ... } }; private $skin = class MediaWiki\Skins\Vector\SkinVectorLegacy { private ${ContextSource}context = ...; private ${Skin}defaultLinkOptions = [...]; protected $skinname = 'vector'; protected $options = [...]; protected $mRelevantTitle = NULL; private ${Skin}mRelevantUser = FALSE; private ${Skin}languageLinks = NULL; private ${Skin}sidebar = NULL; private ${Skin}componentRegistry = class MediaWiki\Skin\SkinComponentRegistry { ... }; public $template = NULL; public $thispage = NULL; public $titletxt = NULL; public $userpage = NULL; public $thisquery = NULL; public $loggedin = NULL; public $username = NULL; public $userpageUrlDetails = NULL; private ${SkinTemplate}isTempUser = NULL; private ${SkinTemplate}isNamedUser = NULL; private ${SkinTemplate}templateContextSet = FALSE; private ${SkinTemplate}contentNavigationCached = NULL; private ${SkinMustache}templateParser = NULL; private ${MediaWiki\Skins\Vector\SkinVector}languages = NULL }; private $timing = NULL; private $config = class GlobalVarConfig { private $prefix = 'wg' }; private $languageRecursion = FALSE }, $including = ???, $linkRenderer = ??? )	.../MediaWiki.php:316
7	0.5394	7635264	SpecialPage->run( $subPage = NULL )	.../SpecialPageFactory.php:1421
8	0.5858	8251360	SpecialImport->execute( $par = NULL )	.../SpecialPage.php:691
9	0.7477	11112408	SpecialImport->doImport( )	.../SpecialImport.php:112
10	0.7692	11460608	WikiImporter->doImport( )	.../SpecialImport.php:239
11	0.7692	11460608	read( )	.../WikiImporter.php:712

( ! ) Warning: XMLReader::read(): ^ in /var/www/wiki/mediawiki/core/includes/import/WikiImporter.php on line 712
Call Stack
#	Time	Memory	Function	Location
1	0.0011	373768	{main}( )	.../index.php:0
2	0.4817	7022576	wfIndexMain( )	.../index.php:46
3	0.4836	7022768	MediaWiki->run( )	.../index.php:50
4	0.4836	7022768	MediaWiki->main( )	.../MediaWiki.php:568
5	0.4860	7102536	MediaWiki->performRequest( )	.../MediaWiki.php:911
6	0.5392	7631368	MediaWiki\SpecialPage\SpecialPageFactory->executePath( $path = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = NULL; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = TRUE; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = ['mTextform' => [...], 'mUrlform' => [...], 'mDbkeyform' => [...], 'mNamespace' => [...], 'mInterwiki' => [...], 'mFragment' => [...]]; private $dynamicPropertiesAccessDeprecated = FALSE }, $context = class RequestContext { private $request = class WebRequest { protected $data = [...]; protected $queryAndPathParams = [...]; protected $queryParams = [...]; protected $headers = [...]; private $response = class WebResponse { ... }; private $ip = '10.13.37.22'; protected $requestTime = 1657312201.0777; protected $protocol = 'https'; protected $sessionId = class MediaWiki\Session\SessionId { ... }; protected $markedAsSafe = FALSE }; private $title = class Title { private $mTextform = 'Import'; private $mUrlform = 'Import'; private $mDbkeyform = 'Import'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = 'Special:Import'; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = NULL; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = [...]; private $dynamicPropertiesAccessDeprecated = FALSE }; private $wikipage = NULL; private $action = NULL; private $output = class OutputPage { private ${ContextSource}context = ...; protected $mMetatags = [...]; protected $mLinktags = [...]; protected $mCanonicalUrl = FALSE; private $mPageTitle = 'Import pages'; private $displayTitle = NULL; private $cacheIsFinal = FALSE; public $mBodytext = '<p>Importing pages...\n</p><ul>\n'; private $mHTMLtitle = 'Import pages - ReedyDevWiki'; private $mIsArticle = FALSE; private $mIsArticleRelated = FALSE; private $mHasCopyright = FALSE; private $mPrintable = FALSE; private $mSections = [...]; private $mSubtitle = [...]; public $mRedirect = ''; protected $mStatusCode = NULL; protected $mLastModified = ''; protected $mCategoryLinks = [...]; protected $mCategories = [...]; protected $mIndicators = [...]; private $mLanguageLinks = [...]; private $mScripts = ''; protected $mInlineStyles = ''; public $mPageLinkTitle = ''; protected $mAdditionalHtmlClasses = [...]; protected $mHeadItems = [...]; protected $mAdditionalBodyClasses = [...]; protected $mModules = [...]; protected $mModuleStyles = [...]; protected $mResourceLoader = NULL; private $rlClient = NULL; private $rlClientContext = NULL; private $rlExemptStyleModules = NULL; protected $mJsConfigVars = [...]; protected $mTemplateIds = [...]; protected $mImageTimeKeys = [...]; public $mRedirectCode = ''; protected $mFeedLinksAppendQuery = NULL; protected $mAllowedModules = [...]; protected $mDoNothing = FALSE; protected $mParserOptions = NULL; private $mFeedLinks = [...]; protected $mEnableClientCache = TRUE; private $mArticleBodyOnly = FALSE; protected $mNewSectionLink = FALSE; protected $mHideNewSectionLink = FALSE; public $mNoGallery = FALSE; protected $mCdnMaxage = 0; protected $mCdnMaxageLimit = INF; protected $mPreventClickjacking = TRUE; private $mRevisionId = NULL; private $mRevisionTimestamp = NULL; protected $mFileVersion = NULL; protected $styles = [...]; private $mIndexPolicy = 'noindex'; private $mFollowPolicy = 'nofollow'; private $mRobotsOptions = [...]; private $mVaryHeader = [...]; private $mRedirectedFrom = NULL; private $mProperties = [...]; private $mTarget = NULL; private $mEnableTOC = FALSE; private $copyrightUrl = NULL; private $limitReportJSData = [...]; private $contentOverrides = [...]; private $contentOverrideCallbacks = [...]; private $mLinkHeader = [...]; private $CSP = class ContentSecurityPolicy { ... } }; private $user = class User { public $mId = 1; public $mName = 'Reedy'; public $mActorId = 1; public $mRealName = 'Sam'; public $mEmail = 'sam@reedyboy.net'; public $mTouched = '20220706230716'; protected $mQuickTouched = NULL; protected $mToken = 'a47668ca62955a1c7c36284542d16f8d'; public $mEmailAuthenticated = NULL; protected $mEmailToken = '\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000'; protected $mEmailTokenExpires = NULL; protected $mRegistration = '20110131194049'; protected $mLoadedItems = TRUE; public $mFrom = 'session'; protected $mDatePreference = NULL; private $mBlockedby = ''; protected $mHash = FALSE; protected $mBlockreason = ''; protected $mGlobalBlock = NULL; protected $mLocked = NULL; private $mHideName = FALSE; private $mRequest = class WebRequest { ... }; private $mBlock = NULL; private $mBlockedFromCreateAccount = FALSE; protected $queryFlagsUsed = 0; private $mThisAsAuthority = class MediaWiki\Permissions\UserAuthority { ... }; private $isTemp = NULL }; private $authority = NULL; private $lang = class Language { public $mCode = 'en-gb'; public $mMagicExtensions = [...]; private $mHtmlCode = NULL; public $dateFormatStrings = [...]; public $mExtendedSpecialPageAliases = [...]; protected $namespaceNames = [...]; protected $mNamespaceIds = NULL; protected $namespaceAliases = NULL; private $transformData = [...]; private $namespaceInfo = class NamespaceInfo { ... }; private $localisationCache = class LocalisationCache { ... }; private $langNameUtils = class MediaWiki\Languages\LanguageNameUtils { ... }; private $langFallback = class MediaWiki\Languages\LanguageFallback { ... }; private $grammarTransformCache = NULL; private $converterFactory = class MediaWiki\Languages\LanguageConverterFactory { ... }; private $hookContainer = class MediaWiki\HookContainer\HookContainer { ... }; private $hookRunner = class MediaWiki\HookContainer\HookRunner { ... }; private $config = class GlobalVarConfig { ... } }; private $skin = class MediaWiki\Skins\Vector\SkinVectorLegacy { private ${ContextSource}context = ...; private ${Skin}defaultLinkOptions = [...]; protected $skinname = 'vector'; protected $options = [...]; protected $mRelevantTitle = NULL; private ${Skin}mRelevantUser = FALSE; private ${Skin}languageLinks = NULL; private ${Skin}sidebar = NULL; private ${Skin}componentRegistry = class MediaWiki\Skin\SkinComponentRegistry { ... }; public $template = NULL; public $thispage = NULL; public $titletxt = NULL; public $userpage = NULL; public $thisquery = NULL; public $loggedin = NULL; public $username = NULL; public $userpageUrlDetails = NULL; private ${SkinTemplate}isTempUser = NULL; private ${SkinTemplate}isNamedUser = NULL; private ${SkinTemplate}templateContextSet = FALSE; private ${SkinTemplate}contentNavigationCached = NULL; private ${SkinMustache}templateParser = NULL; private ${MediaWiki\Skins\Vector\SkinVector}languages = NULL }; private $timing = NULL; private $config = class GlobalVarConfig { private $prefix = 'wg' }; private $languageRecursion = FALSE }, $including = ???, $linkRenderer = ??? )	.../MediaWiki.php:316
7	0.5394	7635264	SpecialPage->run( $subPage = NULL )	.../SpecialPageFactory.php:1421
8	0.5858	8251360	SpecialImport->execute( $par = NULL )	.../SpecialPage.php:691
9	0.7477	11112408	SpecialImport->doImport( )	.../SpecialImport.php:112
10	0.7692	11460608	WikiImporter->doImport( )	.../SpecialImport.php:239
11	0.7692	11460608	read( )	.../WikiImporter.php:712

Updated patch doesn't fail as above, and fixes the issue too..

Change 812404 merged by jenkins-bot:

[mediawiki/core@master] import: UploadSourceAdapter::stream_read() don't pass null to strlen()

https://gerrit.wikimedia.org/r/812404

Change 812493 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_38] import: UploadSourceAdapter::stream_read() don't pass null to strlen()

https://gerrit.wikimedia.org/r/812493

Change 812494 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_37] import: UploadSourceAdapter::stream_read() don't pass null to strlen()

https://gerrit.wikimedia.org/r/812494

Change 812495 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_35] import: UploadSourceAdapter::stream_read() don't pass null to strlen()

https://gerrit.wikimedia.org/r/812495

Change 812495 merged by jenkins-bot:

[mediawiki/core@REL1_35] import: UploadSourceAdapter::stream_read() don't pass null to strlen()

https://gerrit.wikimedia.org/r/812495

Change 812493 merged by jenkins-bot:

[mediawiki/core@REL1_38] import: UploadSourceAdapter::stream_read() don't pass null to strlen()

https://gerrit.wikimedia.org/r/812493

Change 812494 merged by jenkins-bot:

[mediawiki/core@REL1_37] import: UploadSourceAdapter::stream_read() don't pass null to strlen()

https://gerrit.wikimedia.org/r/812494