| daniel created this task. daniel added projects: Wikidata, Lexicographical data, Wikidata-Sprint. Herald added a subscriber: Aklapper. |
TASK DESCRIPTION
HierarchicalEntityRevisionLookup should be an EntityRevisionLookup decorator implementing the algorithm outlined in T165328 for looking up sub-entities:
- For non-hierarchical IDs, just delegate the call to the inner EntityRevisionLookup.
- For a hierarchical ID, get the parent ID and load the parent Entity using that ID.
- The parent entity must implement SubEntityContainer. Ask it for the sub-entity with the desiered (sub) ID, and return it.
TASK DETAIL
EMAIL PREFERENCES
To: daniel
Cc: Aklapper, daniel, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Darkdadaah, Mbch331
Cc: Aklapper, daniel, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
