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