Some MediaWiki Tools

less than 1 minute read

I’ve been working on a couple of tools for MediaWiki over the past few weeks:

  • MediaWiki_Unembed: Takes a MediaWiki file with other wiki pages embedded inside (via the tag) and unembeds them, resulting in a MediaWiki file with all the embedded content inline
  • MediaWiki2Book: Uses Pandoc and some nice templates to convert a MediaWiki page to a good-looking PDF

Unfortunately I’ve had trouble with API access on the MediaWiki instance we’re running, so you’ll have to manually copy/paste your MediaWiki page’s wikitext into a text document before runnng mediawiki2book