This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Implemented
FS#297 Relative "in page" links in wikitext to generate relative "in page" links in HTML
Syntax
2005-04-30
In specifying a link in wikitext, the "." may be used to indicate that the target is relative rather than absolute. In addition, in wikitext a "#" may be used to refer to a heading within a page. However these can not be combined to make a relative link to a heading in the same page (eg [[.#Introduction|Introduction]] ) - it is necessary to give a page name before the "#". The impact of specifying a page name in the link is that the resulting HTML "href=" tag is absolute and causes a page fetch.
Ideally the result of converting :
[[.#Introduction|Introduction]]
would be:
<a href="#introduction">Introduction</a>
which wouold not cause a round-trip to the server.
2005-05-04Esther
That's something I miss too.
I propose that [[#Introduction]] or [[#a multi-word heading]] should be enough to create links like <a href="#introduction">Introduction</a> or <a href="#a_multi-word_heading">a multi-word heading</a>.