'WIZARD_DBUSER': 'wgDBuser',
'WIZARD_DBPASSWORD': 'wgDBpassword',
'WIZARD_SECRETKEY': ('wgSecretKey', 'wgProxyKey'),
+ 'WIZARD_UPGRADEKEY': 'wgUpgradeKey',
})
class Application(app.Application):
substitutions = app.make_substitutions(seed)
substitutions.update(php.substitutions)
install_schema = install.ArgSchema("db", "admin", "email", "title")
+ random_keys = set(['WIZARD_SECRETKEY', 'WIZARD_UPGRADEKEY'])
def download(self, version):
series = ".".join(str(version).split(".")[:2])
return "http://download.wikimedia.org/mediawiki/%s/mediawiki-%s.tar.gz" % (series, version)