Table of Contents
Creating Namespaces
|
|
---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
Referring Images
{{image.jpg}}
Deleting namespaces
How to rename namespaces?
Manual way
Rename the folders that represent the namespace in: data/pages data/media (if this exists)
Remove metadata for the namespace under data/meta Remove attic data for the namespace under data/attic (or move that over as well, if you want to preserve old versions)
mv /dokuwiki_base/data/pages/old_namespace /dokuwiki_base/data/pages/new_namespace mv /dokuwiki_base/data/media/old_namespace /dokuwiki_base/data/media/new_namespace rm -Rf /dokuwiki_base/data/meta/old_namespace move: mv /dokuwiki_base/data/attic/old_namespace /dokuwiki_base/data/attic/new_namespace
or remove: rm -Rf /dokuwiki_base/data/attic/old_namespace
Correct (by editing them) all the links to the pages under the moved namespace (you can discover those before moving the namespace by reviewing each page's backlinks ).
Browse each and every page under the new namespace. This will create the missing indexing information and metadata for the pages under the moved namespace.
cat /dev/null > /dokuwiki_base/data/changes.log rm -Rf /dokuwiki_base/data/attic/* rm -Rf /dokuwiki_base/data/cache/? rm -Rf /dokuwiki_base/data/cache/*.idx rm -Rf /dokuwiki_base/data/cache/purgefile Browse each and every page of your Wiki.
Namespace Default Linking
foo:bar:$conf['start'] foo:bar:bar foo:bar