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.20 2002-11-25 19:44:02 dairiki Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=PhpWikiAdministration;
7 pgsrc_version="3 $Revision: 1.20 $";
10 Content-Transfer-Encoding: binary
12 __Note__: Most of the actions on this page require administrative
13 privileges. They won't work unless you have set an admin username and
14 password in the PhpWiki config file.
20 A Wiki SandBox is very easy to clean. Here you can restore it to
21 pristine condition by loading the default from pgsrc:
23 [ Rake the SandBox | phpwiki:?action=loadfile&source=pgsrc/SandBox ].
25 [/Remove] multiple pages.
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
37 This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the latest
38 versions of each page, while this
39 __[ZIP Dump | phpwiki:?action=zip&include=all]__ contains all archived
42 (If the PhpWiki is configured to allow it,) anyone can download a zip
45 If your php has ''zlib'' support, the files in the archive will be
46 compressed, otherwise they will just be stored.
50 Here you can dump pages of your Wiki into a directory of your choice.
52 <?plugin WikiForm action=dumpserial?>
54 The most recent version of each page will written out to the
55 directory, one page per file. Your server must have write permissions
61 If you have dumped a set of pages from PhpWiki, you can reload them
62 here. Note that pages in your database will be overwritten; thus, if
63 you dumped your HomePage when you load it from this form it will
64 overwrite the one in your database now. If you want to be selective
65 just delete the pages from the directory (or zip file) which you don't
70 Here you can upload ZIP archives, or individual files from your
73 <?plugin WikiForm action=upload?>
77 Here you can load ZIP archives, individual files or entire
78 directories. The file or directory must be local to the http server.
79 You can also use this form to load from an http: or ftp: URL.
81 <?plugin WikiForm action=loadfile?>
85 !! Format of the files
87 Currently the pages are stored, one per file, as MIME (RFC:2045)
88 e-mail (RFC:822) messages. The content-type ''application/x-phpwiki''
89 is used, and page meta-data is encoded in the content-type parameters.
90 (If the file contains several versions of a page, it will have type
91 ''multipart/mixed'', and contain several sub-parts, each with type
92 ''application/x-phpwiki''.) The message body contains the page text.
98 The dump to directory command used to dump the pages as PHP
99 ''serialized()'' strings. For humans, this made the files very hard
100 to read, and nearly impossible to edit.
104 Before that the page text was just dumped to a file--this means that
105 all page meta-data was lost. Note that when loading ''plain files'',
106 the page name is deduced from the file name.
108 The upload and load functions will automatically recognize each of
109 these three types of files, and handle them accordingly.
113 !! Dump pages as XHTML
114 <?plugin WikiForm action=dumphtml?>
116 This will generate a directory of static pages suitable for
117 distribution on disk where no web server is available. The various
118 links for page editing functions and navigation are removed from the
121 The XHTML file collection can also be downloaded as an
122 __[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]__.