documentation:pages

This is an old revision of the document!


Adding, editing and deleting pages

In DokuWiki, pages are created as in every other wiki. Simply create a link from an existing page to a non-existing page, follow this link, and click on Create this page (on right menu in the default template). This is the most common and recommended way. It ensures all your pages are linked together correctly and you don't create orphans (a site which is not linked on any other site) anywhere.

There's also a screencast available explaining it in detail.

Alternatives

There are some alternative ways as well:

  • You may enter the name of a new page directly in the search field, and click the “Search” button and can choose Create this page (on right menu in the default template) of the results page. The new page will be named after your query.
  • Of course you can also open a non-existing page by manually manipulating the URL in your Browser

NOTE: Make sure you properly link your newly created page from other pages, when using one of the alternative methods. Otherwise no one may find your page. (Though these pages may still be found by the Sitemap feature or through the search engine.)


Editing a page is done by clicking the Edit this page button (on right menu in the default template) unless the page is created.

The creation or editing of a page leads you to an edit window that enables you to enter wikitext. Editing a page consists in putting your text inside the edit area, and adding some markup to enhance its layout.

In order to help you in the editing process, a preview feature enables you to look at the formatted page before saving it.

Once your page does match your criteria, you hit the save button in order to save it. The page is then rendered into HTML, which is the standard output. Note that you can export this page into different formats if you wish.


If you save an empty page, then DokuWiki will delete the page, and the associated pagename. (Note that the attic remains.)