Page MenuHomePhabricator

Introduce a GenericValueSnakFormatter that dispatches to ValueFormatters based on the data type (and value type)
Closed, ResolvedPublic

Description

Introduce a GenericValueSnakFormatter that dispatches to ValueFormatters based on the data type (and value type). This is what DispatchingValueFormatter currenlty does, DispatchingValueFormatter and GenericValueSnakFormatter could be conflated into a class that implements TypedValueFormatter as well as SnakFormatter.

This obsoletes the current implementation of PropertyValueSnakFormatter, which should be removed.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

daniel raised the priority of this task from to Medium.
daniel updated the task description. (Show Details)
daniel moved this task from Proposed to Backlog on the Wikidata-Sprint-2015-09-29 board.
daniel moved this task from Backlog to Doing on the Wikidata-Sprint-2015-09-29 board.

Change 243640 had a related patch set uploaded (by Daniel Kinzler):
Factor error handling out of PropertyValueSnakFormatter.

https://gerrit.wikimedia.org/r/243640

Change 243640 merged by jenkins-bot:
Factor error handling out of PropertyValueSnakFormatter.

https://gerrit.wikimedia.org/r/243640

daniel moved this task from Doing to Done on the Wikidata-Sprint-2015-09-29 board.