[Wikidata-bugs] [Maniphest] T265565: Getting Q-Id info with Lua call
Michael added a comment. Could you elaborate on what you are trying to do that requires the last modified time of an Entity to be available in Lua? TASK DETAIL https://phabricator.wikimedia.org/T265565 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Michael Cc: Michael, RolandUnger, Aklapper, Danny_Benjafield_WMDE, LennardHofmann, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T265565: Getting Q-Id info with Lua call
RolandUnger created this task. RolandUnger added projects: Wikidata, Wikibase-Lua. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION It is impossible to access Q-Id info with a Lua function. It can be done only by a API call like `https://www.wikidata.org/w/api.php?action=wbgetentities=Q42=info` It returns: { "entities": { "Q42": { "pageid": 138, "ns": 0, "title": "Q42", "lastrevid": 503604471, "modified": "2017-06-20T10:01:26Z", "type": "item", "id": "Q42" } }, "success": 1 } The most important is of course the `modified` parameter. I think a function should return the complete info block. TASK DETAIL https://phabricator.wikimedia.org/T265565 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RolandUnger Cc: RolandUnger, Aklapper, Akuckartz, darthmon_wmde, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs