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