mediawiki

Compile MediaWiki markup into HTML using smc.mw

To install, run nikola plugin -i mediawiki

Compiler plugin to support Wikimedia markup using smc.mw.

Suggested Configuration:

# Add the mediawiki compiler to your COMPILERS dict.
# Make sure this doesn't conflict with the 'wiki' plugin
COMPILERS["mediawiki"] = ('.wiki',)

# Add mediawiki files to your POSTS, PAGES
POSTS = POSTS + (("posts/*.wiki", "posts", "post.tmpl"),)
PAGES = PAGES + (("stories/*.wiki", "posts", "post.tmpl"),)

Requirements:

  • https://github.com/lambdafu/smc.mw/archive/master.zip (Python package)
  • grako==2.4.3 (Python package)

Issues? Questions?

You can report issues with this plugin and request help via GitHub Issues.