Wikibase
MediaWiki Wikibase extension
|
Looks up the label or description of an entity. More...
Public Member Functions | |
getDescription (EntityId $entityId) | |
Public Member Functions inherited from Wikibase\DataModel\Services\Lookup\LabelLookup | |
getLabel (EntityId $entityId) | |
Looks up the label or description of an entity.
Like for LabelLookup
, it depends on the implementation whether language fallbacks are applied or not.
Wikibase\DataModel\Services\Lookup\LabelDescriptionLookup::getDescription | ( | EntityId | $entityId | ) |
EntityId | $entityId |
LabelDescriptionLookupException |
Implemented in Wikibase\Client\Usage\UsageTrackingLanguageFallbackLabelDescriptionLookup, Wikibase\Lib\Store\CachingFallbackLabelDescriptionLookup, Wikibase\Lib\Store\DispatchingFallbackLabelDescriptionLookup, Wikibase\Lib\Store\FallbackLabelDescriptionLookup, Wikibase\Lib\Store\LanguageFallbackLabelDescriptionLookup, Wikibase\DataModel\Services\Lookup\FallbackLabelDescriptionLookup, and Wikibase\DataModel\Services\Lookup\LanguageLabelDescriptionLookup.