46 $this->config = $config;
47 $this->hookContainer = $hookContainer;
48 $this->contentLanguage = $contentLanguage;
49 $this->namespaceInfo = $namespaceInfo;
50 $this->titleFactory = $titleFactory;
51 $this->wikiPageFactory = $wikiPageFactory;
52 $this->uploadRevisionImporter = $uploadRevisionImporter;
53 $this->contentHandlerFactory = $contentHandlerFactory;
54 $this->slotRoleRegistry = $slotRoleRegistry;
70 wfDeprecated( __METHOD__ .
' without $performer',
'1.42' );
71 $performer = RequestContext::getMain()->getAuthority();
79 $this->contentLanguage,
82 $this->wikiPageFactory,
83 $this->uploadRevisionImporter,
84 $this->contentHandlerFactory,
85 $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.