1 Date: Tue, 20 Aug 2002 11:04:00 -0500
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.3)
3 X-Rcs-Id: $Id: PhpWikiAdministration,v 1.19 2002-08-20 22:30:02 rurban Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=PhpWikiAdministration;
7 pgsrc_version="3 $Revision: 1.19 $";
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 ].
21 [/Remove] multiple pages.
24 !! Making Snapshots or Backups
26 ! ZIP files of database
28 These links lead to zip files, generated on the fly, which contain all
29 the pages in your Wiki. The zip file will be downloaded to your local computer.
31 This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the latest versions
32 of each page, while this __[ZIP Dump | phpwiki:?action=zip&include=all]__ contains all
35 (If the PhpWiki is configured to allow it,) anyone can download a zip file.
37 If your php has ''zlib'' support, the files in the archive will be compressed,
38 otherwise they will just be stored.
42 Here you can dump pages of your Wiki into a directory of your choice.
44 <?plugin WikiForm action=dumpserial?>
46 The most recent version of each page will written out to the
47 directory, one page per file.
48 Your server must have write permissions to the directory!
53 If you have dumped a set of pages from PhpWiki, you can reload them here.
54 Note that pages in your database will be overwritten; thus, if you dumped
55 your HomePage when you load it from this form it will overwrite the one
56 in your database now. If you want to be selective just delete
57 the pages from the directory (or zip file) which you don't want to load.
61 Here you can upload ZIP archives, or individual files from
62 your (client) machine.
64 <?plugin WikiForm action=upload?>
68 Here you can load ZIP archives, individual files or entire directories.
69 The file or directory must be local to the http server.
70 You can also use this form to load from an http: or ftp: URL.
72 <?plugin WikiForm action=loadfile?>
75 !! Format of the files
77 Currently the pages are stored, one per file, as MIME (RFC:2045)
78 e-mail (RFC:822) messages.
79 The content-type ''application/x-phpwiki'' is used, and page meta-data
80 is encoded in the content-type parameters.
81 (If the file contains several versions of a page, it will have
82 type ''multipart/mixed'', and contain several sub-parts, each
83 with type ''application/x-phpwiki''.)
84 The message body contains the page text.
90 The dump to directory command used to dump the pages as
91 php ''serialized()'' strings. For humans, this made the files very hard
92 to read, and nearly impossible to edit.
96 Before that the page text was just dumped to a file--this means
97 that all page meta-data was lost. Note that when loading
98 ''plain files'', the page name is deduced from the file name.
100 The upload and load functions will automatically recognize each of these
101 three types of files, and handle them accordingly.
103 !! Dump pages as XHTML
104 <?plugin WikiForm action=dumphtml?>
106 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.
108 The XHTML file collection can also be downloaded as an __[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]__.