Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Specials\SpecialListPropertiesDispatchingFactory Class Reference

Factory to create Special:ListProperties based on whether federated properties setting is enabled ot not. More...

Static Public Member Functions

static factory (DataTypeFactory $dataTypeFactory, EntityIdFormatterFactory $entityIdFormatterFactory, EntityTitleLookup $entityTitleLookup, FallbackLabelDescriptionLookupFactory $labelDescriptionLookupFactory, PropertyInfoLookup $propertyInfoLookup, SettingsArray $repoSettings)
 

Detailed Description

Factory to create Special:ListProperties based on whether federated properties setting is enabled ot not.

If it's enabled, it returns an instance of SpecialListFederatedProperties otherwise, it returns an instance of SpecialListProperties. Both are built using global state.

Member Function Documentation

◆ factory()

static Wikibase\Repo\Specials\SpecialListPropertiesDispatchingFactory::factory ( DataTypeFactory $dataTypeFactory,
EntityIdFormatterFactory $entityIdFormatterFactory,
EntityTitleLookup $entityTitleLookup,
FallbackLabelDescriptionLookupFactory $labelDescriptionLookupFactory,
PropertyInfoLookup $propertyInfoLookup,
SettingsArray $repoSettings )
static
Returns
SpecialListFederatedProperties|SpecialListProperties

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