--- ./MoinMoin/formatter/text_html.py 2003-11-09 22:00:56.000000000 +0100
+++ ./MoinMoin/formatter/text_html.py.new 2004-02-16 12:32:18.000000000 +0100
@@ -80,7 +80,7 @@
target = kw.get('target', None)
if not pretty and wikiutil.isPicture(url):
- return '' % (url,)
+ return '
' % (url,text)
if text is None: text = url
str = ''
--- ./MoinMoin/wikiaction.py 2003-11-09 22:00:52.000000000 +0100
+++ ./MoinMoin/wikiaction.py.new 2004-02-16 12:01:25.000000000 +0100
@@ -76,7 +76,7 @@
hiddenhits += 1
continue
print '
" @@ -372,14 +372,14 @@ if file != currentpage: actions = '%s %s' % (actions, page.link_to( text=_('view'), - querystr='action=recall&date=%d' % mtime)) + querystr='action=recall&date=%d' % mtime)) if may_revert: actions = '%s %s' % (actions, page.link_to( text=_('revert'), - querystr='action=revert&date=%d' % mtime)) + querystr='action=revert&date=%d' % mtime)) actions = '%s %s' % (actions, page.link_to( text=_('diff'), - querystr='action=diff&date=%d' % mtime)) + querystr='action=diff&date=%d' % mtime)) comment = log.comment if log.action.find('/REVERT') != -1: @@ -465,9 +465,9 @@ print "
" # links to detailed info - historylink = wikiutil.link_tag('%s?action=info&history=1' % qpagename, + historylink = wikiutil.link_tag('%s?action=info&history=1' % qpagename, _('Show "%(title)s"') % {'title': _('Revision History')}) - hitcountlink = wikiutil.link_tag('%s?action=info&hitcounts=1' % qpagename, + hitcountlink = wikiutil.link_tag('%s?action=info&hitcounts=1' % qpagename, _('Show chart "%(title)s"') % {'title': _('Page hits and edits')}) request.write("
%s
%s