Module:Infobox gene: Difference between revisions

Content deleted Content added
per edit request on talk page - update, see Module talk:Infobox gene#Including mouse gene expression and updating Bgee links for detail
per edit request on talk page - fix issue where items with depreciated GOIDs listed in Wikidata generate non-functional links with unexpected display text
Line 2,831:
if entity and entity.claims then claims = entity.claims[propertyID_child] end
if claims then
result_GOID = entity:formatPropertyValues(propertyID_child, {mw.wikibase.entity.claimRanks.RANK_NORMAL}).value
else
result_GOID = nil --no GO ID