API:Expanding templates and rendering

From PeformIQ Upgrade
Jump to navigation Jump to search

Template:API Intro

These API modules allows to call parser for preprocessing and rendering

expandtemplates (done)

Template:MW 1.12

Returns preprocessed wikitext
Parameters: text=wikitext to parse, title=title used for parser ("API" by default)

Template:ApiEx

parse(done)

Template:MW 1.12

Returns parser wikitext
Parameters: text=wikitext to parse, title=title used for parser ("API" by default)

Template:ApiEx

TODO: allow raw rendering