http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9437
Revision: 9437 Author: lcawte Date: 2011-08-19 12:59:41 +0000 (Fri, 19 Aug 2011) Log Message: ----------- Can be generated, there is no point of keeping it updated in trunk...
Removed Paths: ------------- trunk/pywikipedia/families/mac_wikia_family.py
Deleted: trunk/pywikipedia/families/mac_wikia_family.py =================================================================== --- trunk/pywikipedia/families/mac_wikia_family.py 2011-08-18 04:06:34 UTC (rev 9436) +++ trunk/pywikipedia/families/mac_wikia_family.py 2011-08-19 12:59:41 UTC (rev 9437) @@ -1,85 +0,0 @@ -# -*- coding: utf-8 -*- -__version__ = '$Id$' - -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 Discusión', - '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.16.2" - - def scriptpath(self, code): - return '' -