All pastes #422369 Raw Edit

Untitled

public python v1 · immutable
·published 2007-04-03 12:41 UTC
rendered paste body
# -*- coding: utf-8  -*-import family# The official Mozilla Wiki. #Put a short project description here.class Family(family.Family):    def __init__(self):        family.Family.__init__(self)        self.name = 'mozilla' #Set the family name; this should be the same as in the filename.        self.langs = {            'en': 'wiki.mozilla.org', #Put the hostname here.        }        self.namespaces[4] = {            '_default': u'MozillaWiki', #Specify the project namespace here. Other        }                               #namespaces will be set to MediaWiki default.        self.namespaces[5] = {            '_default': u'MozillaWiki talk',        }    def version(self, code):        return "1.4.2"  #The MediaWiki version used. Not very important in most cases.    def path(self, code):        return '/index.php' #The path of index.php