From: Edward Z. Yang Date: Sat, 3 Oct 2009 22:32:37 +0000 (-0400) Subject: Refinements from running in practice. X-Git-Url: https://scripts.mit.edu/gitweb/wizard.git/commitdiff_plain/ac95fb16ae2a8b1c73ffb491fe4efb83523aff4a Refinements from running in practice. * Relax MediaWiki webCheck * Add 'wizard restore top' support * Fix bugs in 'wizard upgrade' if you didn't commit Signed-off-by: Edward Z. Yang --- diff --git a/wizard/app/mediawiki.py b/wizard/app/mediawiki.py index dab8ba4..a1a1eec 100644 --- a/wizard/app/mediawiki.py +++ b/wizard/app/mediawiki.py @@ -55,8 +55,8 @@ class Application(deploy.Application): if not match: return None return distutils.version.LooseVersion(match.group(2)[1:-1]) def checkWeb(self, d): - page = d.fetch("index.php?title=Special:Version") - return page.find("MediaWiki is free software") != -1 + page = d.fetch("index.php") + return page.find("