1 Date: Mon, 16 Jun 2008 14:15:24 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
4 Content-Type: application/x-phpwiki;
5 pagename=PhpWikiAdministration;
9 Content-Transfer-Encoding: binary
11 _*Note:*_ _Most of the actions on this page require administrative
12 privileges. They will not work unless you have set an admin username and
13 password in the [PhpWiki|PhpWiki:PhpWiki] config file._
15 <?plugin CreateToc jshide||=0 with_toclink||=1 liststyle=ul?>
20 First select pages and then define the action:
22 <?plugin-form WikiAdminSelect s="*" ?>
24 or call the available ~WikiAdmin actions directly:
36 Reset a users password:
38 <?plugin-form PasswordReset textinput=user method=post ?>
42 This is currently non-strict, leaving some possible holes in not being able to
43 connect to certain mail hosts, which can be overridden below. See PhpWiki:EmailVerification
45 This button will show a list of all users with registered emails and buttons to set the
46 verification status manually.
48 <?plugin WikiAdminUtils
49 action=email-verification
50 label="Email Verification"
53 Access Restrictions (disabled):
55 To prevent from robots eating all possible ressources in a short time, blocking from certain IPs
56 or not-well-behaving user agents can be defined below. See PhpWiki:HowToBlockRobots and
57 MeatBall:SurgeProtector. _Note: Not yet enabled._
59 <?plugin WikiAdminUtils
60 action=access-restrictions
61 label="Access Restrictions"
67 A Wiki SandBox is very easy to clean. Here you can restore it to
68 pristine condition by loading the default from pgsrc.
70 [Rake the SandBox|phpwiki:?action=loadfile&source=pgsrc/SandBox].
74 !!! Making Snapshots or Backups
76 !! ZIP files of database
78 These links lead to zip files, generated on the fly, which contain all
79 the pages in your Wiki. The zip file will be downloaded to your local
82 This *[ZIP Snapshot | phpwiki:?action=zip]* contains only the
83 latest versions of each page, while this *[ZIP Dump |
84 phpwiki:?action=zip&include=all]* contains all archived versions.
86 (If the [PhpWiki|PhpWiki:PhpWiki] is configured to allow it, anyone can download a zip
89 If your php has _zlib_ support, the files in the archive will be
90 compressed, otherwise they will just be stored.
94 Here you can dump pages of your Wiki into a directory of your choice.
96 <?plugin WikiForm action=dumpserial?>
98 The most recent version of each page will written out to the
99 directory, one page per file. Your server must have write permissions
105 If you have dumped a set of pages from [PhpWiki|PhpWiki:PhpWiki], you can reload them
106 here. Note that pages in your database will be overwritten; thus, if
107 you dumped your HomePage when you load it from this form it will
108 overwrite the one in your database now. If you want to be selective
109 just delete the pages from the directory (or zip file) which you don't
114 Here you can upload ZIP archives, or individual files from your
117 <?plugin WikiForm action=upload?>
121 Here you can load ZIP archives, individual files or entire
122 directories. The file or directory must be local to the http
123 server. You can also use this form to load from an http: or ftp: URL.
125 <?plugin WikiForm action=loadfile?>
126 <?plugin WikiForm action=loadfile buttontext="Load & Overwrite" overwrite=1?>
130 Do some verification checks and upgrade changes automatically, after having installed a
131 new phpwiki engine update:
132 * Upgrade new or changed page revisions from pgsrc,
133 * Upgrade the database schema (mysql _page.id auto_increment_, ADD _session.sess_ip_),
135 ;:[ Upgrade | phpwiki:HomePage?action=upgrade ]
139 !!! Format of the files
141 Currently the pages are stored, one per file, as MIME (RFC:2045)
142 e-mail (RFC:822) messages. The content-type _application/x-phpwiki_
143 is used, and page meta-data is encoded in the content-type
144 parameters. (If the file contains several versions of a page, it will
145 have type _multipart/mixed_, and contain several sub-parts, each
146 with type _application/x-phpwiki_.) The message body contains the
153 The dump to directory command used to dump the pages as PHP
154 _serialized()_ strings. For humans, this made the files very hard
155 to read, and nearly impossible to edit.
159 Before that the page text was just dumped to a file--this means that
160 all page meta-data was lost. Note that when loading _plain files_,
161 the page name is deduced from the file name.
163 The upload and load functions will automatically recognize each of
164 these three types of files, and handle them accordingly.
168 !!! Dump pages as XHTML
170 <?plugin WikiForm action=dumphtml?>
172 This will generate a directory of static pages suitable for
173 distribution on disk where no web server is available. The various
174 links for page editing functions and navigation are removed from the
177 The XHTML file collection can also be downloaded as an
178 *[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]*.
182 !!! Phpwiki Internals
184 These are here mostly for debugging purposes (at least, that is the
187 In normal use, you should not need to use these, though, then again,
188 they should not really do any harm.
192 (If your wiki is so configured,) the transformed (almost-HTML) content
193 of the most recent version of each page is cached. This speeds up page
194 rendering since parsing of the wiki-text takes a fair amount of juice.
196 Hitting this button will delete all cached transformed
197 content. (Each pages content will be transformed and re-cached next
198 time someone views it.)
200 <?plugin WikiAdminUtils
202 label="Purge Markup Cache"
205 Clean WikiDB of Illegal Filenames:
207 Page names beginning with the subpage-separator, usually a slash
208 (=/=), are not allowed. Sometimes though an errant plugin or something
211 This button will delete any pages with illegal page names, without possibility to restore.
213 <?plugin WikiAdminUtils
214 action=purge-bad-pagenames
215 label="Purge bad pagenames"
218 Clean WikiDB of empty and unreferenced pages:
220 *Warning!* This button will delete every empty and unreferenced page, without any possibility to restore them again.
221 This will disable the possibility to revert or get back any deleted page.
223 <?plugin WikiAdminUtils
224 action=purge-empty-pages
225 label="Purge all empty unreferenced pages"
228 Convert cached_html to new SQL column:
230 This is only needed on SQL or ADODB if you didn't do action=upgrade, but created the
231 new page.cached_html field seperately, and now you want to move this data from
232 page.pagedata over to page.cached_html.
234 <?plugin WikiAdminUtils
235 action=convert-cached-html
236 label="Convert cached_html"
242 This button will check the Wiki page database for consistency. This can last several minutes.
244 <?plugin WikiAdminUtils
251 This will retransform all pages and rebuild the Wiki database on consistency errors or parser updates.
252 This can last several minutes, eat a lot of memory and possibly times out!!
254 <?plugin WikiAdminUtils
256 label="Rebuild WikiDB"