User Tools

Site Tools


start

This is an old revision of the document!


FSGW Wiki Start page

DokuWiki help

Key points about DokuWiki markup, and differences from MediaWiki markup

At first glance, DokuWiki markup looks a lot like MediaWiki markup, but while it has the same markup flavor, it is actually significantly different in a number of details.

  1. Headlines (headings) are still defined by equal signs (like "=====Heading====="), but they may ONLY contain text. Especially, links are NOT allowed in Headlines, while MediaWiki does allow links there. More info is here: https://www.dokuwiki.org/faq:headerlinks
  2. More '='s makes BIGGER headline text, not smaller. I use 4, 5, and 6 '='s for small, medium, and large (top of page) headings, what would be 3, 2, and 1 '='s in MediaWiki.
  3. The characters to start a list item are '*' for unordered, and '-' for ordered (NOT '#'). They MUST be indented by 2 spaces, they do NOT work at the left margin. For each further list indent, add 2 more spaces, NOT another '*' or '-'.
  4. To force a new line, use '\\' at the end of a line, or '\\ ' in the middle of a line. An empty line is a paragraph separator, which causes a new line followed by an empty line.
  5. To prevent characters from being interpreted as markup, bracket them with pairs of percent signs (%)
  6. Unlike MediaWiki, there is no Page Title stored outside of the page markup, partly because there is no database to store it in. FSGW has DokuWiki configured to use the first Headline on each page as the page title.
  7. To display text with newlines exactly as it is, un-formatted, use <text>text</text>. This is what <poem>text</poem> did in FSGW's MediaWiki. Uppercase <TEXT> adds a box around it.
  8. To make a link open in a new window or tab, put “target=_blank^” in front of it, for example:
    [[target=_blank^wiki:syntax|DokuWiki Syntax guide]]
  9. A basic MediaWiki to DokuWiki markup converter: https://www.vertopal.com/en/convert/wiki-mediawiki-to-dokuwiki
start.1692141375.txt.gz · Last modified: 2023/08/15 16:16 by wikiadmin