Page MenuHomePhabricator

[Task] Only create entity serializers and deserializers via global factory
Closed, ResolvedPublic

Description

There are some places in the code where we call newEntitySerializer or newEntityDeserializer directly on the factories. These serializers and deserializers however can only handle items and properties so we have to pull them from the global factory (WikibaseRepo and WikibaseClient) instead.

One issue is that some of these places use flags when creating the factory so we need a mechanism to inject those flags into the global factory.

Related Objects

StatusSubtypeAssignedTask
Declineddchen
OpenNone
OpenNone
DuplicateNone
OpenFeatureNone
OpenFeatureNone
DuplicateNone
ResolvedNone
ResolvedNone
ResolvedNone
DuplicateNone
InvalidLydia_Pintscher
OpenNone
OpenNone
StalledNone
OpenNone
ResolvedAddshore
Resolvedthiemowmde
ResolvedAddshore
Resolvedadrianheine

Event Timeline

@Bene The Wikidata team just decided in the planning meeting that we will collaboratively try to revive and further work on this.

adrianheine moved this task from Review to Done on the Wikidata-Sprint-2016-04-26 board.