Yep, I saw the code and that is completely unrelated to pywikidata.
I don't think we should be dividing the efforts, and focus on either of
them. I personally think it would be best to keep Pywikidata as a separate
project for a while, until pywikidata and wikidata matures. We can't be
changing pywikipedia constaly for users to find a broken pywikidata. As I
see it, Pywikipedia is already mature and (py)wikidata is still beta.
Regardless, I think implementing something like Pywikidata where items are
a Python class and properties can be accessed like item.sitelinks["cawiki"]
is better than handling directly low-level JSON (like PWB+WD is iirc) or
something similar. The library should abstract those things and provide
utility functions like wikidata.api.getItemById or
wikidata.api.getItemByInterwiki, or whatever.
Just some thoughts.
Joan Creus.
2012/10/25 Amir Ladsgroup <ladsgroup(a)gmail.com>
Lydia is right. I changed PWB to make it run on
wikidata.
Now i can write a code and integrate data of wikipedia and add it to
wikidata DIRECTLY. I say again read this:
http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Wikidata
I suggest we merge pywikidata and PWB
On 10/25/12, Lydia Pintscher <lydia.pintscher(a)wikimedia.de> wrote:
On Wed, Oct 24, 2012 at 7:08 PM, Joan Creus
<joan.creus.c(a)gmail.com>
wrote:
Hi all,
I've released a new version of Pywikidata @
https://github.com/jcreus/pywikidata (not really a release, since there
is
no version numbering; I should begin, maybe...).
Yay! :)
> New features include:
>
> Changes pushed to the server are only the properties which have changed.
> This means that it is really faster, and it is the way it should be
> (according to the spec).
> 'uselang' is no longer accepted, per spec.
> Bot flag allowed.
>
> Right now there's some more stuff left to do (including adapting to
> changes
> to the API, and adding the claim system [still beta]), but is there any
> feature request of something which would be useful for bots?
>
> In regards to Pywikipediabot integration I think someone is working on
it
(thanks!); yet I think it would be better to wait. Pywikipedia is a
mature
project and Pywikidata is still evolving constantly (mostly due to API
changes, which break it). So I'd wait until Pywikidata has matured too,
and
Wikidata is deployed to WMF wikis.
As far as I understood it this isn't really integration but instead
implementing this directly in Pywikipediabot. Amir: Can you please
clarify?
Cheers
Lydia
--
Lydia Pintscher -
http://about.me/lydia.pintscher
Community Communications for Wikidata
Wikimedia Deutschland e.V.
Obentrautstr. 72
10963 Berlin
www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das
Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
--
Amir
_______________________________________________
Wikidata-l mailing list
Wikidata-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l