1. Thomas Waldmann
  2. moin-2.0
  3. Issues
Issue #170 resolved

Include macro with editlink or titlesonly argument causes a crash

created an issue

How to reproduce (minimal case):

{{{ <<Include(Home,editlink)>> }}}

would cause "500 Internal Server Error".

The fix is attached. There is unmatched argument numbers in a function call.

Comments (4)

  1. xiaq reporter

    An updated patch. This adds a proper TODO comment in the code, making it clear that titlesonly and editlink are not yet processed in include.py.

  2. Thomas Waldmann repo owner
    • changed status to open




    <ns1:include ns1:href="wiki.local:a" ns1:xpointer="xmlns(page=http://moinmo.in/namespaces/page) page:include(editlink(True))"/>

    Not sure: is that how the DOM is supposed to look like for that input? Please comment.

  3. Log in to comment