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