1 Date: Fri, 29 Dec 2006 10:18:48 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.13)
3 X-Rcs-Id: $Id: PhpWikiAdministration,v 1.41 2007-01-02 13:24:58 rurban Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=PhpWikiAdministration;
6 pgsrc_version="2 $Revision: 1.41 $";
10 Content-Transfer-Encoding: binary
12 _*Note:*_ _Most of the actions on this page require administrative
13 privileges. They will not work unless you have set an admin username and
14 password in the PhpWiki config file._
16 <?plugin CreateToc jshide||=1 with_toclink||=1 ?>
21 First select pages and then define the action:
23 <?plugin-form WikiAdminSelect s="*" ?>
25 or call the available ~WikiAdmin actions directly:
37 PhpWiki:EmailVerification is currently non-strict, leaving some possible holes, which can be
40 This button will show a list of all users with registered emails and buttons to set the
41 verification status manually.
43 <?plugin WikiAdminUtils
44 action=email-verification
45 label="Email Verification"
48 To prevent from robots eating all possible ressources in a short time, blocking from certain IPs
49 or not-well-behaving user agents can be defined below. See PhpWiki:HowToBlockRobots and
50 MeatBall:SurgeProtector. _Note: Not yet enabled._
52 <?plugin WikiAdminUtils
53 action=access-restrictions
54 label="Access Restrictions"
60 A Wiki SandBox is very easy to clean. Here you can restore it to
61 pristine condition by loading the default from pgsrc.
63 [Rake the SandBox|phpwiki:?action=loadfile&source=pgsrc/SandBox].
67 !!! Making Snapshots or Backups
69 !! ZIP files of database
71 These links lead to zip files, generated on the fly, which contain all
72 the pages in your Wiki. The zip file will be downloaded to your local
75 This *[ZIP Snapshot | phpwiki:?action=zip]* contains only the
76 latest versions of each page, while this *[ZIP Dump |
77 phpwiki:?action=zip&include=all]* contains all archived versions.
79 (If the PhpWiki is configured to allow it, anyone can download a zip
82 If your php has _zlib_ support, the files in the archive will be
83 compressed, otherwise they will just be stored.
87 Here you can dump pages of your Wiki into a directory of your choice.
89 <?plugin WikiForm action=dumpserial?>
91 The most recent version of each page will written out to the
92 directory, one page per file. Your server must have write permissions
98 If you have dumped a set of pages from PhpWiki, you can reload them
99 here. Note that pages in your database will be overwritten; thus, if
100 you dumped your HomePage when you load it from this form it will
101 overwrite the one in your database now. If you want to be selective
102 just delete the pages from the directory (or zip file) which you don't
107 Here you can upload ZIP archives, or individual files from your
110 <?plugin WikiForm action=upload?>
114 Here you can load ZIP archives, individual files or entire
115 directories. The file or directory must be local to the http
116 server. You can also use this form to load from an http: or ftp: URL.
118 <?plugin WikiForm action=loadfile?>
119 <?plugin WikiForm action=loadfile buttontext="Load & Overwrite" overwrite=1?>
123 Do some verification checks and upgrade changes automatically, after having installed a
124 new phpwiki engine update:
125 * Upgrade new or changed page revisions from pgsrc,
126 * Upgrade the database schema (mysql _page.id auto_increment_, ADD _session.sess_ip_),
128 ;:[ Upgrade | phpwiki:HomePage?action=upgrade ]
132 !!! Format of the files
134 Currently the pages are stored, one per file, as MIME (RFC:2045)
135 e-mail (RFC:822) messages. The content-type _application/x-phpwiki_
136 is used, and page meta-data is encoded in the content-type
137 parameters. (If the file contains several versions of a page, it will
138 have type _multipart/mixed_, and contain several sub-parts, each
139 with type _application/x-phpwiki_.) The message body contains the
146 The dump to directory command used to dump the pages as PHP
147 _serialized()_ strings. For humans, this made the files very hard
148 to read, and nearly impossible to edit.
152 Before that the page text was just dumped to a file--this means that
153 all page meta-data was lost. Note that when loading _plain files_,
154 the page name is deduced from the file name.
156 The upload and load functions will automatically recognize each of
157 these three types of files, and handle them accordingly.
161 !!! Dump pages as XHTML
163 <?plugin WikiForm action=dumphtml?>
165 This will generate a directory of static pages suitable for
166 distribution on disk where no web server is available. The various
167 links for page editing functions and navigation are removed from the
170 The XHTML file collection can also be downloaded as an
171 *[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]*.
175 !!! Phpwiki Internals
177 These are here mostly for debugging purposes (at least, that is the
180 In normal use, you should not need to use these, though, then again,
181 they should not really do any harm.
183 !! Purge Markup Cache
185 (If your wiki is so configured,) the transformed (almost-HTML) content
186 of the most recent version of each page is cached. This speeds up page
187 rendering since parsing of the wiki-text takes a fair amount of juice.
189 Hitting this button will delete all cached transformed
190 content. (Each pages content will be transformed and re-cached next
191 time someone views it.)
193 <?plugin WikiAdminUtils
195 label="Purge Markup Cache"
198 !! Clean WikiDB of Illegal Filenames
200 Page names beginning with the subpage-separator, usually a slash
201 (=/=), are not allowed. Sometimes though an errant plugin or something
204 This button will delete any pages with illegal page names, without possibility to restore.
206 <?plugin WikiAdminUtils
207 action=purge-bad-pagenames
208 label="Purge bad pagenames"
211 !! Clean WikiDB of empty and unreferenced pages
213 *Warning!* This button will delete every empty and unreferenced page, without any possibility to restore them again.
214 This will disable the possibility to revert or get back any deleted page.
216 <?plugin WikiAdminUtils
217 action=purge-empty-pages
218 label="Purge all empty unreferenced pages"
221 !! Convert cached_html to new SQL column
223 This is only needed on SQL or ADODB if you didn't do action=upgrade, but created the
224 new page.cached_html field seperately, and now you want to move this data from
225 page.pagedata over to page.cached_html.
227 <?plugin WikiAdminUtils
228 action=convert-cached-html
229 label="Convert cached_html"
235 This button will check the Wiki page database for consistency.
237 <?plugin WikiAdminUtils
244 This button will rebuild the Wiki backlink database on consistency errors.
246 <?plugin WikiAdminUtils
248 label="Rebuild WikiDB"