From 692a3638ba5d82ad1e13ae1d9b703bfbcfa834d1 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Sat, 2 May 2009 12:55:41 +0200 Subject: [PATCH] Fix edit link in empty pages. --- geekigeeki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.25.1