Utente:AironBot/scoutwiki family.py

Da ScoutWiki.


# -*- coding: utf-8 -*-
import family

# Put a short description of your project here.

class Family(family.Family):
    def __init__(self):
        family.Family.__init__(self)
        self.name = 'scoutwiki' # insert the same name you put into the filename

        self.langs = {
            'it':'it.scoutwiki.org', # ScoutWiki
        }

        # Most namespaces are inherited from family.Family.

        self.namespaces[4] = {
            'it': 'scoutwiki',
        }
        self.namespaces[5] = {
            '_default': u'Discussione ScoutWiki',
        }

    def version(self, code):
        return "1.5.6"

    def path(self, code):
        return '/index.php'
<nowiki>

Strumenti personali