Jdlrobson created this task. Jdlrobson added subscribers: Jdlrobson, bmansurov, kaldari. Jdlrobson added projects: MediaWiki-extensions-WikibaseRepository, Mobile. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION In the API request: https://m.wikidata.org/w/api.php?action=wbgetentities&format=json&ids=Q937&languages=en&props=descriptions%7Cclaims {"hash":"a7e5bfde15440144baab73befd6eaddd22e0df12","snaktype":"value","property":"P580","datatype":"time","datavalue":{"value":{"time":"+00000001879-03-14T00:00:00Z","timezone":0,"before":0,"after":0,"precision":11,"calendarmodel":"http://www.wikidata.org/entity/Q1985727"},"type":"time"}}] is one of the responses. Could this be supplemented with a human readable string e.g. { "time":"+00000001879-03-14T00:00:00Z", "msg": "14th March 1879" Currently a frontend dev has to write /lots of/ code to do the above (see https://gerrit.wikimedia.org/r/#/c/184811/7/javascripts/modules/infobox/Infobox.js) so it would be better to return this via the API in the requested language. TASK DETAIL https://phabricator.wikimedia.org/T87074 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: Jdlrobson Cc: kaldari, bmansurov, Aklapper, Jdlrobson, Wikidata-bugs _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
