[Mediawiki-l] Printing the contents of an entire mediawiki

Jamie Bliss astronouth7303 at gmail.com
Thu Jan 20 17:11:35 UTC 2005


On Wed, 19 Jan 2005 09:53:40 -0700, Mike Broschinsky <mbroschi at utah.gov> wrote:
> NSK has suggested Drupal as an alternative. It looks good, and its book
> view feature has possibilities.
> 
> Another possibility is simply porting the document to DocBook, and
> generating (X)HTML to serve on the web, and then using the source to
> generate PDF for printing.
> 
> *Or* I could just talk my boss into abandoning the paper paradigm . . .
> because I *really* like Mediawiki (philosophically; I am no coder by any
> stretch of the imagination)
> 
> I think these are my alternatives right now, because it appears that
> MediaWiki can't print the entire wiki . . . Ooh, ooh, how about an
> export to DocBook function? ;)

I can't tell you specifics about specifics, but here's what I would do:
# Come up with a TOC that has all of the articles you want to be in
the printed publication. Or just a regular expression to match. Or
just use all of them. (For the latter 2, I'd look at indexShowChunk()
in ./special/SpecialAllpages.php for an idea of how to get all pages.)
# Write a script to read the list and then compile it.
# Run it through your wiki2tex script (or whatever works).
# Take the resulting files and do your printing thing.

If you need help, feel free to ask.

-- Jamie
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!



More information about the MediaWiki-l mailing list