[dokuwiki] Re: Global start page patch

  • From: Anika Henke <a.c.henke@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 28 Dec 2005 18:15:33 +0100

Hallo!

    With the patch applied and $conf['globalstart'] = 1 :
    ------------------------------------------------------------
      Requested page      Action     Target
    ------------------------------------------------------------
      id=                 Show       start.txt
      id=project/start    Show       project/start.txt
      id=project/         Show       project/start.txt
      id=project:         Show       project/start.txt
      id=project          Show       project/start.txt

Does that mean you could never have a target "project.txt" when there is a subdirectory "project"?


Any start.txt page existing inside a subdirectory of data/pages is
used as default page when the subdirectory is requested. This
default page is also returned when a requested subdirectory exists
but does not contain this $conf['start'] page.


What about empty subdirectories?
What about having already a file "foo.txt" and creating a "foo/bar.txt" afterwards? Am I right that with your patch, you could never reach the already written "foo.txt" again?


Anika

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

Other related posts: