Revision: 6265 Author: wikipedian Date: 2009-01-18 15:06:07 +0000 (Sun, 18 Jan 2009)
Log Message: ----------- added family for the OpenStreetMap wiki
Added Paths: ----------- trunk/pywikipedia/families/osm_family.py
Added: trunk/pywikipedia/families/osm_family.py =================================================================== --- trunk/pywikipedia/families/osm_family.py (rev 0) +++ trunk/pywikipedia/families/osm_family.py 2009-01-18 15:06:07 UTC (rev 6265) @@ -0,0 +1,65 @@ +# -*- coding: utf-8 -*- + +__version__ = '$Id: openttd_family.py 5066 2008-02-21 19:42:30Z russblau $' + +import family + +# The project wiki of OpenStreetMap (OSM). + +class Family(family.Family): + + def __init__(self): + family.Family.__init__(self) + self.name = 'osm' + self.langs = { + 'en': 'wiki.openstreetmap.org', + } + + self.namespaces[4] = { + '_default': [u'OpenStreetMap', self.namespaces[4]['_default']], + } + self.namespaces[5] = { + '_default': [u'OpenStreetMap talk', self.namespaces[5]['_default']], + } + self.namespaces[6] = { + '_default': u'Image', + } + self.namespaces[7] = { + '_default': u'Image talk', + } + self.namespaces[200] = { + '_default': u'DE', + } + self.namespaces[201] = { + '_default': u'DE talk', + } + self.namespaces[202] = { + '_default': u'FR', + } + self.namespaces[203] = { + '_default': u'FR talk', + } + self.namespaces[204] = { + '_default': u'ES', + } + self.namespaces[205] = { + '_default': u'ES talk', + } + self.namespaces[206] = { + '_default': u'IT', + } + self.namespaces[207] = { + '_default': u'IT talk', + } + self.namespaces[208] = { + '_default': u'NL', + } + self.namespaces[209] = { + '_default': u'NL talk', + } + + def scriptpath(self, code): + return '' + + def version(self, code): + return "1.13.3" \ No newline at end of file