http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10783
Revision: 10783 Author: xqt Date: 2012-12-11 10:56:40 +0000 (Tue, 11 Dec 2012) Log Message: ----------- wikidata as a shared repository for wikipedia_family.py
Modified Paths: -------------- branches/rewrite/pywikibot/families/wikipedia_family.py
Modified: branches/rewrite/pywikibot/families/wikipedia_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikipedia_family.py 2012-12-11 10:55:23 UTC (rev 10782) +++ branches/rewrite/pywikibot/families/wikipedia_family.py 2012-12-11 10:56:40 UTC (rev 10783) @@ -584,3 +584,6 @@
def shared_image_repository(self, code): return ('commons', 'commons') + + def shared_data_repository(self, code): + return ('wikidata', 'wikidata')
pywikipedia-svn@lists.wikimedia.org