Tpt created this task.
Tpt added projects: DataValues, Wikidata.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION

Manipulating Wikidata complex values (GlobeCoordinates, Times, Quantities...) in Lua modules is painful. It would be nice to provide a good Lua library making easy to parse such values and render them.

It should provide:

  • Good getters to easily retrieve the different value parameters (e.g. the item id of the globe ready to be passed into mw.wikibase.getLabel()).
  • Extensible default rendering based on what already exists in MediaWiki
  • Parsers and constructors to allow infobox builders to use DataValue as an internal representation for both values from Wikibase and values inputted by the user. Allowing them to just have one rendering system instead of two. For example the Time implementation may expose the same parsers as the ones used for interpreting the human inputs in the Wikibase UI.

TASK DETAIL
https://phabricator.wikimedia.org/T195070

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tpt
Cc: Aklapper, hoo, Tpt, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to