1 From hostmaster@dairiki.org Sun Jan 6 22:07:14 2002
2 Subject: PhpWikiAdministration
3 From: hostmaster@dairiki.org (PhpWiki)
4 Date: Sun, 6 Jan 2002 22:07:14 -0500
5 Mime-Version: 1.0 (Produced by PhpWiki 1.1.x)
6 Content-Type: application/x-phpwiki;
7 pagename=PhpWikiAdministration;
9 Content-Transfer-Encoding: binary
11 __Note__: Most of the actions on this page require administrative privileges.
12 They won't work unless you have set an admin username and password in the PhpWiki config file.
17 __[Log In | phpwiki:?action=login]__
19 This allows you to login.
20 While you are logged in you will be able to ''lock'', ''unlock'' and ''delete'' pages.
21 You will also be able edit ''locked'' pages.
25 A Wiki SandBox is very easy to clean. Here you can restore it to pristine condition by loading the default from pgsrc:
27 [ Rake the SandBox | phpwiki:?action=loadfile&source=pgsrc/SandBox ].
31 !! Making Snapshots or Backups
33 ! ZIP files of database
35 These links lead to zip files, generated on the fly, which contain all
36 the pages in your Wiki. The zip file will be downloaded to your local computer.
38 This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the latest versions
39 of each page, while this __[ZIP Dump | phpwiki:?action=zip&include=all]__ contains all
42 (If the PhpWiki is configured to allow it,) anyone can download a zip file.
44 If your php has ''zlib'' support, the files in the archive will be compressed,
45 otherwise they will just be stored.
49 Here you can dump pages of your Wiki into a directory of your choice.
51 [ Dump Pages | phpwiki:?action=dumpserial&directory=(/tmp/wikidump) ]
53 The most recent version of each page will written out to the
54 directory, one page per file.
55 Your server must have write permissions to the directory!
61 If you have dumped a set of pages from PhpWiki, you can reload them here.
62 Note that pages in your database will be overwritten; thus, if you dumped
63 your HomePage when you load it from this form it will overwrite the one
64 in your database now. If you want to be selective just delete
65 the pages from the directory (or zip file) which you don't want to load.
69 Here you can upload ZIP archives, or individual files from
70 your (client) machine.
72 [ Upload | phpwiki:?action=upload&file=50()upload ]
76 Here you can load ZIP archives, individual files or entire directories.
77 The file or directory must be local to the http server.
78 You can also use this form to load from an http: or ftp: URL.
80 [ Load | phpwiki:?action=loadfile&source=50(/tmp/wikidump) ]
84 !! Format of the files
86 Currently the pages are stored, one per
87 file, as MIME ([ RFC2045 | http://www.faqs.org/rfcs/rfc2045.html ]) e-mail
88 ([ RFC822 | http://www.faqs.org/rfcs/rfc822.html ]) messages.
89 The content-type ''application/x-phpwiki'' is used, and page meta-data
90 is encoded in the content-type parameters.
91 (If the file contains several versions of a page, it will have
92 type ''multipart/mixed'', and contain several sub-parts, each
93 with type ''application/x-phpwiki''.)
94 The message body contains the page text.
100 The dump to directory command used to dump the pages as
101 php ''serialized()'' strings. For humans, this made the files very hard
102 to read, and nearly impossible to edit.
106 Before that the page text was just dumped to a file --- this means
107 that all page meta-data was lost.
109 The upload and load functions will automatically recognize each of these
110 three types of files, and handle them accordingly.
111 Note that when loading ''plain files'', the page name is deduced from the