This is an old revision of the document!
In this section you will find some basic instructions on how to create a new page, add links to it and to specific sections.
A wiki with just one page isn’t very exciting nor interesting. So let’s make a page. I want a page called, let’s say Pink Elephants. There are a few ways to start — all of them are just ways to vist the URL of that page on my site. Here are a few ways:
You can manually create a link to your new page on another page and then click that link to get to the new URL. See below for how to create a link.
If you type Pink Elephants in the search box on the top right of your page and click the magnifying class, you will get a page like this:
Now you can just click on that red pink_elephants link to visit your new page.
If your site’s default configuration has not been changed (or your server doesn’t support “Nice URLs”) then the default URL system is mysite/doku.php?id=PAGENAME so I thus would enter into my browser address bar:
mysite.com/doku.php?id=Pink Elephants
If your site has been configured to use “Nice URLs” then the URL would be:
mysite.com/Pink Elephants
When I do that, I see again that same “This topic does not exist yet” message. Now I know what to do — I just click the pencil icon and create my page.
The only thing to note here is that after I create my page, I see that DokuWiki has changed the Pink Elephants part of the URL to be just pink_elephants. That’s because DokuWiki doesn’t allow capital letters or spaces (or other special characters) in page names.
But that’s OK — I don’t mind — the main thing is that I have my page done now.
Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to this Section.
This links to [[help#cross-referencing|this Section]].
You can add footnotes 1) by using double parentheses.
You can add footnotes ((This is a footnote)) by using double parentheses.
You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically – this can be disabled by including the string ~~NOTOC~~ in the document.
==== Headline Level 3 ==== === Headline Level 4 === == Headline Level 5 ==
By using four or more dashes, you can make a horizontal line:
Add the following instruction to the bottom of the page you wish to add comments to
~~DISCUSSION|Comments~~
For more in-depth information on formatting visit https://www.dokuwiki.org/wiki:syntax