MediaWiki REL1_39
WikiImporterFactory Class Reference

Factory service for WikiImporter instances. More...

Public Member Functions

 __construct (Config $config, HookContainer $hookContainer, Language $contentLanguage, NamespaceInfo $namespaceInfo, TitleFactory $titleFactory, WikiPageFactory $wikiPageFactory, UploadRevisionImporter $uploadRevisionImporter, PermissionManager $permissionManager, IContentHandlerFactory $contentHandlerFactory, SlotRoleRegistry $slotRoleRegistry)
 
 getWikiImporter (ImportSource $source)
 

Detailed Description

Factory service for WikiImporter instances.

Since
1.37

Definition at line 33 of file WikiImporterFactory.php.

Constructor & Destructor Documentation

◆ __construct()

WikiImporterFactory::__construct ( Config $config,
HookContainer $hookContainer,
Language $contentLanguage,
NamespaceInfo $namespaceInfo,
TitleFactory $titleFactory,
WikiPageFactory $wikiPageFactory,
UploadRevisionImporter $uploadRevisionImporter,
PermissionManager $permissionManager,
IContentHandlerFactory $contentHandlerFactory,
SlotRoleRegistry $slotRoleRegistry )
Parameters
Config$config
HookContainer$hookContainer
Language$contentLanguage
NamespaceInfo$namespaceInfo
TitleFactory$titleFactory
WikiPageFactory$wikiPageFactory
UploadRevisionImporter$uploadRevisionImporter
PermissionManager$permissionManager
IContentHandlerFactory$contentHandlerFactory
SlotRoleRegistry$slotRoleRegistry

Definition at line 76 of file WikiImporterFactory.php.

Member Function Documentation

◆ getWikiImporter()

WikiImporterFactory::getWikiImporter ( ImportSource $source)
Parameters
ImportSource$source
Returns
WikiImporter

Definition at line 105 of file WikiImporterFactory.php.


The documentation for this class was generated from the following file: