1 Date: Sat, 11 Feb 2009 22:22:24 +0100
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 privileges._
13 <?plugin CreateToc jshide||=0 with_toclink||=1 position=right with_counter=1 ?>
17 First select pages and then define the action:
19 <?plugin-form WikiAdminSelect s="*" ?>
21 or call the available ~WikiAdmin actions directly:
23 | [/Chown] | [/Markup] | [/Purge] | [/Remove] | [/Rename] | [/SearchReplace] | [/SetAcl]
27 === Reset a users password
29 <?plugin-form PasswordReset textinput=user method=post ?>
31 === Email Verification
33 This is currently non-strict, leaving some possible holes in not being able to
34 connect to certain mail hosts, which can be overridden below. See [PhpWiki:EmailVerification].
36 This button will show a list of all users with registered emails and buttons to set the verification status manually.
38 <?plugin WikiAdminUtils
39 action=email-verification
40 label="Email Verification"
43 === Access Restrictions (disabled)
45 To prevent from robots eating all possible ressources in a short time, blocking from certain IPs
46 or not-well-behaving user agents can be defined below. See [PhpWiki:HowToBlockRobots] and
47 [MeatBall:SurgeProtector]. _Note: Not yet enabled._
49 <?plugin WikiAdminUtils
50 action=access-restrictions
51 label="Access Restrictions"
56 A Wiki SandBox is very easy to clean. Here you can restore it to
57 pristine condition by loading the default from pgsrc.
59 [Rake the SandBox|phpwiki:?action=loadfile&source=pgsrc/SandBox].
61 == Making Snapshots or Backups
63 === ZIP files of database
65 These links lead to zip files, generated on the fly, which contain all
66 the pages in your Wiki. The zip file will be downloaded to your local
69 This *[ZIP Snapshot | phpwiki:?action=zip]* contains only the
70 latest versions of each page, while this *[ZIP Dump | phpwiki:?action=zip&include=all]* contains all archived versions.
72 (If the [PhpWiki|PhpWiki:PhpWiki] is configured to allow it, anyone can download a zip file.)
74 If your php has _zlib_ support, the files in the archive will be compressed, otherwise they will just be stored.
78 Here you can dump pages of your Wiki into a directory of your choice.
80 <?plugin WikiForm action=dumpserial?>
82 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!
86 If you have dumped a set of pages from [PhpWiki|PhpWiki:PhpWiki], you can reload them
87 here. Note that pages in your database will be overwritten; thus, if
88 you dumped your HomePage when you load it from this form it will
89 overwrite the one in your database now. If you want to be selective
90 just delete the pages from the directory (or zip file) which you don't
95 Here you can upload ZIP archives, or individual files from your
98 <?plugin WikiForm action=upload?>
102 Here you can load ZIP archives, individual files or entire
103 directories. The file or directory must be local to the http
104 server. You can also use this form to load from an http: or ftp: URL.
106 <?plugin WikiForm action=loadfile?>
107 <?plugin WikiForm action=loadfile buttontext="Load & Overwrite" overwrite=1?>
111 Do some verification checks and upgrade changes automatically, after having installed a
112 new phpwiki engine update:
113 * Upgrade new or changed page revisions from pgsrc,
114 * Upgrade the database schema (mysql _page.id auto_increment_, ADD _session.sess_ip_),
116 [ Upgrade | phpwiki:HomePage?action=upgrade ]
118 == Format of the files
122 Currently the pages are stored, one per file, as MIME (RFC:2045)
123 e-mail (RFC:822) messages. The content-type _application/x-phpwiki_
124 is used, and page meta-data is encoded in the content-type
125 parameters. (If the file contains several versions of a page, it will
126 have type _multipart/mixed_, and contain several sub-parts, each
127 with type _application/x-phpwiki_.) The message body contains the
132 ==== Serialized Files
134 The dump to directory command used to dump the pages as PHP
135 _serialized()_ strings. For humans, this made the files very hard
136 to read, and nearly impossible to edit.
140 Before that the page text was just dumped to a file--this means that
141 all page meta-data was lost. Note that when loading _plain files_,
142 the page name is deduced from the file name.
144 The upload and load functions will automatically recognize each of
145 these three types of files, and handle them accordingly.
147 == Dump pages as XHTML
149 <?plugin WikiForm action=dumphtml?>
151 This will generate a directory of static pages suitable for
152 distribution on disk where no web server is available. The various
153 links for page editing functions and navigation are removed from the
156 The XHTML file collection can also be downloaded as an *[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]*.