https://bugzilla.wikimedia.org/show_bug.cgi?id=54543
Web browser: --- Bug ID: 54543 Summary: WikiData: property datatype Product: Pywikibot Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/618/ Reported by: beta16 Created on: 2013-06-07 10:04:39 Subject: WikiData: property datatype Assigned to: amird Original description: in file attached there's a simple function for determine datatype of a wikidata property via API, instead use of "isinstance". Useful in DataPage.editclaim()
https://bugzilla.wikimedia.org/show_bug.cgi?id=54543
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- property datatype
https://bugzilla.wikimedia.org/show_bug.cgi?id=54543
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **assigned_to**: nobody --> amird
https://bugzilla.wikimedia.org/show_bug.cgi?id=54543
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Looks good, I will commit and make related changes
I want to add a comment but the new system don't let me "It's seems a bad idea because getting datatype each time we want to make a edit put lots of pressure on server I think using a cache for properties would be better (like featured.py)"
https://bugzilla.wikimedia.org/show_bug.cgi?id=54543
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Now I can post a new comment, so I'll respond here too.
Your idea is really interesting, would be a good thing the use of the cache, either for speed and for the bandwidth.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54543
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/patches/618
https://bugzilla.wikimedia.org/show_bug.cgi?id=54543
Nemo federicoleva@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|General |Wikidata
https://bugzilla.wikimedia.org/show_bug.cgi?id=54543
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |compat (1.0) Assignee|Pywikipedia-bugs@lists.wiki |ladsgroup@gmail.com |media.org |
pywikipedia-bugs@lists.wikimedia.org