JeroenDeDauw added a comment.

> Other than that, I can't think of any issues. EntityId is completely opaque.


While EntityId might not be explicitly providing certain guarantees, many users 
of it can still make assumptions that would be violated when introducing this 
new derivative.  If the URL is included, then the max length is presumably 
different. I just did a quick search on the Wikibase.git codebase and there are 
over a thousand places using EntityId. The first type hint I looked at was 
`RepoLinker::getEntityUrl`. By looking at this quickly, it is very much not 
obvious to me this code will behave correctly when getting this new EntityId 
derivative. In fact, it looks like it will not. I'd hate for us having to go 
through all these EntityId usages to verify they will handle the new one 
correctly.


TASK DETAIL
  https://phabricator.wikimedia.org/T101752

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: JeroenDeDauw
Cc: mkroetzsch, JeroenDeDauw, Aklapper, daniel, Wikidata-bugs, aude



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to