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