On 12 sep, 18:35, Brion <[EMAIL PROTECTED]> wrote:
> Even with my solution there are items that do not show up in the
> generated PDF - especially tables of contents, for example. I don't
> know if using a DOM tree from MediaWiki would help in resolving that
> any more easily than parsing the wikitext, but its conceivable that it
> might.
>
It probably would, since the application that generates a PDF from the
DOM tree could simply ignore the __TOC__ node.
> Does the parse action support transcluded pages? My memory is that I
> had problems when I tried to modify mwlib to use the parse action
> instead of query. My memory is a little hazy, but I think the problem
> had to do with parse having a different return format than the query
> action.
>
Yes, it supports everything the normal parser does. If you're using
page-specific stuff like {{PAGENAME}} or [[/Foo]], be sure to set the
title= parameter right.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---