| thiemowmde added a comment. |
we can only provide this functionality for entity types where we know how to programmatically construct the entity id serialization from the entity-type and the numeric entity id.
We do know this for all entity types that provide an entity-id-composer, see https://phabricator.wikimedia.org/diffusion/EWBI/browse/master/WikibaseMediaInfo.entitytypes.php;a9a53ac3ffb8d1470cec5813ed641cca76484eac$101. You can get this via WikibaseRepo::getDefaultInstance()->getEntityIdComposer(). For legacy reasons the EntityIdComposer class always supports Items and Properties, even if they do not have an entity-id-composer configured.
TASK DETAIL
EMAIL PREFERENCES
To: hoo, thiemowmde
Cc: thiemowmde, Izno, Lydia_Pintscher, gerritbot, hoo, Aklapper, Zppix, daniel, Lewizho99, Maathavan, D3r1ck01, Wikidata-bugs, aude, Mbch331
Cc: thiemowmde, Izno, Lydia_Pintscher, gerritbot, hoo, Aklapper, Zppix, daniel, Lewizho99, Maathavan, D3r1ck01, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
