Hello,
if you use PWB with Wikidata you need often some functions not yet
provided by the framework. Here are some functions which I miss:
* for the Wikidata Family class
o get a Site object for a given code like 'enwiki'
o Site object to code
o add the items used for the 'imported from' statement directly to
the file, because retrieving them always from online (
www.wikidata.org/wiki/Wikidata:List_of_wikis/python ) is very
unusual
* Site creation function: Return a DataSite object if Wikidata is
requested. Sometimes you need a DataSite object directly, you can
use pywikibot.site.DataSite, but this is not really nice.
I would help coding the feautures but I have no access to SVN and I
don't now if it is useful to request it now because PWB will move to Git
soon.
Greetings
Pyfisch
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l