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