User Tools

Site Tools


start

This is an old revision of the document!


FSGW Wiki Start page

Wiki help

Key points about DokuWiki markup (how it does formatting), and differences from MediaWiki markup

DokuWiki markup looks similar to MediaWiki markup (used in WikiPedia), but it actually differs in a number of ways.

  1. Headings (headlines) are defined by equal signs (like '=====Heading====='), but they may ONLY contain text. Especially, links are NOT allowed in Headings, while MediaWiki does allow links there. (Info on why is here: https://www.dokuwiki.org/faq:headerlinks)
  2. More '='s makes BIGGER heading 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 star (*) for unnumbered, and dash (-) for numbered (NOT '#'). They MUST be indented by 2 spaces, will NOT work at the left margin. For each further list indent, add 2 more leading spaces, NOT another star or dash. Working with Lists
  4. To display text without wrapping it into paragraphs, for example text copied from a terminal or an email, use <text>your text</text>. Uppercase <TEXT>your text</TEXT> does the same and draws a box around it.
  5. To force a new line, use '\\' at the end of a line, or '\\ ' in the middle of a line (note the required trailing whitespace). An empty line acts as a paragraph separator, which causes a new line followed by an empty line.
  6. To prevent characters from being interpreted as markup, bracket them with a pair of percent signs (%) on each end.
  7. There is no Page Title stored outside of the page markup, unlike MediaWiki. FSGW has DokuWiki configured to use the first Headline on each page as that pages title. If you need to override that, you can put “~~Title:Desired Page Title~~” at the top of the page markup.
  8. Links are defined as: [[<URL>|description to display]], for example: [[https://fsgw.org|FSGW website]]
  9. External (outside the wiki) links will open in a new tab. This is a configuration choice we made in DokuWiki.
  10. A basic MediaWiki to DokuWiki markup converter is: https://www.vertopal.com/en/convert/wiki-mediawiki-to-dokuwiki
start.1747750482.txt.gz · Last modified: by wikiadmin