[wikia-pywikibot] / families / central_family.py Repository:

View of /families/central_family.py

Parent Directory Parent Directory Revision Log Revision Log


Revision 11 - Download Blame
Sat Apr 26 07:43:16 2008 UTC (2 years, 4 months ago) by dantman
File size: 594 byte(s)
Added new wikia_basefamily.py setup.
All wikia families now inherit from this one, and use values inside of a special dict when things like smw, profile, kaltura, etc... are on or forums are not.
((Also there was a comment mistake in manga_family.py))
    1 # -*- coding: utf-8  -*-
    2 import family, wikia_basefamily
    3 
    4 # Central Wikia. (www.wikia.com)
    5 
    6 class Family(wikia_basefamily.Family):
    7 
    8 	def __init__(self):
    9 
   10 		wikia_basefamily.Family.__init__(self)
   11 
   12 		self.name               = 'central'
   13 		self.langs              = { 'en': u'www.wikia.com', }
   14 		self.wikia['projectns'] = 'Wikia'
   15 		self.namespaces[100] = { '_default': u'Blog'}
   16 		self.namespaces[101] = { '_default': u'Blog comment'}
   17 		self.namespaces[102] = { '_default': u'Pomoc'}
   18 		self.namespaces[103] = { '_default': u'Dyskusja pomocy'}
   19 
   20 		wikia_basefamily.Family.initNamespaces(self)
   21 

svn@nadir-point.com
Subversion  TortoiseSVN  ViewVC