Page MenuHomePhabricator

Create a FormatValue API module for formatting data values
Closed, ResolvedPublic


The FormatValue API module should work simmilar to the ParseValue API module. It would expect a DataValue (in JSON format) as the input, along with an (optional) data type identifier, as well as the desired output format (plain text, wikitext, html, etc).

The FormatValue module would then find the appropriate formatter, apply it, and return the resulting string.

Implementation note:
FormatValue can probably be implemented in the DataValues repo, but should provide hooks that allow application specific data types and formatters to be injected.

Version: unspecified
Severity: major



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

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 2:36 AM
bzimport set Reference to bz57014.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 56765 has been marked as a duplicate of this bug. ***

Change 97510 had a related patch set uploaded by Daniel Kinzler:
(bug #57014) Introducing FormatSnakValue API module

Change 95278 abandoned by Daniel Kinzler:
(bug #57014) Introducing ApiFormatValue

Use Ide20888b89 instead

Change 97510 merged by jenkins-bot:
(bug #57014) Introducing FormatSnakValue API module