1 Date: Wed, 26 Nov 2003 18:34:06 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.7pre)
3 X-Rcs-Id: $Id: PhpWikiAdministration,v 1.27 2004-04-01 08:05:52 rurban Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=PhpWikiAdministration;
6 pgsrc_version="2 $Revision: 1.27 $";
10 Content-Transfer-Encoding: binary
12 _*Note:*_ _Most of the actions on this page require administrative
13 privileges. They won't 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:
36 PhpWiki:EmailVerification is currently non-strict leaving some possible holes, which can be administrated below.
38 This button will show a list of all users with registered emails and buttons to set the verification status manually.
40 <?plugin WikiAdminUtils
41 action=email-verification
42 label="Email Verification"
45 To prevent from robots eating all possible ressources in a short time, blocking from certain IP's or not-well-behaving user agents can be defined below. See PhpWiki:HowToBlockRobots and MeatBall:SurgeProtector. _Note: Not yet enabled._
47 <?plugin WikiAdminUtils
48 action=access-restrictions
49 label="Access Restrictions"
55 A Wiki SandBox is very easy to clean. Here you can restore it to
56 pristine condition by loading the default from pgsrc.
58 [Rake the SandBox|phpwiki:?action=loadfile&source=pgsrc/SandBox].
62 !!! Making Snapshots or Backups
64 !! ZIP files of database
66 These links lead to zip files, generated on the fly, which contain all
67 the pages in your Wiki. The zip file will be downloaded to your local
70 This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the
71 latest versions of each page, while this __[ZIP Dump |
72 phpwiki:?action=zip&include=all]__ contains all archived versions.
74 (If the PhpWiki is configured to allow it, anyone can download a zip
77 If your php has ''zlib'' support, the files in the archive will be
78 compressed, otherwise they will just be stored.
82 Here you can dump pages of your Wiki into a directory of your choice.
84 <?plugin WikiForm action=dumpserial?>
86 The most recent version of each page will written out to the
87 directory, one page per file. Your server must have write permissions
93 If you have dumped a set of pages from PhpWiki, you can reload them
94 here. Note that pages in your database will be overwritten; thus, if
95 you dumped your HomePage when you load it from this form it will
96 overwrite the one in your database now. If you want to be selective
97 just delete the pages from the directory (or zip file) which you don't
102 Here you can upload ZIP archives, or individual files from your
105 <?plugin WikiForm action=upload?>
109 Here you can load ZIP archives, individual files or entire
110 directories. The file or directory must be local to the http
111 server. You can also use this form to load from an http: or ftp: URL.
113 <?plugin WikiForm action=loadfile?>
117 !!! Format of the files
119 Currently the pages are stored, one per file, as MIME (RFC:2045)
120 e-mail (RFC:822) messages. The content-type ''application/x-phpwiki''
121 is used, and page meta-data is encoded in the content-type
122 parameters. (If the file contains several versions of a page, it will
123 have type ''multipart/mixed'', and contain several sub-parts, each
124 with type ''application/x-phpwiki''.) The message body contains the
131 The dump to directory command used to dump the pages as PHP
132 ''serialized()'' strings. For humans, this made the files very hard
133 to read, and nearly impossible to edit.
137 Before that the page text was just dumped to a file--this means that
138 all page meta-data was lost. Note that when loading ''plain files'',
139 the page name is deduced from the file name.
141 The upload and load functions will automatically recognize each of
142 these three types of files, and handle them accordingly.
146 !!! Dump pages as XHTML
148 <?plugin WikiForm action=dumphtml?>
150 This will generate a directory of static pages suitable for
151 distribution on disk where no web server is available. The various
152 links for page editing functions and navigation are removed from the
155 The XHTML file collection can also be downloaded as an
156 __[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]__.
160 !!! Phpwiki Internals
162 These are here mostly for debugging purposes (at least, that's the
165 In normal use, you shouldn't need to use these, though, then again,
166 they shouldn't really do any harm.
168 !! Purge Markup Cache
170 (If your wiki is so configured,) the transformed (almost-HTML) content
171 of the most recent version of each page is cached. This speeds up page
172 rendering since parsing of the wiki-text takes a fair amount of juice.
174 Hitting this button will delete all cached transformed
175 content. (Each pages content will be transformed and re-cached next
176 time someone views it.)
178 <?plugin WikiAdminUtils
183 !! Clean WikiDB of Illegal Filenames
185 Page names beginning with the subpage-separator, usually a slash
186 (=/=), are not allowed. Sometimes though an errant plugin or something
189 This button will delete any pages with illegal page names.
191 <?plugin WikiAdminUtils
192 action=purge-bad-pagenames
193 label="Exorcise WikiDB"