Update of /cvsroot/phpwiki/phpwiki/pgsrc In directory sc8-pr-cvs1:/tmp/cvs-serv19115 Modified Files: PhpWikiAdministration Log Message: Added table of contents with named anchors and reverse anchors. Text reformatting. Index: PhpWikiAdministration =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/pgsrc/PhpWikiAdministration,v retrieving revision 1.21 retrieving revision 1.22 diff -u -2 -b -p -d -r1.21 -r1.22 --- PhpWikiAdministration 21 Feb 2003 04:14:15 -0000 1.21 +++ PhpWikiAdministration 26 Nov 2003 17:38:18 -0000 1.22 @@ -1,33 +1,41 @@ -Date: 2002年8月20日 11:04:00 -0500 -Mime-Version: 1.0 (Produced by PhpWiki 1.3.3) +Date: 2003年11月26日 18:34:06 +0100 +Mime-Version: 1.0 (Produced by PhpWiki 1.3.7pre) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; pagename=PhpWikiAdministration; + pgsrc_version="2 $Revision$"; flags=PAGE_LOCKED; - pgsrc_version="4 $Revision$"; markup=2; charset=iso-8859-1 Content-Transfer-Encoding: binary -__Note__: Most of the actions on this page require administrative +_*Note:*_ _Most of the actions on this page require administrative privileges. They won't work unless you have set an admin username and -password in the PhpWiki config file. +password in the PhpWiki config file._ ---------- +!!! #[Contents|top] +* [Cleanup|#Cleanup] +* [Making Snapshots or Backups|#Making Snapshots or Backups] +* [Restoring|#Restoring] +* [Format of the files|#Format of the files] +* [Dump pages as XHTML|#Dump pages as XHTML] +* [PhpWiki Internals|#PhpWiki Internals] -!! Cleanup +---- +!!! #[Cleanup|#top] A Wiki SandBox is very easy to clean. Here you can restore it to -pristine condition by loading the default from pgsrc: +pristine condition by loading the default from pgsrc. -[ Rake the SandBox | phpwiki:?action=loadfile&source=pgsrc/SandBox ]. + [Rake the SandBox|phpwiki:?action=loadfile&source=pgsrc/SandBox]. -[/Remove] multiple pages. + [/Remove] multiple pages. ---------- -!! Making Snapshots or Backups +!!! #[Making Snapshots or Backups] -! ZIP files of database +!! ZIP files of database These links lead to zip files, generated on the fly, which contain all @@ -35,20 +43,19 @@ the pages in your Wiki. The zip file wi computer. -This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the latest -versions of each page, while this -__[ZIP Dump | phpwiki:?action=zip&include=all]__ contains all archived -versions. + This __[ZIP Snapshot | phpwiki:?action=zip]__ contains only the + latest versions of each page, while this __[ZIP Dump | + phpwiki:?action=zip&include=all]__ contains all archived versions. -(If the PhpWiki is configured to allow it,) anyone can download a zip -file. + (If the PhpWiki is configured to allow it, anyone can download a zip + file.) If your php has ''zlib'' support, the files in the archive will be compressed, otherwise they will just be stored. -! Dump to directory +!! Dump to directory Here you can dump pages of your Wiki into a directory of your choice. -<?plugin WikiForm action=dumpserial?> + <?plugin WikiForm action=dumpserial?> The most recent version of each page will written out to the @@ -57,5 +64,5 @@ to the directory! ----------- -!! Restoring +!!! #[Restoring] If you have dumped a set of pages from PhpWiki, you can reload them @@ -66,43 +73,44 @@ just delete the pages from the directory want to load. -! Upload File +!! Upload File Here you can upload ZIP archives, or individual files from your (client) machine. -<?plugin WikiForm action=upload?> + <?plugin WikiForm action=upload?> -! Load File +!! Load File Here you can load ZIP archives, individual files or entire -directories. The file or directory must be local to the http server. -You can also use this form to load from an http: or ftp: URL. +directories. The file or directory must be local to the http +server. You can also use this form to load from an http: or ftp: URL. -<?plugin WikiForm action=loadfile?> + <?plugin WikiForm action=loadfile?> ----------- -!! Format of the files +!!! #[Format of the files] Currently the pages are stored, one per file, as MIME (RFC:2045) e-mail (RFC:822) messages. The content-type ''application/x-phpwiki'' -is used, and page meta-data is encoded in the content-type parameters. -(If the file contains several versions of a page, it will have type -''multipart/mixed'', and contain several sub-parts, each with type -''application/x-phpwiki''.) The message body contains the page text. +is used, and page meta-data is encoded in the content-type +parameters. (If the file contains several versions of a page, it will +have type ''multipart/mixed'', and contain several sub-parts, each +with type ''application/x-phpwiki''.) The message body contains the +page text. -! Old Formats +!! Old Formats __Serialized Files__ -The dump to directory command used to dump the pages as PHP -''serialized()'' strings. For humans, this made the files very hard -to read, and nearly impossible to edit. + The dump to directory command used to dump the pages as PHP + ''serialized()'' strings. For humans, this made the files very hard + to read, and nearly impossible to edit. __Plain Files__ -Before that the page text was just dumped to a file--this means that -all page meta-data was lost. Note that when loading ''plain files'', -the page name is deduced from the file name. + Before that the page text was just dumped to a file--this means that + all page meta-data was lost. Note that when loading ''plain files'', + the page name is deduced from the file name. The upload and load functions will automatically recognize each of @@ -111,6 +119,7 @@ these three types of files, and handle t ---- -!! Dump pages as XHTML -<?plugin WikiForm action=dumphtml?> +!!! #[Dump pages as XHTML] + + <?plugin WikiForm action=dumphtml?> This will generate a directory of static pages suitable for @@ -119,33 +128,44 @@ links for page editing functions and nav pages. -The XHTML file collection can also be downloaded as an -__[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]__. + The XHTML file collection can also be downloaded as an + __[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]__. ---- -!! PhpWiki Internals +!!! #[|PhpWiki Internals][PhpWiki Internals|#top] -These are here mostly for debugging purposes (at least, that's the hope.) +These are here mostly for debugging purposes (at least, that's the +hope.) In normal use, you shouldn't need to use these, though, then again, they shouldn't really do any harm. -Purge Markup Cache | - (If your wiki is so configured,) the transformed (almost-HTML) content - of the most recent version of each page is cached. This speeds up page - rendering since parsing of the wiki-text takes a fair amount of juice. +!! Purge Markup Cache - Hitting this button will delete all cached transformed content. - (Each pages content will be transformed and re-cached next time someone - views it.) +(If your wiki is so configured,) the transformed (almost-HTML) content +of the most recent version of each page is cached. This speeds up page +rendering since parsing of the wiki-text takes a fair amount of juice. - <?plugin WikiAdminUtils action=purge-cache label="Purge Cache" ?> + Hitting this button will delete all cached transformed + content. (Each pages content will be transformed and re-cached next + time someone views it.) -Clean WikiDB of Illegal Filenames | - Page names beginning with the subpage-separator --- usually a slash (=/=) --- - are not allowed. Sometimes though an errant plugin or something might - create one... This button will delete any pages with illegal page names. + <?plugin WikiAdminUtils + action=purge-cache + label="Purge Cache" + ?> - <?plugin WikiAdminUtils action=purge-bad-pagenames label="Exorcise WikiDB" ?> +!! Clean WikiDB of Illegal Filenames + +Page names beginning with the subpage-separator, usually a slash +(=/=), are not allowed. Sometimes though an errant plugin or something +might create one.... + + This button will delete any pages with illegal page names. + + <?plugin WikiAdminUtils + action=purge-bad-pagenames + label="Exorcise WikiDB" + ?> ----