Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P9898
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Addshore
on Dec 17 2019, 9:37 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F31478757: raw.txt
Dec 17 2019, 9:37 AM
2019-12-17 09:37:31 (UTC+0)
Subscribers
None
/**
* @param EntityId $entityId
*
* @return Term|null Null if no label was found or the entity does not exist
*/
protected function lookupEntityLabel( EntityId $entityId ) {
wfDebugLog('AdHocDebug', __METHOD__ . ' lookup class ' . get_class($this->labelLookup) . ' for entity ' . $entityId->getSerialization());
try {
return $this->labelLookup->getLabel( $entityId );
} catch ( LabelDescriptionLookupException $e ) {
wfDebugLog('AdHocDebug', __METHOD__ . ' was exception: ' . $e->getMessage());
return null;
}
}
Event Timeline
Addshore
created this paste.
Dec 17 2019, 9:37 AM
2019-12-17 09:37:31 (UTC+0)
Addshore
mentioned this in
T237984: Some property labels are not displayed on Item pages
.
Dec 17 2019, 10:25 AM
2019-12-17 10:25:16 (UTC+0)
Addshore
mentioned this in
T241050: Investigate if FormatterCache is actually used everywhere it should be when rendering an entity
.
Dec 18 2019, 12:23 PM
2019-12-18 12:23:49 (UTC+0)
Log In to Comment