1 Date: Mon, 22 Oct 2008 4: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 position=right with_counter=1 ?>
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 verification status manually.
45 <?plugin WikiAdminUtils
46 action=email-verification
47 label="Email Verification"
50 !! Access Restrictions (disabled)
52 To prevent from robots eating all possible ressources in a short time, blocking from certain IPs
53 or not-well-behaving user agents can be defined below. See [PhpWiki:HowToBlockRobots] and
54 [MeatBall:SurgeProtector]. _Note: Not yet enabled._
56 <?plugin WikiAdminUtils
57 action=access-restrictions
58 label="Access Restrictions"
63 A Wiki SandBox is very easy to clean. Here you can restore it to
64 pristine condition by loading the default from pgsrc.
66 [Rake the SandBox|phpwiki:?action=loadfile&source=pgsrc/SandBox].
68 !!! Making Snapshots or Backups
70 !! ZIP files of database
72 These links lead to zip files, generated on the fly, which contain all
73 the pages in your Wiki. The zip file will be downloaded to your local
76 This *[ZIP Snapshot | phpwiki:?action=zip]* contains only the
77 latest versions of each page, while this *[ZIP Dump | phpwiki:?action=zip&include=all]* contains all archived versions.
79 (If the [PhpWiki|PhpWiki:PhpWiki] is configured to allow it, anyone can download a zip file.)
81 If your php has _zlib_ support, the files in the archive will be compressed, otherwise they will just be stored.
85 Here you can dump pages of your Wiki into a directory of your choice.
87 <?plugin WikiForm action=dumpserial?>
89 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!
93 If you have dumped a set of pages from [PhpWiki|PhpWiki: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?>
114 <?plugin WikiForm action=loadfile buttontext="Load & Overwrite" overwrite=1?>
118 Do some verification checks and upgrade changes automatically, after having installed a
119 new phpwiki engine update:
120 * Upgrade new or changed page revisions from pgsrc,
121 * Upgrade the database schema (mysql _page.id auto_increment_, ADD _session.sess_ip_),
123 [ Upgrade | phpwiki:HomePage?action=upgrade ]
125 !!! Format of the files
129 Currently the pages are stored, one per file, as MIME (RFC:2045)
130 e-mail (RFC:822) messages. The content-type _application/x-phpwiki_
131 is used, and page meta-data is encoded in the content-type
132 parameters. (If the file contains several versions of a page, it will
133 have type _multipart/mixed_, and contain several sub-parts, each
134 with type _application/x-phpwiki_.) The message body contains the
141 The dump to directory command used to dump the pages as PHP
142 _serialized()_ strings. For humans, this made the files very hard
143 to read, and nearly impossible to edit.
147 Before that the page text was just dumped to a file--this means that
148 all page meta-data was lost. Note that when loading _plain files_,
149 the page name is deduced from the file name.
151 The upload and load functions will automatically recognize each of
152 these three types of files, and handle them accordingly.
154 !!! Dump pages as XHTML
156 <?plugin WikiForm action=dumphtml?>
158 This will generate a directory of static pages suitable for
159 distribution on disk where no web server is available. The various
160 links for page editing functions and navigation are removed from the
163 The XHTML file collection can also be downloaded as an *[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]*.