Lucie created this task.
Lucie added subscribers: Aklapper, Lucie.
Lucie added projects: Wikidata, WikibaseQueryEngine.
Lucie changed Security from none to none.
TASK DESCRIPTION
"As pointed out in #60 a single "value field" that contains a string suitable
for display/preview purposes is not going to work. The most simple example is
LatLongValue. We store it in two decimal columns. Everything else would be odd.
Both columns are needed to create a label. The code to create labels from these
columns must be in the handler.
What the handlers need is:
# An optional getDataValue method that either returns null by default
or a DataValue if it's possible to reconstruct it from the table.
# An optional getLabel method (or getPreviewLabel or something like
that) that returns a string that's suitable for preview purposes (but not
necessarily an exact representation of the original DataValue)."
https://github.com/wmde/WikibaseQueryEngine/issues/62
TASK DETAIL
https://phabricator.wikimedia.org/T78660
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Lucie
Cc: Aklapper, Lucie, Wikidata-bugs, aude
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs