[dokuwiki] Re: wiki filesystem structure

  • From: Andreas Haerter <dokuwiki@xxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 05 Feb 2010 20:31:05 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don Shesnicky schrieb:
> I haven't got docuwiki installed

Simply install it, create a few pages and namespaces an look into
"/data/pages". The way DokuWiki stores data is really intuitive.


> what is the actual file structure
> under the wiki? Is there hierarchical directory based structure or is it
> some sort of flat file system?

All *current* content is located within "/data/pages". The other subdirs
of "/data" are needed to keep meta-data, old revisions etc..
To know:
- - Namespaces are represented as dirs
- - pages are represented as .txt-files.

Examples:
- - pageid "start" -> "/data/pages/start.txt"
- - pageid "example:foobar" -> "/data/pages/example/foobar.txt"

really nice cause you may use a simple texteditor to get the wikitext in
case of emergency - therefore dokuwiki may be the tool to use for
documenting even the setup of the webserver it runs on -> if the
webserver is down you are still able to access the needed
webserver-config-doc as raw data in an easy way... and because WikiText
is very readable and namespaces are directories, navigation & search is
easy.

BUT ATTENTION: don't move/edit data in "/data/pages/" when you don't
know *exactly* what you are doing. You may break the belonging meta-data
or something else.

- --
Best regards
Andreas

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktscfgACgkQkQNYqObGxVAPsQCfQZheM6V1uqsKFRog/2fjdn0e
n4MAmQHrl9IFWVsNaZrgFrMvz6RoEHQD
=HSej
-----END PGP SIGNATURE-----
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: