User:Lgregianin/OOo family.py
From Apache OpenOffice Wiki
< User:Lgregianin
Revision as of 11:36, 24 October 2008 by Lgregianin (talk | contribs) (New page: == user-config.py == <pre> # -*- coding: utf-8 -*- ring_bell = False minthrottle = 1 maxthrottle = 1 put_throttle = 1 noisysleep = 1.0 userinterface = 'terminal' transliterate = True myla...)
user-config.py
# -*- coding: utf-8 -*- ring_bell = False minthrottle = 1 maxthrottle = 1 put_throttle = 1 noisysleep = 1.0 userinterface = 'terminal' transliterate = True mylang = 'OOo' family = 'OOo' usernames['OOo']['OOo'] = u'Lgregianin'
OOo_family.py
# -*- coding: utf-8 -*- import family # The OpenOffice.org Wiki. class Family(family.Family): def __init__(self): family.Family.__init__(self) self.name = 'OOo' self.langs = { 'OOo': 'wiki.services.openoffice.org', } self.namespaces[4] = { '_default': [u'OpenOffice.org Wiki', self.namespaces[4]['_default']], } self.namespaces[5] = { '_default': [u'OpenOffice.org Wiki talk', self.namespaces[5]['_default']], } def version(self, code): return "1.11.0" def apipath(self, code): raise NotImplementedError( "The OOo family does not support api.php")