**This is an old revision of the document!**
part of the GtC documentation
MediaWiki and DokuWiki
If you are familiar with editing any MediaWiki wiki, this table will help you find some of the basic equivalents in DokuWiki syntax.
| Syntax Examples | MediaWiki | DokuWiki | result |
|---|---|---|---|
| Internal Link | [[a link]] [[a link|with title]] | [[start]] [[ints:start]] [[ints:start|a long list]] | start ints a long list |
| External Link | [http://example.org With a title] | [[http://example.com]] [[http://example.com|With a Title]] | see links |
| Headlines | = Page title (h1) = == Section (h2) == === Subsection (h3) === ==== Sub-subsection (h4) ==== | ====== Level 1 (h1) ====== ===== Level 2 (h2) ===== ==== Level 3 (h3) ==== === Level 4 (h4) === == Level 5 (h5) == | See page section headings |
| Bold Format | '''bold''' | **bold** | bold |
| Italics Format | ''italic'' | //italics// | italics |
| Bold italics | '''''bolditalic''''' | //**bolditalic**// | bolditalic |
| Underline Format | <u>underlined</u> | __underlined__ | underlined |
| Monospace Format | <tt>monospace</tt> | ''monospace'' | monospace |
| Strikethrough Format | <s>strikethrough</s> | <del>strikethrough</del> | |
| Superscript Format | A<sup>superscript</sup> | A<sup>superscript</sup> | Asuperscript |
| Subscript Format | A<sub>subscript</sub> | A<sub>subscript</sub> | Asubscript |
| (See basic text formatting for the above) | |||
| Images | [[Image:wiki.png]] | {{local.jpg}}, {{http://foo.bar/baz.jpg}} |
|
| Images with text | [[Image:wiki.png|displayed text]] | {{local.jpg|displayed text}}, {{http://foo.bar/baz.jpg|text}} |
|
| Bulleted Lists | * Bulleted point ** sub-point * another bulleted point | * DokuWiki lists need two spaces on the left
* and for sub-items, 4 spaces (and so on)
* main list again
| See lists |
| Numbered Lists | # Item 1 ## Item 1.2 # Item 2 | - DokuWiki uses `-` for ordered lists
- again, 4 indented spaces for sub-items
- 2 spaces again
| See lists |
| No formatting | <nowiki>''**#-''</nowiki> | <nowiki>''**#-''</nowiki> | ''**#-'' |
| Horizontal Rule | ---- | ---- (look, below) | |