Page MenuHomePhabricator

[Task] Allow the FormatValue API module to provide a label for a vocabulary URI.
Closed, InvalidPublic

Description

Wikibase uses "vocabulary" URIs to identify things like reference globes, calendars, or units of measurement. It would be useful to offer a public API that could provide a human readable lable for such vocabulary URIs.

The FormatValue API module should support formatting of vocabulary URIs. This should be achieved by introducing a (pseudo-)data type for vocab URIs (using StringValue for internal representation). That data type would be somewhat complimentary to the proposed "ID" type: IDs would expand to URIs for normalization. Vocab URIs would be replaced by labels for display. Conceptually, they are quite similar though.

Event Timeline

daniel raised the priority of this task from to Needs Triage.
daniel updated the task description. (Show Details)
daniel subscribed.

Setting to low, since we currently have no direct need for this. It would mostly be a convenience for 3rd party users.

Jonas renamed this task from Allow the FormatValue API module to provide a label for a vocabulary URI. to [Task] Allow the FormatValue API module to provide a label for a vocabulary URI..Nov 2 2015, 1:23 PM
Jonas set Security to None.
Lydia_Pintscher subscribed.

Closing as there seems to be no demand for it.