projects
/
geekigeeki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cebb90
)
Fix edit link in empty pages.
author
Bernie Innocenti
<bernie@codewiz.org>
Sat, 2 May 2009 10:55:41 +0000
(12:55 +0200)
committer
Bernie Innocenti
<bernie@codewiz.org>
Sat, 2 May 2009 10:55:41 +0000
(12:55 +0200)
geekigeeki.py
patch
|
blob
|
history
diff --git
a/geekigeeki.py
b/geekigeeki.py
index afaebefc6a4321560a861d04f174c7d8661a304b..0b8e422c199a3cd4230e42859e0ed981e3776df9 100755
(executable)
--- 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()