Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Hooks\LangLinkHandlerFactory Class Reference

Public Member Functions

 __construct (LanguageLinkBadgeDisplay $badgeDisplay, NamespaceChecker $namespaceChecker, SiteLinkLookup $siteLinkLookup, EntityLookup $entityLookup, SiteLookup $siteLookup, HookContainer $hookContainer, LoggerInterface $logger, string $siteId, array $siteGroups)
 
 getLangLinkHandler (UsageAccumulator $usageAccumulator)
 

Private Attributes

 $badgeDisplay
 
 $namespaceChecker
 
 $siteLinkLookup
 
 $entityLookup
 
 $siteLookup
 
 $hooksContainer
 
 $logger
 
 $siteId
 
 $siteGroups
 

Detailed Description

Author
Thomas Pellissier Tanon

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Hooks\LangLinkHandlerFactory::__construct ( LanguageLinkBadgeDisplay $badgeDisplay,
NamespaceChecker $namespaceChecker,
SiteLinkLookup $siteLinkLookup,
EntityLookup $entityLookup,
SiteLookup $siteLookup,
HookContainer $hookContainer,
LoggerInterface $logger,
string $siteId,
array $siteGroups )
Parameters
LanguageLinkBadgeDisplay$badgeDisplay
NamespaceChecker$namespaceCheckerdetermines which namespaces wikibase is enabled on
SiteLinkLookup$siteLinkLookup
EntityLookup$entityLookup
SiteLookup$siteLookup
HookContainer$hookContainer
LoggerInterface$logger
string$siteIdThe global site ID for the local wiki
string[]$siteGroupsThe ID of the site group to use for showing language links.

Member Function Documentation

◆ getLangLinkHandler()

Wikibase\Client\Hooks\LangLinkHandlerFactory::getLangLinkHandler ( UsageAccumulator $usageAccumulator)
Parameters
UsageAccumulator$usageAccumulator
Returns
LangLinkHandler

Member Data Documentation

◆ $badgeDisplay

Wikibase\Client\Hooks\LangLinkHandlerFactory::$badgeDisplay
private

◆ $entityLookup

Wikibase\Client\Hooks\LangLinkHandlerFactory::$entityLookup
private

◆ $hooksContainer

Wikibase\Client\Hooks\LangLinkHandlerFactory::$hooksContainer
private

◆ $logger

Wikibase\Client\Hooks\LangLinkHandlerFactory::$logger
private

◆ $namespaceChecker

Wikibase\Client\Hooks\LangLinkHandlerFactory::$namespaceChecker
private

◆ $siteGroups

Wikibase\Client\Hooks\LangLinkHandlerFactory::$siteGroups
private

◆ $siteId

Wikibase\Client\Hooks\LangLinkHandlerFactory::$siteId
private

◆ $siteLinkLookup

Wikibase\Client\Hooks\LangLinkHandlerFactory::$siteLinkLookup
private

◆ $siteLookup

Wikibase\Client\Hooks\LangLinkHandlerFactory::$siteLookup
private

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