This has just been brought to my attention by some friends in India, who are considering to use it to create a DVD version of Wikipedia:
http://wikifilter.sourceforge.net/
From the description: "WikiFilter is both a wiki text parser and a web
filter. It converts wiki text stored in a wiki data-base (dump) file into html text, and sends the html text to the web browser." The program is written in C. There's also an indexing component. I haven't tested it, but it looks like it could be a useful module for a DVD edition; the parser component might also be interesting for other purposes.
Erik