Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory Class Reference

Public Member Functions

 __construct (DispatchingEntityViewFactory $entityViewFactory, DispatchingEntityMetaTagsCreatorFactory $entityMetaTagsCreatorFactory, EntityTitleLookup $entityTitleLookup, LanguageFallbackChainFactory $languageFallbackChainFactory, EntityDataFormatProvider $entityDataFormatProvider, PropertyDataTypeLookup $propertyDataTypeLookup, EntityReferenceExtractorDelegator $entityReferenceExtractorDelegator, ?CachingKartographerEmbeddingHandler $kartographerEmbeddingHandler, StatsdDataFactoryInterface $stats, RepoGroup $repoGroup, LinkBatchFactory $linkBatchFactory, HookContainer $hookContainer, bool $isMobileView, array $preferredGeoDataProperties=[], array $preferredPageImagesProperties=[], array $globeUris=[])
 
 getEntityParserOutputGenerator (Language $userLanguage)
 

Private Member Functions

 getLanguageFallbackChain (Language $language)
 
 getDataUpdaters ()
 
 newPageImagesDataUpdater ()
 
 newGeoDataDataUpdater ( $propertyDataTypeMatcher)
 
 newKartographerDataUpdater ()
 

Private Attributes

 $entityViewFactory
 
 $entityMetaTagsCreatorFactory
 
 $entityTitleLookup
 
 $languageFallbackChainFactory
 
 $entityDataFormatProvider
 
 $propertyDataTypeLookup
 
 $preferredGeoDataProperties
 
 $preferredPageImagesProperties
 
 $globeUris
 
 $entityReferenceExtractorDelegator
 
 $kartographerEmbeddingHandler
 
 $stats
 
 $repoGroup
 
 $linkBatchFactory
 
 $hookContainer
 
bool $isMobileView
 

Detailed Description

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::__construct ( DispatchingEntityViewFactory $entityViewFactory,
DispatchingEntityMetaTagsCreatorFactory $entityMetaTagsCreatorFactory,
EntityTitleLookup $entityTitleLookup,
LanguageFallbackChainFactory $languageFallbackChainFactory,
EntityDataFormatProvider $entityDataFormatProvider,
PropertyDataTypeLookup $propertyDataTypeLookup,
EntityReferenceExtractorDelegator $entityReferenceExtractorDelegator,
?CachingKartographerEmbeddingHandler $kartographerEmbeddingHandler,
StatsdDataFactoryInterface $stats,
RepoGroup $repoGroup,
LinkBatchFactory $linkBatchFactory,
HookContainer $hookContainer,
bool $isMobileView,
array $preferredGeoDataProperties = [],
array $preferredPageImagesProperties = [],
array $globeUris = [] )
Parameters
DispatchingEntityViewFactory$entityViewFactory
DispatchingEntityMetaTagsCreatorFactory$entityMetaTagsCreatorFactory
EntityTitleLookup$entityTitleLookup
LanguageFallbackChainFactory$languageFallbackChainFactory
EntityDataFormatProvider$entityDataFormatProvider
PropertyDataTypeLookup$propertyDataTypeLookup
EntityReferenceExtractorDelegator$entityReferenceExtractorDelegator
CachingKartographerEmbeddingHandler | null$kartographerEmbeddingHandler
StatsdDataFactoryInterface$stats
RepoGroup$repoGroup
LinkBatchFactory$linkBatchFactory
HookContainer$hookContainer
bool$isMobileView
string[]$preferredGeoDataProperties
string[]$preferredPageImagesProperties
string[]$globeUrisMapping of globe URIs to canonical globe names, as recognized by the GeoData extension.

Member Function Documentation

◆ getDataUpdaters()

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::getDataUpdaters ( )
private
Returns
EntityParserOutputUpdater[]

◆ getEntityParserOutputGenerator()

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::getEntityParserOutputGenerator ( Language $userLanguage)

◆ getLanguageFallbackChain()

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::getLanguageFallbackChain ( Language $language)
private

◆ newGeoDataDataUpdater()

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::newGeoDataDataUpdater ( $propertyDataTypeMatcher)
private

◆ newKartographerDataUpdater()

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::newKartographerDataUpdater ( )
private

◆ newPageImagesDataUpdater()

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::newPageImagesDataUpdater ( )
private

Member Data Documentation

◆ $entityDataFormatProvider

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$entityDataFormatProvider
private

◆ $entityMetaTagsCreatorFactory

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$entityMetaTagsCreatorFactory
private

◆ $entityReferenceExtractorDelegator

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$entityReferenceExtractorDelegator
private

◆ $entityTitleLookup

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$entityTitleLookup
private

◆ $entityViewFactory

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$entityViewFactory
private

◆ $globeUris

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$globeUris
private

◆ $hookContainer

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$hookContainer
private

◆ $isMobileView

bool Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$isMobileView
private

◆ $kartographerEmbeddingHandler

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$kartographerEmbeddingHandler
private

◆ $languageFallbackChainFactory

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$languageFallbackChainFactory
private

◆ $linkBatchFactory

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$linkBatchFactory
private

◆ $preferredGeoDataProperties

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$preferredGeoDataProperties
private

◆ $preferredPageImagesProperties

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$preferredPageImagesProperties
private

◆ $propertyDataTypeLookup

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$propertyDataTypeLookup
private

◆ $repoGroup

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$repoGroup
private

◆ $stats

Wikibase\Repo\ParserOutput\EntityParserOutputGeneratorFactory::$stats
private

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