]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/PhpWikiAdministration
SearchReplace button did not work in WikiAdminSelect
[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 <?plugin 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 <?plugin WikiAdminUtils
39          action=email-verification
40          label="Email Verification"
41 ?>
42
43 === Access Restrictions (disabled)
44
45 To prevent from robots eating all possible ressources in a short time, blocking from certain IPs
46 or not-well-behaving user agents can be defined below. See [PhpWiki:HowToBlockRobots] and
47 [MeatBall:SurgeProtector]. _Note: Not yet enabled._
48
49 <?plugin WikiAdminUtils
50          action=access-restrictions
51          label="Access Restrictions"
52 ?>
53
54 == Cleanup
55
56 A Wiki SandBox is very easy to clean. Here you can restore it to
57 pristine condition by loading the default from pgsrc.
58
59 [Rake the SandBox|phpwiki:?action=loadfile&source=pgsrc/SandBox].
60
61 == Making Snapshots or Backups
62
63 === ZIP files of database
64
65 These links lead to zip files, generated on the fly, which contain all
66 the pages in your Wiki. The zip file will be downloaded to your local
67 computer.
68
69 This *[ZIP Snapshot | phpwiki:?action=zip]* contains only the
70 latest versions of each page, while this *[ZIP Dump | phpwiki:?action=zip&include=all]* contains all archived versions.
71
72 (If the [PhpWiki|PhpWiki:PhpWiki] is configured to allow it, anyone can download a zip file.)
73
74 If your php has _zlib_ support, the files in the archive will be compressed, otherwise they will just be stored.
75
76 === Dump to directory
77
78 Here you can dump pages of your Wiki into a directory of your choice.
79
80 <?plugin WikiForm action=dumpserial?>
81
82 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!
83
84 == Restoring
85
86 If you have dumped a set of pages from [PhpWiki|PhpWiki:PhpWiki], you can reload them
87 here. Note that pages in your database will be overwritten; thus, if
88 you dumped your HomePage when you load it from this form it will
89 overwrite the one in your database now. If you want to be selective
90 just delete the pages from the directory (or zip file) which you don't
91 want to load.
92
93 === Upload File
94
95 Here you can upload ZIP archives, or individual files from your
96 (client) machine.
97
98 <?plugin WikiForm action=upload?>
99
100 === Load File
101
102 Here you can load ZIP archives, individual files or entire
103 directories. The file or directory must be local to the http
104 server. You can also use this form to load from an http: or ftp: URL.
105
106 <?plugin WikiForm action=loadfile?>
107 <?plugin WikiForm action=loadfile buttontext="Load & Overwrite" overwrite=1?>
108
109 === Upgrade
110
111 Do some verification checks and upgrade changes automatically, after having installed a
112 new phpwiki engine update:
113 * Upgrade new or changed page revisions from pgsrc,
114 * Upgrade the database schema (mysql _page.id auto_increment_, ADD _session.sess_ip_),
115
116 [ Upgrade | phpwiki:HomePage?action=upgrade ]
117
118 == Format of the files
119
120 === Current Format
121
122 Currently the pages are stored, one per file, as MIME (RFC:2045)
123 e-mail (RFC:822) messages. The content-type _application/x-phpwiki_
124 is used, and page meta-data is encoded in the content-type
125 parameters. (If the file contains several versions of a page, it will
126 have type _multipart/mixed_, and contain several sub-parts, each
127 with type _application/x-phpwiki_.)  The message body contains the
128 page text.
129
130 === Old Formats
131
132 ==== Serialized Files
133
134 The dump to directory command used to dump the pages as PHP
135 _serialized()_ strings. For humans, this made the files very hard
136 to read, and nearly impossible to edit.
137
138 ==== Plain Files
139
140 Before that the page text was just dumped to a file--this means that
141 all page meta-data was lost. Note that when loading _plain files_,
142 the page name is deduced from the file name.
143
144 The upload and load functions will automatically recognize each of
145 these three types of files, and handle them accordingly.
146
147 == Dump pages as XHTML
148
149 <?plugin WikiForm action=dumphtml?>
150
151 This will generate a directory of static pages suitable for
152 distribution on disk where no web server is available. The various
153 links for page editing functions and navigation are removed from the
154 pages.
155
156 The XHTML file collection can also be downloaded as an *[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]*.
157
158 ----
159 [CategoryActionPage]