[dokuwiki] Re: wikiFN question

  • From: Oliver Geisen <oliver.geisen@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 9 Aug 2006 15:04:48 +0200

Hi,

It's a limitation of the function. It's relatively dumb and doesn't resolve ids. It only works with pages. If you need a directory of a namespace do it like that:

dirname(wikiFN("ns1:ns2:FOO"));
I already did, but thank you anyway...
If it's used only to resolve pages, not namespaces, it should give an error if last komponent is ':' because the result is not what the caller expect.


Oliver Geisen
_____________________________
Systemadministrator
Kreisboten Verlag Mühlfellner KG
82362 Weilheim i. Ob.
Tel. 0881/686-904
Fax 0881/686-74


-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: