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