Last modified: 2014-03-19 11:10:37 UTC
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.
Will this work? There shouldn't be any other implications (like we had with site-links) in generating a simple link to an entity. If we know the full name, we should be able to create a link to a local item in all cases.
We need to ask for the label anyway, so we might also ask for the URI from the backend.
https://gerrit.wikimedia.org/r/#/c/38534/
This is not really done with 43003 (i.e. no duplicate), but 43003 could be done with this. We decided to solve 43003 differently though. So this should remain open. Some functionality to cover this, for creating a link to any item of whom only the id is known, may or may not still be helpful e.g. for gadget developers.
Since we are now generating the links using backend formatters, such a system is not needed anymore.