In JavaScript, right now we can't easily generate links to entities for which we only know the ID. This is because we don't know the entity namespaces. We would need a map for entity prefixes and their namespaces, so we can generate links.
Version: unspecified
Severity: enhancement