Mercurial > moin > 1.9
changeset 5982:897111701cf8
rather use page.url than request.href, so url_prefix_action gets used
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sat, 06 Apr 2013 23:26:08 +0200 |
parents | 3460b27e7f3e |
children | 9bd355d893f4 |
files | MoinMoin/theme/__init__.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py Sat Apr 06 22:47:36 2013 +0200 +++ b/MoinMoin/theme/__init__.py Sat Apr 06 23:26:08 2013 +0200 @@ -1708,9 +1708,9 @@ output.append('<link rel="Start" href="%s">\n' % request.href(page_front_page)) if pagename: output.append('<link rel="Alternate" title="%s" href="%s">\n' % ( - _('Wiki Markup'), request.href(pagename, action='raw'))) + _('Wiki Markup'), page.url(request, querystr=dict(action='raw')))) output.append('<link rel="Alternate" media="print" title="%s" href="%s">\n' % ( - _('Print View'), request.href(pagename, action='print'))) + _('Print View'), page.url(request, querystr=dict(action='print')))) # !!! currently disabled due to Mozilla link prefetching, see # http://www.mozilla.org/projects/netlib/Link_Prefetching_FAQ.html