[Wikidata-bugs] [Maniphest] [Updated] T115679: Handle property datatype changing gracefully
matej_suchanek removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T115679EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Lokal_Profil, thiemowmde, daniel, XZise, Ricordisamoa, hoo, Lydia_Pintscher, Multichill, Legoktm, Aklapper, jayvdb, pywikibot-bugs-list, Mdupont, JJMC89, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Updated] T115679: Handle property datatype changing gracefully
Tobi_WMDE_SW added a project: Wikidata-Sprint-2016-01-19. TASK DETAIL https://phabricator.wikimedia.org/T115679 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tobi_WMDE_SW Cc: Lokal_Profil, thiemowmde, daniel, XZise, Ricordisamoa, hoo, Lydia_Pintscher, Multichill, Legoktm, Aklapper, jayvdb, pywikibot-bugs-list, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Updated] T115679: Handle property datatype changing gracefully
thiemowmde added a project: Wikidata-Sprint-2015-12-01. TASK DETAIL https://phabricator.wikimedia.org/T115679 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: thiemowmde Cc: thiemowmde, daniel, XZise, Ricordisamoa, hoo, Lydia_Pintscher, Multichill, Legoktm, Aklapper, jayvdb, pywikibot-bugs-list, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Updated] T115679: Handle property datatype changing gracefully
thiemowmde added a subscriber: thiemowmde. thiemowmde added a project: Patch-For-Review. thiemowmde added a comment. I reworked https://gerrit.wikimedia.org/r/247080 completely. Please review. TASK DETAIL https://phabricator.wikimedia.org/T115679 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: thiemowmde Cc: thiemowmde, daniel, XZise, Ricordisamoa, hoo, Lydia_Pintscher, Multichill, Legoktm, Aklapper, jayvdb, pywikibot-bugs-list, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Updated] T115679: Handle property datatype changing gracefully
jayvdb added a comment. On cache invalidation, we can force a refresh of the `getPropertyType` property-datatype mapping whenever a new datatype is encountered. What would be nice is if Wikibase provided an API call to list all datatypes, so we can detect when the list of datatypes changes. i.e. expose https://test.wikidata.org/wiki/Special:ListDatatypes via the API. However we dont __need__ that, as we can get the list of datatypes from the paraminfo of `wbformatvalue`.`datatype`. However we need to be mindful of https://phabricator.wikimedia.org/T55265, if that problem hasnt been fixed yet. The harder, and much lower exposed problem, is if `pywikibot` users are using `CachedRequest` for entities, as the cached serialisation will have the old datatype in it, not the new datatype. IMO this problem is the callers responsibility, and our solution should be "delete your apicache". TASK DETAIL https://phabricator.wikimedia.org/T115679 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Ricordisamoa, hoo, Lydia_Pintscher, Multichill, Legoktm, Aklapper, jayvdb, pywikibot-bugs-list, Wikidata-bugs, aude ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs