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