]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/PhpWikiAdministration
Update to new header format (again).
[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.14 2002-01-27 22:52:21 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 ! Log In
15
16 __[Log In | phpwiki:?action=login]__
17
18 This allows you to login.
19 While you are logged in you will be able to ''lock'', ''unlock'' and ''delete'' pages.
20 You will also be able to edit ''locked'' pages.
21
22 ----------
23 !! Cleanup
24 A Wiki SandBox is very easy to clean. Here you can restore it to pristine condition by loading the default from pgsrc:
25
26 [ Rake the SandBox | phpwiki:?action=loadfile&source=pgsrc/SandBox ].
27
28 ----------
29 !! Making Snapshots or Backups
30
31 ! ZIP files of database
32
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 computer.
35
36 This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the latest versions
37 of each page, while this __[ZIP Dump | phpwiki:?action=zip&include=all]__ contains all
38 archived versions.
39
40 (If the PhpWiki is configured to allow it,) anyone can download a zip file.
41
42 If your php has ''zlib'' support, the files in the archive will be compressed,
43 otherwise they will just be stored.
44
45 ! Dump to directory
46
47 Here you can dump pages of your Wiki into a directory of your choice.
48
49 [ Dump Pages | phpwiki:?action=dumpserial&directory=(/tmp/wikidump) ]
50
51 The most recent version of each page will written out to the
52 directory, one page per file.
53 Your server must have write permissions to the directory!
54
55 -----------
56 !! Restoring
57
58 If you have dumped a set of pages from PhpWiki, you can reload them here.
59 Note that pages in your database will be overwritten; thus, if you dumped
60 your HomePage when you load it from this form it will overwrite the one
61 in your database now. If you want to be selective just delete
62 the pages from the directory (or zip file) which you don't want to load.
63
64 ! Upload File
65
66 Here you can upload ZIP archives, or individual files from
67 your (client) machine.
68
69 [ Upload | phpwiki:?action=upload&file=50()upload ]
70
71 ! Load File
72
73 Here you can load ZIP archives, individual files or entire directories.
74 The file or directory must be local to the http server.
75 You can also use this form to load from an http: or ftp: URL.
76
77 [ Load | phpwiki:?action=loadfile&source=50(/tmp/wikidump) ]
78
79 -----------
80 !! Format of the files
81
82 Currently the pages are stored, one per
83 file, as MIME ([ RFC2045 | http://www.faqs.org/rfcs/rfc2045.html ]) e-mail
84 ([ RFC822 | http://www.faqs.org/rfcs/rfc822.html ]) messages.
85 The content-type ''application/x-phpwiki'' is used, and page meta-data
86 is encoded in the content-type parameters.
87 (If the file contains several versions of a page, it will have
88 type ''multipart/mixed'', and contain several sub-parts, each
89 with type ''application/x-phpwiki''.)
90 The message body contains the page text.
91
92 ! Old Formats
93
94 __Serialized Files__
95
96 The dump to directory command used to dump the pages as
97 php ''serialized()'' strings.  For humans, this made the files very hard
98 to read, and nearly impossible to edit.
99
100 __Plain Files__
101
102 Before that the page text was just dumped to a file--this means
103 that all page meta-data was lost. Note that when loading
104 ''plain files'', the page name is deduced from the file name.
105
106 The upload and load functions will automatically recognize each of these
107 three types of files, and handle them accordingly.
108 ----
109 PhpWikiDocumentation