view MoinMoin/action/ @ 3027:6dcc9617bab6

Fix for WrongAlignedAttachment (Thanks to Benjamin Weber) (ported from 1.6)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 03 Feb 2008 17:57:42 +0100
parents 4a31739bc6e1
children a739558ca3dc
line wrap: on
line source
    MoinMoin - Render as DocBook action - redirects to the DocBook formatter

    @copyright: 2005 MoinMoin:AlexanderSchremmer
    @license: GNU GPL, see COPYING for details.

from MoinMoin.Page import Page

def execute(pagename, request):
    url = Page(request, pagename).url(request, {'action': 'show', 'mimetype': 'text/docbook'}, relative=False)