Use the first heading as page name in DokuWiki

By default the text of the links that point to DokuWiki pages is the same as the page name, which is something likeĀ use_heading_as_page_name.

This is not too readable. Luckily DokuWiki provides a configuration option that lets you change this behaviour.

Open conf/local.php and add the following row to it:

$conf['useheading'] = 1;

The result of this setting is that the text of all links that point to DokuWiki pages will now be the same as the first heading of the page.