Package doconce :: Module mwiki
[hide private]
[frames] | no frames]

Module mwiki

source code

MediaWiki translator, aimed at Wikipedia/WikiBooks type of web pages. Syntax defined by http://en.wikipedia.org/wiki/Help:Wiki_markup and http://en.wikipedia.org/wiki/Help:Displaying_a_formula. The prefix m in the name mwiki distinguishes this translator from gwiki (googlecode wiki).

Not yet implemented: mwiki_ref_and_label (just using code from gwiki)

Just using plan ASCII solutions for index_bib (requires some work to port to MediaWiki, but is straightforward - use rst as template) and exercise (probably ok with the plain solution).

Functions [hide private]
 
mwiki_code(filestr, format) source code
 
mwiki_figure(m) source code
 
mwiki_author(authors_and_institutions, auth2index, inst2index, index2inst, auth2email) source code
 
mwiki_ref_and_label(section_label2title, format, filestr) source code
 
define(FILENAME_EXTENSION, BLANKLINE, INLINE_TAGS_SUBST, CODE, LIST, ARGLIST, TABLE, EXERCISE, FIGURE_EXT, CROSS_REFS, INDEX_BIB, INTRO, OUTRO) source code
Variables [hide private]
  __package__ = 'doconce'