Wikibase
MediaWiki Wikibase extension
Wikibase\Client\Hooks\DescriptionProviderHookHandler Class Reference

Description Provider Hook Handler for Search Results. More...

+ Inheritance diagram for Wikibase\Client\Hooks\DescriptionProviderHookHandler:
+ Collaboration diagram for Wikibase\Client\Hooks\DescriptionProviderHookHandler:

Public Member Functions

 __construct (bool $allowLocalShortDesc, bool $forceLocalShortDesc, DescriptionLookup $descriptionLookup)
 
 onSearchResultProvideDescription (array $pageIdentities, &$descriptions)
 

Static Public Member Functions

static factory (DescriptionLookup $descriptionLookup, SettingsArray $clientSettings)
 

Private Attributes

 $allowLocalShortDesc
 
 $forceLocalShortDesc
 
 $descriptionLookup
 

Detailed Description

Description Provider Hook Handler for Search Results.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Hooks\DescriptionProviderHookHandler::__construct ( bool  $allowLocalShortDesc,
bool  $forceLocalShortDesc,
DescriptionLookup  $descriptionLookup 
)

Member Function Documentation

◆ factory()

static Wikibase\Client\Hooks\DescriptionProviderHookHandler::factory ( DescriptionLookup  $descriptionLookup,
SettingsArray  $clientSettings 
)
static

◆ onSearchResultProvideDescription()

Wikibase\Client\Hooks\DescriptionProviderHookHandler::onSearchResultProvideDescription ( array  $pageIdentities,
$descriptions 
)

Member Data Documentation

◆ $allowLocalShortDesc

Wikibase\Client\Hooks\DescriptionProviderHookHandler::$allowLocalShortDesc
private

◆ $descriptionLookup

Wikibase\Client\Hooks\DescriptionProviderHookHandler::$descriptionLookup
private

◆ $forceLocalShortDesc

Wikibase\Client\Hooks\DescriptionProviderHookHandler::$forceLocalShortDesc
private

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