# -*- coding: utf-8 -*-
import family, config
class Family(family.Family):
def __init__(self):
family.Family.__init__(self)
self.name = 'mac_wikia'
self.langs = {
'de':'de.mac.wikia.com',
'en':'mac.wikia.com',
'es':'es.mac.wikia.com',
'fr':'fr.mac.wikia.com',
'id':'id.mac.wikia.com',
'it':'it.mac.wikia.com',
'zh':'zh.mac.wikia.com',
}
# Most namespaces are inherited from family.Family.
self.namespaces[4] = {
'_default': [u'WikiMac', self.namespaces[4]['_default']],
'id': u'Indonesia Macintosh Society',
'zh': u'',
}
self.namespaces[5] = {
'_default': [u'WikiMac talk', self.namespaces[5]['_default']],
'de': u'WikiMac Diskussion',
'es': u'WikiMac Discusin',
'fr': u'Discussion WikiMac',
'id': u'Pembicaraan Indonesia Macintosh Society',
'it': u'Discussioni WikiMac',
'zh': u' talk',
}
self.namespaces[110] = {
'_default': u'Forum',
}
self.namespaces[111] = {
'_default': u'Forum talk',
}
self.namespaces[400] = {
'_default': u'Video',
'ru': u'',
}
self.namespaces[401] = {
'_default': u'Video talk',
'ru': u' ',
}
self.namespaces[500] = {
'_default': u'User blog',
'de': u'Benutzer Blog',
'ru': u' ',
}
self.namespaces[501] = {
'_default': u'User blog comment',
'de': u'Benutzer Blog Kommentare',
'ru': u' ',
}
self.namespaces[502] = {
'_default': u'Blog',
'ru': u'',
}
self.namespaces[503] = {
'_default': u'Blog talk',
'de': u'Blog Diskussion',
'ru': u' ',
}
# A few selected big languages for things that we do not want to loop over
# all languages. This is only needed by the titletranslate.py module, so
# if you carefully avoid the options, you could get away without these
# for another wikimedia family.
self.languages_by_size = ['en','de']
def version(self, code):
return "1.14"
def scriptpath(self, code):
return ''
|