1 Date: Mon, 10 Oct 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?>
19 First select pages and then define the action:
21 <?plugin-form WikiAdminSelect s="*" ?>
23 or call the available ~WikiAdmin actions directly:
34 Reset a users password:
36 <?plugin-form PasswordReset textinput=user method=post ?>
40 This is currently non-strict, leaving some possible holes in not being able to
41 connect to certain mail hosts, which can be overridden below. See PhpWiki:EmailVerification
43 This button will show a list of all users with registered emails and buttons to set the
44 verification status manually.
46 <?plugin WikiAdminUtils
47 action=email-verification
48 label="Email Verification"
51 Access Restrictions (disabled):
53 To prevent from robots eating all possible ressources in a short time, blocking from certain IPs
54 or not-well-behaving user agents can be defined below. See PhpWiki:HowToBlockRobots and
55 MeatBall:SurgeProtector. _Note: Not yet enabled._
57 <?plugin WikiAdminUtils
58 action=access-restrictions
59 label="Access Restrictions"
64 A Wiki SandBox is very easy to clean. Here you can restore it to
65 pristine condition by loading the default from pgsrc.
67 [Rake the SandBox|phpwiki:?action=loadfile&source=pgsrc/SandBox].
69 !!! Making Snapshots or Backups
71 !! ZIP files of database
73 These links lead to zip files, generated on the fly, which contain all
74 the pages in your Wiki. The zip file will be downloaded to your local
77 This *[ZIP Snapshot | phpwiki:?action=zip]* contains only the
78 latest versions of each page, while this *[ZIP Dump |
79 phpwiki:?action=zip&include=all]* contains all archived versions.
81 (If the [PhpWiki|PhpWiki:PhpWiki] is configured to allow it, anyone can download a zip
84 If your php has _zlib_ support, the files in the archive will be
85 compressed, otherwise they will just be stored.
89 Here you can dump pages of your Wiki into a directory of your choice.
91 <?plugin WikiForm action=dumpserial?>
93 The most recent version of each page will written out to the
94 directory, one page per file. Your server must have write permissions
99 If you have dumped a set of pages from [PhpWiki|PhpWiki:PhpWiki], you can reload them
100 here. Note that pages in your database will be overwritten; thus, if
101 you dumped your HomePage when you load it from this form it will
102 overwrite the one in your database now. If you want to be selective
103 just delete the pages from the directory (or zip file) which you don't
108 Here you can upload ZIP archives, or individual files from your
111 <?plugin WikiForm action=upload?>
115 Here you can load ZIP archives, individual files or entire
116 directories. The file or directory must be local to the http
117 server. You can also use this form to load from an http: or ftp: URL.
119 <?plugin WikiForm action=loadfile?>
120 <?plugin WikiForm action=loadfile buttontext="Load & Overwrite" overwrite=1?>
124 Do some verification checks and upgrade changes automatically, after having installed a
125 new phpwiki engine update:
126 * Upgrade new or changed page revisions from pgsrc,
127 * Upgrade the database schema (mysql _page.id auto_increment_, ADD _session.sess_ip_),
129 ;:[ Upgrade | phpwiki:HomePage?action=upgrade ]
131 !!! Format of the files
133 Currently the pages are stored, one per file, as MIME (RFC:2045)
134 e-mail (RFC:822) messages. The content-type _application/x-phpwiki_
135 is used, and page meta-data is encoded in the content-type
136 parameters. (If the file contains several versions of a page, it will
137 have type _multipart/mixed_, and contain several sub-parts, each
138 with type _application/x-phpwiki_.) The message body contains the
145 The dump to directory command used to dump the pages as PHP
146 _serialized()_ strings. For humans, this made the files very hard
147 to read, and nearly impossible to edit.
151 Before that the page text was just dumped to a file--this means that
152 all page meta-data was lost. Note that when loading _plain files_,
153 the page name is deduced from the file name.
155 The upload and load functions will automatically recognize each of
156 these three types of files, and handle them accordingly.
158 !!! Dump pages as XHTML
160 <?plugin WikiForm action=dumphtml?>
162 This will generate a directory of static pages suitable for
163 distribution on disk where no web server is available. The various
164 links for page editing functions and navigation are removed from the
167 The XHTML file collection can also be downloaded as an
168 *[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]*.