Page MenuHomePhabricator

Add support for repo prefixes to DispatchingEntityIdParser
Closed, ResolvedPublic

Description

DispatchingEntityIdParser finds the correct type of EntityId to construct by matchign a given ID serialization against regular expressions managed by EntityTypeDefinitions. Those patterns match "Q1234" for items, "P1234" for properties, etc.

To support foreign IDs, this mechanism needs to be adapted so it can handle IDs of the form "foo:Q11234" and "a:b:c:P23768", and still determine the correct entity type.

Related Objects

StatusAssignedTask
Declineddchen
OpenNone
OpenNone
DuplicateNone
OpenNone
ResolvedAbit
DuplicateNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
StalledNone
ResolvedLydia_Pintscher
ResolvedLydia_Pintscher
ResolvedLydia_Pintscher
ResolvedLydia_Pintscher
Resolveddaniel
ResolvedWMDE-leszek

Event Timeline

daniel created this task.Sep 19 2016, 1:51 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 19 2016, 1:51 PM
daniel moved this task from proposed to doing on the WMDE-TLA-Team board.
daniel moved this task from doing to done on the WMDE-TLA-Team board.Sep 27 2016, 3:33 PM
daniel closed this task as Resolved.Sep 27 2016, 3:36 PM