From: Bernie Innocenti Date: Sat, 2 May 2009 10:55:41 +0000 (+0200) Subject: Fix edit link in empty pages. X-Git-Tag: v4.0~2 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=692a3638ba5d82ad1e13ae1d9b703bfbcfa834d1;p=geekigeeki.git Fix edit link in empty pages. --- diff --git a/geekigeeki.py b/geekigeeki.py index afaebef..0b8e422 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -635,7 +635,7 @@ class Page: except IOError, err: if err.errno == errno.ENOENT: if default is None: - default = '//[[%s|Describe %s|action=edit]]//' % (self.page_name, self.page_name) + default = '//[[?a=edit&q=%s|Describe %s]]//' % (self.page_name, self.page_name) return default if err.errno == errno.EISDIR: return self.format_dir()