Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Infrastructure\DataAccess\SiteLinkPageNormalizerSitelinkTargetResolver Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Infrastructure\DataAccess\SiteLinkPageNormalizerSitelinkTargetResolver:
+ Collaboration diagram for Wikibase\Repo\RestApi\Infrastructure\DataAccess\SiteLinkPageNormalizerSitelinkTargetResolver:

Public Member Functions

 __construct (SiteLookup $siteLookup, SiteLinkPageNormalizer $siteLinkPageNormalizer)
 
 resolveTitle (string $siteId, string $title, array $badges)
 Resolves redirects unless the provided badges contain a redirect badge.
 

Private Attributes

SiteLookup $siteLookup
 
SiteLinkPageNormalizer $siteLinkPageNormalizer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\SiteLinkPageNormalizerSitelinkTargetResolver::__construct ( SiteLookup $siteLookup,
SiteLinkPageNormalizer $siteLinkPageNormalizer )

Member Function Documentation

◆ resolveTitle()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\SiteLinkPageNormalizerSitelinkTargetResolver::resolveTitle ( string $siteId,
string $title,
array $badges )

Resolves redirects unless the provided badges contain a redirect badge.

Exceptions
SitelinkTargetNotFoundif the title does not exist

Implements Wikibase\Repo\RestApi\Domain\Services\SitelinkTargetTitleResolver.

Member Data Documentation

◆ $siteLinkPageNormalizer

SiteLinkPageNormalizer Wikibase\Repo\RestApi\Infrastructure\DataAccess\SiteLinkPageNormalizerSitelinkTargetResolver::$siteLinkPageNormalizer
private

◆ $siteLookup

SiteLookup Wikibase\Repo\RestApi\Infrastructure\DataAccess\SiteLinkPageNormalizerSitelinkTargetResolver::$siteLookup
private

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