1 Date: Sun, 27 Jan 2002 17:28:55 -0500
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks)
3 X-Rcs-Id: $Id: PhpWikiAdministration,v 1.14 2002-01-27 22:52:21 carstenklapp Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=PhpWikiAdministration;
8 Content-Transfer-Encoding: binary
10 __Note__: Most of the actions on this page require administrative privileges.
11 They won't work unless you have set an admin username and password in the PhpWiki config file.
16 __[Log In | phpwiki:?action=login]__
18 This allows you to login.
19 While you are logged in you will be able to ''lock'', ''unlock'' and ''delete'' pages.
20 You will also be able to edit ''locked'' pages.
24 A Wiki SandBox is very easy to clean. Here you can restore it to pristine condition by loading the default from pgsrc:
26 [ Rake the SandBox | phpwiki:?action=loadfile&source=pgsrc/SandBox ].
29 !! Making Snapshots or Backups
31 ! ZIP files of database
33 These links lead to zip files, generated on the fly, which contain all
34 the pages in your Wiki. The zip file will be downloaded to your local computer.
36 This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the latest versions
37 of each page, while this __[ZIP Dump | phpwiki:?action=zip&include=all]__ contains all
40 (If the PhpWiki is configured to allow it,) anyone can download a zip file.
42 If your php has ''zlib'' support, the files in the archive will be compressed,
43 otherwise they will just be stored.
47 Here you can dump pages of your Wiki into a directory of your choice.
49 [ Dump Pages | phpwiki:?action=dumpserial&directory=(/tmp/wikidump) ]
51 The most recent version of each page will written out to the
52 directory, one page per file.
53 Your server must have write permissions to the directory!
58 If you have dumped a set of pages from PhpWiki, you can reload them here.
59 Note that pages in your database will be overwritten; thus, if you dumped
60 your HomePage when you load it from this form it will overwrite the one
61 in your database now. If you want to be selective just delete
62 the pages from the directory (or zip file) which you don't want to load.
66 Here you can upload ZIP archives, or individual files from
67 your (client) machine.
69 [ Upload | phpwiki:?action=upload&file=50()upload ]
73 Here you can load ZIP archives, individual files or entire directories.
74 The file or directory must be local to the http server.
75 You can also use this form to load from an http: or ftp: URL.
77 [ Load | phpwiki:?action=loadfile&source=50(/tmp/wikidump) ]
80 !! Format of the files
82 Currently the pages are stored, one per
83 file, as MIME ([ RFC2045 | http://www.faqs.org/rfcs/rfc2045.html ]) e-mail
84 ([ RFC822 | http://www.faqs.org/rfcs/rfc822.html ]) messages.
85 The content-type ''application/x-phpwiki'' is used, and page meta-data
86 is encoded in the content-type parameters.
87 (If the file contains several versions of a page, it will have
88 type ''multipart/mixed'', and contain several sub-parts, each
89 with type ''application/x-phpwiki''.)
90 The message body contains the page text.
96 The dump to directory command used to dump the pages as
97 php ''serialized()'' strings. For humans, this made the files very hard
98 to read, and nearly impossible to edit.
102 Before that the page text was just dumped to a file--this means
103 that all page meta-data was lost. Note that when loading
104 ''plain files'', the page name is deduced from the file name.
106 The upload and load functions will automatically recognize each of these
107 three types of files, and handle them accordingly.