Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\FallbackLabelDescriptionLookup Interface Reference

A LabelDescriptionLookup that is guaranteed to return TermFallbacks, not merely Terms. More...

+ Inheritance diagram for Wikibase\Lib\Store\FallbackLabelDescriptionLookup:
+ Collaboration diagram for Wikibase\Lib\Store\FallbackLabelDescriptionLookup:

Public Member Functions

 getLabel (EntityId $entityId)
 
 getDescription (EntityId $entityId)
 

Detailed Description

A LabelDescriptionLookup that is guaranteed to return TermFallbacks, not merely Terms.

Whether redirects are resolved is currently implementation-dependent. Use FallbackLabelDescriptionLookupFactory to create a lookup that applies language fallbacks and resolves redirects.

Member Function Documentation

◆ getDescription()

Wikibase\Lib\Store\FallbackLabelDescriptionLookup::getDescription ( EntityId  $entityId)

◆ getLabel()

Wikibase\Lib\Store\FallbackLabelDescriptionLookup::getLabel ( EntityId  $entityId)

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