[dokuwiki] How to add a new relative link syntax to the 'pagespace'?

  • From: MrBertie <hendrybadao@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 09 Jan 2008 19:05:53 +0300

Evening All,

    I would like to extend the current relative internal link syntax.  Currently one can type in:

    [[ . : newlink]]  and the parser will insert the current namespace in place of the ' . ' before the colon. 

    I would like to a the option of two ' . 's, to insert a new namespace based on the current page name, i.e.  [[ . . : newlink]]  would become  [[current_namespace:current_pagename:newlink]].  Handy when the current page is the start of a new namespace.

    Where would be the best place to start, as my knowledge of Dokuwiki is still very meagre!

Thanks for any help,
MrBertie
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: