Module:Taxonbar: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 208: Line 208:
end
end
end
end
elseif resolveEntity._id(currentEntityId) then
currentItem = mw.wikibase.getEntity(currentEntityId)
else --currentEntityId == nil/unresolvable
categories[6] = '[[Category:Taxonbar pages requiring a Wikidata item]]'
end
end
if currentItem then
if currentItem then