]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/PhpWikiAdministration
typo
[SourceForge/phpwiki.git] / pgsrc / PhpWikiAdministration
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.17 2002-02-21 07:39:57 carstenklapp Exp $
4 Content-Type: application/x-phpwiki;
5   pagename=PhpWikiAdministration;
6   flags=PAGE_LOCKED;
7   pgsrc_version="2 $Revision: 1.17 $";
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
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.
13
14 ----------
15 !! Cleanup
16 A Wiki SandBox is very easy to clean. Here you can restore it to pristine condition by loading the default from pgsrc:
17
18 [ Rake the SandBox | phpwiki:?action=loadfile&source=pgsrc/SandBox ].
19
20 ----------
21 !! Making Snapshots or Backups
22
23 ! ZIP files of database
24
25 These links lead to zip files, generated on the fly, which contain all
26 the  pages in your Wiki.  The zip file will be downloaded to your local computer.
27
28 This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the latest versions
29 of each page, while this __[ZIP Dump | phpwiki:?action=zip&include=all]__ contains all
30 archived versions.
31
32 (If the PhpWiki is configured to allow it,) anyone can download a zip file.
33
34 If your php has ''zlib'' support, the files in the archive will be compressed,
35 otherwise they will just be stored.
36
37 ! Dump to directory
38
39 Here you can dump pages of your Wiki into a directory of your choice.
40
41 <?plugin WikiForm action=dumpserial?>
42
43 The most recent version of each page will written out to the
44 directory, one page per file.
45 Your server must have write permissions to the directory!
46
47 -----------
48 !! Restoring
49
50 If you have dumped a set of pages from PhpWiki, you can reload them here.
51 Note that pages in your database will be overwritten; thus, if you dumped
52 your HomePage when you load it from this form it will overwrite the one
53 in your database now. If you want to be selective just delete
54 the pages from the directory (or zip file) which you don't want to load.
55
56 ! Upload File
57
58 Here you can upload ZIP archives, or individual files from
59 your (client) machine.
60
61 <?plugin WikiForm action=upload?>
62
63 ! Load File
64
65 Here you can load ZIP archives, individual files or entire directories.
66 The file or directory must be local to the http server.
67 You can also use this form to load from an http: or ftp: URL.
68
69 <?plugin WikiForm action=loadfile?>
70
71 -----------
72 !! Format of the files
73
74 Currently the pages are stored, one per file, as MIME (RFC:2045)
75 e-mail (RFC:822) messages.
76 The content-type ''application/x-phpwiki'' is used, and page meta-data
77 is encoded in the content-type parameters.
78 (If the file contains several versions of a page, it will have
79 type ''multipart/mixed'', and contain several sub-parts, each
80 with type ''application/x-phpwiki''.)
81 The message body contains the page text.
82
83 ! Old Formats
84
85 __Serialized Files__
86
87 The dump to directory command used to dump the pages as
88 php ''serialized()'' strings.  For humans, this made the files very hard
89 to read, and nearly impossible to edit.
90
91 __Plain Files__
92
93 Before that the page text was just dumped to a file--this means
94 that all page meta-data was lost. Note that when loading
95 ''plain files'', the page name is deduced from the file name.
96
97 The upload and load functions will automatically recognize each of these
98 three types of files, and handle them accordingly.
99 ----
100 !! Dump pages as XHTML
101 <?plugin WikiForm action=dumphtml?>
102
103 This will generate a directory of static pages suitable for distribution on disk where no web server is available.
104 ----
105 PhpWikiDocumentation