X-Git-Url: https://codewiz.org/gitweb?p=geekigeeki.git;a=blobdiff_plain;f=geekigeeki.py;fp=geekigeeki.py;h=1891fdd8c5842cea4357d5339009ad40f90134d6;hp=e15db21cf57a601071b208df64449f50ca1e2825;hb=ba86d6242b2d2ff713f3db4725adcabbfb9f1cce;hpb=b2d45e5e3f780e9a21aeaf8cf8babaaf5f57a74d
diff --git a/geekigeeki.py b/geekigeeki.py
index e15db21..1891fdd 100755
--- a/geekigeeki.py
+++ b/geekigeeki.py
@@ -649,7 +649,7 @@ class Page:
emit_header(self._mtime())
print('\n')
print("
%s: %s" % (config_get('site_name', "Unconfigured Wiki"), text))
- print(' ')
+ print(' ')
if not name:
print(' ')
@@ -665,10 +665,8 @@ class Page:
print(' ' \
% relative_url('?a=edit&q=' + name, privileged=True))
- history = config_get('history_url')
- if history is not None:
- print(' ' \
- % relative_url(history + '?a=rss'))
+ print(' ' \
+ % relative_url(name + '?a=atom'))
print('')
@@ -692,6 +690,7 @@ class Page:
else:
print(' ' + text + ' ')
print(' | ' + link_tag('FindPage', 'Find Page', cssclass='navlink'))
+ history = config_get('history_url')
if history:
print(' | Recent Changes')
if name:
@@ -781,7 +780,8 @@ class Page:
if 'maxwidth' in args:
import subprocess
sys.stdout.flush()
- subprocess.check_call(['gm', 'convert', self._filename(),
+ subprocess.check_call(['convert', self._filename(),
+ '-auto-orient', '-orient', 'TopLeft',
'-scale', args['maxwidth'].value + ' >', '-'])
else:
body = self.get_raw_body()