]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/PhpWikiAdministration
Overwrite when raking the Sandbox
[SourceForge/phpwiki.git] / pgsrc / PhpWikiAdministration
1 Date: Sat, 11 Feb 2009 22:22:24 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=PhpWikiAdministration;
6   flags=PAGE_LOCKED;
7   markup=2;
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
11 **//Note://** //Most of the actions on this page require administrative privileges.//
12
13 <<CreateToc jshide||=0 with_toclink||=1 position=right with_counter=1>>
14
15 == Page Explorer
16
17 First select pages and then define the action:
18
19 <?plugin-form WikiAdminSelect s="*" ?>
20
21 or call the available ~WikiAdmin actions directly:
22
23 | [[/Chown]] | [[/Markup]] | [[/Purge]] | [[/Remove]] | [[/Rename]] | [[/SearchReplace]] | [[/SetAcl]]
24
25 == User Management
26
27 === Reset a users password
28
29 <?plugin-form PasswordReset textinput=user method=post ?>
30
31 === Email Verification
32
33 This is currently non-strict, leaving some possible holes in not being able to
34 connect to certain mail hosts, which can be overridden below. See [[PhpWiki:EmailVerification]].
35
36 This button will show a list of all users with registered emails and buttons to set the verification status manually.
37
38 <<WikiAdminUtils action=email-verification label="Email Verification">>
39
40 === Access Restrictions (disabled)
41
42 To prevent from robots eating all possible ressources in a short time, blocking from certain IPs
43 or not-well-behaving user agents can be defined below. See [[PhpWiki:HowToBlockRobots]] and
44 [[MeatBall:SurgeProtector]]. //Note: Not yet enabled.//
45
46 <<WikiAdminUtils action=access-restrictions label="Access Restrictions">>
47
48 == Cleanup
49
50 A Wiki SandBox is very easy to clean. Here you can restore it to
51 pristine condition by loading the default from pgsrc.
52
53 **[[phpwiki:?action=loadfile&overwrite=1&source=pgsrc/SandBox|Rake the SandBox]]**
54
55 == Making Snapshots or Backups
56
57 === ZIP files of database
58
59 These links lead to zip files, generated on the fly, which contain all
60 the pages in your Wiki. The zip file will be downloaded to your local
61 computer.
62
63 This **[[phpwiki:?action=zip|ZIP Snapshot]]** contains only the
64 latest versions of each page, while this **[[phpwiki:?action=zip&include=all|ZIP Dump]]** contains all archived versions.
65
66 (If the ~PhpWiki is configured to allow it, anyone can download a zip file.)
67
68 If your php has //zlib// support, the files in the archive will be compressed, otherwise they will just be stored.
69
70 === Dump to directory
71
72 Here you can dump pages of your Wiki into a directory of your choice.
73
74 <<WikiForm action=dumpserial>>
75
76 The most recent version of each page will written out to the directory, one page per file. Your server must have write permissions to the directory!
77
78 == Restoring
79
80 If you have dumped a set of pages from ~PhpWiki, you can reload them
81 here. Note that pages in your database will be overwritten; thus, if
82 you dumped your HomePage when you load it from this form it will
83 overwrite the one in your database now. If you want to be selective
84 just delete the pages from the directory (or zip file) which you don't
85 want to load.
86
87 === Upload File
88
89 Here you can upload ZIP archives, or individual files from your
90 (client) machine.
91
92 <<WikiForm action=upload>>
93
94 === Load File
95
96 Here you can load ZIP archives, individual files or entire
97 directories. The file or directory must be local to the http
98 server. You can also use this form to load from an http: or ftp: URL.
99
100 <<WikiForm action=loadfile>>
101 <<WikiForm action=loadfile buttontext="Load & Overwrite" overwrite=1>>
102
103 === Upgrade
104
105 Do some verification checks and upgrade changes automatically, after having installed a
106 new phpwiki engine update:
107 * Upgrade new or changed page revisions from pgsrc,
108 * Upgrade the database schema (mysql //page.id auto_increment//, ADD //session.sess_ip//),
109
110 Do the **[[phpwiki:HomePage?action=upgrade|Upgrade]]**
111
112 == Format of the files
113
114 === Current Format
115
116 Currently the pages are stored, one per file, as MIME (RFC:2045)
117 e-mail (RFC:822) messages. The content-type //application/x-phpwiki//
118 is used, and page meta-data is encoded in the content-type
119 parameters. (If the file contains several versions of a page, it will
120 have type //multipart/mixed//, and contain several sub-parts, each
121 with type //application/x-phpwiki//.)  The message body contains the
122 page text.
123
124 === Old Formats
125
126 ==== Serialized Files
127
128 The dump to directory command used to dump the pages as PHP
129 //serialized()// strings. For humans, this made the files very hard
130 to read, and nearly impossible to edit.
131
132 ==== Plain Files
133
134 Before that the page text was just dumped to a file--this means that
135 all page meta-data was lost. Note that when loading //plain files//,
136 the page name is deduced from the file name.
137
138 The upload and load functions will automatically recognize each of
139 these three types of files, and handle them accordingly.
140
141 == Dump pages as XHTML
142
143 <<WikiForm action=dumphtml>>
144
145 This will generate a directory of static pages suitable for
146 distribution on disk where no web server is available. The various
147 links for page editing functions and navigation are removed from the
148 pages.
149
150 The XHTML file collection can also be downloaded as an **[[phpwiki:?action=ziphtml|XHTML ZIP Snapshot]]**.
151
152 ----
153 [[CategoryActionPage]]