http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10732
Revision: 10732 Author: xqt Date: 2012-11-14 21:06:52 +0000 (Wed, 14 Nov 2012) Log Message: ----------- minor changes
Modified Paths: -------------- trunk/pywikipedia/families/wikidata_family.py
Modified: trunk/pywikipedia/families/wikidata_family.py =================================================================== --- trunk/pywikipedia/families/wikidata_family.py 2012-11-14 21:06:12 UTC (rev 10731) +++ trunk/pywikipedia/families/wikidata_family.py 2012-11-14 21:06:52 UTC (rev 10732) @@ -4,8 +4,7 @@
import family
-# The Wikidata family -# user-config.py: usernames['wikidata']['wikidata'] = 'User name' +# The wikidata family
class Family(family.Family): def __init__(self): @@ -14,7 +13,7 @@ self.langs = { 'wikidata': 'wikidata.org', } -#https://wikidata.org/w/api.php?action=query&meta=siteinfo&siprop=nam... + self.namespaces[4] = { '_default': [u'Wikidata', u'WD', 'Project'], }
pywikipedia-svn@lists.wikimedia.org