60 $this->config = $config;
61 $this->hookContainer = $hookContainer;
62 $this->contentLanguage = $contentLanguage;
63 $this->namespaceInfo = $namespaceInfo;
64 $this->titleFactory = $titleFactory;
65 $this->wikiPageFactory = $wikiPageFactory;
66 $this->uploadRevisionImporter = $uploadRevisionImporter;
67 $this->contentHandlerFactory = $contentHandlerFactory;
68 $this->slotRoleRegistry = $slotRoleRegistry;
84 wfDeprecated( __METHOD__ .
' without $performer',
'1.42' );
85 $performer = RequestContext::getMain()->getAuthority();
93 $this->contentLanguage,
96 $this->wikiPageFactory,
97 $this->uploadRevisionImporter,
98 $this->contentHandlerFactory,
99 $this->slotRoleRegistry
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
if(!defined('MW_SETUP_CALLBACK'))
Group all the pieces relevant to the context of a request into one instance.
Service for creating WikiPage objects.
Factory service for WikiImporter instances.
getWikiImporter(ImportSource $source, ?Authority $performer=null)
__construct(Config $config, HookContainer $hookContainer, Language $contentLanguage, NamespaceInfo $namespaceInfo, TitleFactory $titleFactory, WikiPageFactory $wikiPageFactory, UploadRevisionImporter $uploadRevisionImporter, IContentHandlerFactory $contentHandlerFactory, SlotRoleRegistry $slotRoleRegistry)
XML file reader for the page data importer.
Source interface for XML import.