Wiki format (.wiki, .mediawiki)
The Wiki format reads wiki markup, extracts prose as translatable blocks, and writes the translations back while preserving the markup structure — headings, lists, tables, links, and formatting. Inline markup is exposed as inline codes so the surrounding syntax survives translation.
Two markup dialects are supported: DokuWiki and MediaWiki. The default is
DokuWiki, matching the upstream okf_wiki filter, whose documentation states
DokuWiki is the supported markup style; set variant to mediawiki to read
MediaWiki markup instead.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
preserveWhitespace | boolean | false | Preserve original whitespace in wiki markup instead of normalizing it. |
variant | string | dokuwiki | Wiki markup variant: mediawiki or dokuwiki. Default is dokuwiki to match the okf_wiki bridge contract. |
Configure these parameters interactively and copy the YAML on the Format Reference.
Examples
Read MediaWiki markup
Parse a MediaWiki-flavoured document instead of the default DokuWiki.
variant: mediawiki
Preserve whitespace
Keep original spacing in the markup instead of normalizing it.
preserveWhitespace: true
Processing notes
Headings, lists, tables, and formatting markers form the non-translatable skeleton; prose runs become translatable blocks.
Inline formatting and links within a run are exposed as inline codes so they survive translation.
Limitations
The two dialects share one extraction engine; markup specific to one dialect is recognized only under the matching
variant.
← Back to the Format Reference