1 Date: Mon, 25 Feb 2002 11:04:00 -0500
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.3-jeffs-hacks)
3 X-Rcs-Id: $Id: PhpWikiAdministration,v 1.18 2002-02-25 16:07:36 carstenklapp Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=PhpWikiAdministration;
7 pgsrc_version="2 $Revision: 1.18 $";
10 Content-Transfer-Encoding: binary
12 __Note__: Most of the actions on this page require administrative privileges.
13 They won't work unless you have set an admin username and password in the PhpWiki config file.
17 A Wiki SandBox is very easy to clean. Here you can restore it to pristine condition by loading the default from pgsrc:
19 [ Rake the SandBox | phpwiki:?action=loadfile&source=pgsrc/SandBox ].
22 !! Making Snapshots or Backups
24 ! ZIP files of database
26 These links lead to zip files, generated on the fly, which contain all
27 the pages in your Wiki. The zip file will be downloaded to your local computer.
29 This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the latest versions
30 of each page, while this __[ZIP Dump | phpwiki:?action=zip&include=all]__ contains all
33 (If the PhpWiki is configured to allow it,) anyone can download a zip file.
35 If your php has ''zlib'' support, the files in the archive will be compressed,
36 otherwise they will just be stored.
40 Here you can dump pages of your Wiki into a directory of your choice.
42 <?plugin WikiForm action=dumpserial?>
44 The most recent version of each page will written out to the
45 directory, one page per file.
46 Your server must have write permissions to the directory!
51 If you have dumped a set of pages from PhpWiki, you can reload them here.
52 Note that pages in your database will be overwritten; thus, if you dumped
53 your HomePage when you load it from this form it will overwrite the one
54 in your database now. If you want to be selective just delete
55 the pages from the directory (or zip file) which you don't want to load.
59 Here you can upload ZIP archives, or individual files from
60 your (client) machine.
62 <?plugin WikiForm action=upload?>
66 Here you can load ZIP archives, individual files or entire directories.
67 The file or directory must be local to the http server.
68 You can also use this form to load from an http: or ftp: URL.
70 <?plugin WikiForm action=loadfile?>
73 !! Format of the files
75 Currently the pages are stored, one per file, as MIME (RFC:2045)
76 e-mail (RFC:822) messages.
77 The content-type ''application/x-phpwiki'' is used, and page meta-data
78 is encoded in the content-type parameters.
79 (If the file contains several versions of a page, it will have
80 type ''multipart/mixed'', and contain several sub-parts, each
81 with type ''application/x-phpwiki''.)
82 The message body contains the page text.
88 The dump to directory command used to dump the pages as
89 php ''serialized()'' strings. For humans, this made the files very hard
90 to read, and nearly impossible to edit.
94 Before that the page text was just dumped to a file--this means
95 that all page meta-data was lost. Note that when loading
96 ''plain files'', the page name is deduced from the file name.
98 The upload and load functions will automatically recognize each of these
99 three types of files, and handle them accordingly.
101 !! Dump pages as XHTML
102 <?plugin WikiForm action=dumphtml?>
104 This will generate a directory of static pages suitable for distribution on disk where no web server is available. The various links for page editing functions and navigation are removed from the pages.
106 The XHTML file collection can also be downloaded as an __[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]__.