_cached_html |
transformedtext Object
(
[_type] => pagetype_wikitext Object
(
)
[_basepage] => PhpWikiAdministration
[_content] => Array
(
[0] => <div class="wikitext"><p class="tightenable top"><strong>Note</strong>: 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
[1] => cached_wikilink Object
(
[_page] => PhpWiki
)
[2] => config file.</p>
<hr />
<h3>Cleanup</h3>
<p class="tightenable">A Wiki
[3] => cached_wikilink Object
(
[_page] => SandBox
)
[4] => is very easy to clean. Here you can restore it to
pristine condition by loading the default from pgsrc:</p>
<p class="tightenable">
[5] => cached_phpwikiurl Object
(
[_url] => phpwiki:?action=loadfile&source=pgsrc/SandBox
[_label] => Rake the SandBox
)
[6] => .</p>
<p class="tightenable">
[7] => cached_wikilink Object
(
[_page] => /Remove
)
[8] => multiple pages.</p>
<hr />
<h3>Making Snapshots or Backups</h3>
<h4>ZIP files of database</h4>
<p class="tightenable">These links lead to zip files, generated on the fly, which contain all
the pages in your Wiki. The zip file will be downloaded to your local
computer.</p>
<p class="tightenable">This <strong>
[9] => cached_phpwikiurl Object
(
[_url] => phpwiki:?action=zip
[_label] => ZIP Snapshot
)
[10] => </strong> contains only the latest
versions of each page, while this
<strong>
[11] => cached_phpwikiurl Object
(
[_url] => phpwiki:?action=zip&include=all
[_label] => ZIP Dump
)
[12] => </strong> contains all archived
versions.</p>
<p class="tightenable">(If the
[13] => cached_wikilink Object
(
[_page] => PhpWiki
)
[14] => is configured to allow it,) anyone can download a zip
file.</p>
<p class="tightenable">If your php has <em>zlib</em> support, the files in the archive will be
compressed, otherwise they will just be stored.</p>
<h4>Dump to directory</h4>
<p class="tightenable">Here you can dump pages of your Wiki into a directory of your choice.</p>
[15] => cached_plugininvocation Object
(
[_pi] => <?plugin WikiForm action=dumpserial?>
[_tightenable] => 0
)
[16] => <p class="tightenable">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!</p>
<hr />
<h3>Restoring</h3>
<p class="tightenable">If you have dumped a set of pages from
[17] => cached_wikilink Object
(
[_page] => PhpWiki
)
[18] => , you can reload them
here. Note that pages in your database will be overwritten; thus, if
you dumped your
[19] => cached_wikilink Object
(
[_page] => HomePage
)
[20] => when you load it from this form it will
overwrite the one in your database now. If you want to be selective
just delete the pages from the directory (or zip file) which you don't
want to load.</p>
<h4>Upload File</h4>
<p class="tightenable">Here you can upload ZIP archives, or individual files from your
(client) machine.</p>
[21] => cached_plugininvocation Object
(
[_pi] => <?plugin WikiForm action=upload?>
[_tightenable] => 0
)
[22] => <h4>Load File</h4>
<p class="tightenable">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.</p>
[23] => cached_plugininvocation Object
(
[_pi] => <?plugin WikiForm action=loadfile?>
[_tightenable] => 0
)
[24] => <hr />
<h3>Format of the files</h3>
<p class="tightenable">Currently the pages are stored, one per file, as MIME (
[25] => cached_interwikilink Object
(
[_link] => RFC:2045
)
[26] => )
e-mail (
[27] => cached_interwikilink Object
(
[_link] => RFC:822
)
[28] => ) messages. The content-type <em>application/x-phpwiki</em>
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
<em>multipart/mixed</em>, and contain several sub-parts, each with type
<em>application/x-phpwiki</em>.) The message body contains the page text.</p>
<h4>Old Formats</h4>
<p class="tightenable"><strong>Serialized Files</strong></p>
<p class="tightenable">The dump to directory command used to dump the pages as PHP
<em>serialized()</em> strings. For humans, this made the files very hard
to read, and nearly impossible to edit.</p>
<p class="tightenable"><strong>Plain Files</strong></p>
<p class="tightenable">Before that the page text was just dumped to a file--this means that
all page meta-data was lost. Note that when loading <em>plain files</em>,
the page name is deduced from the file name.</p>
<p class="tightenable">The upload and load functions will automatically recognize each of
these three types of files, and handle them accordingly.</p>
<hr />
<h3>Dump pages as XHTML</h3>
[29] => cached_plugininvocation Object
(
[_pi] => <?plugin WikiForm action=dumphtml?>
[_tightenable] => 1
)
[30] => <p class="tightenable">This will generate a directory of static pages suitable for
distribution on disk where no web server is available. The various
links for page editing functions and navigation are removed from the
pages.</p>
<p class="tightenable">The XHTML file collection can also be downloaded as an
<strong>
[31] => cached_phpwikiurl Object
(
[_url] => phpwiki:?action=ziphtml
[_label] => XHTML ZIP Snapshot
)
[32] => </strong>.</p>
<hr />
<h3>
[33] => cached_wikilink Object
(
[_page] => PhpWiki
)
[34] => Internals</h3>
<p class="tightenable">These are here mostly for debugging purposes (at least, that's the hope.)</p>
<p class="tightenable">In normal use, you shouldn't need to use these, though, then again,
they shouldn't really do any harm.</p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable"><th>Purge Markup Cache</th>
<td><p class="tightenable top">(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.</p>
<p class="tightenable">Hitting this button will delete all cached transformed content.
(Each pages content will be transformed and re-cached next time someone
views it.)</p>
[35] => cached_plugininvocation Object
(
[_pi] => <?plugin WikiAdminUtils action=purge-cache label="Purge Cache" ?>
[_tightenable] => 2
)
[36] => </td>
</tr>
<tr class="tightenable"><th>Clean WikiDB of Illegal Filenames</th>
<td><p class="tightenable top">Page names beginning with the subpage-separator --- usually a slash (<tt>/</tt>) ---
are not allowed. Sometimes though an errant plugin or something might
create one... This button will delete any pages with illegal page names.</p>
[37] => cached_plugininvocation Object
(
[_pi] => <?plugin WikiAdminUtils action=purge-bad-pagenames label="Exorcise WikiDB" ?>
[_tightenable] => 2
)
[38] => </td>
</tr>
</table>
<hr />
<p class="tightenable bottom">
[39] => cached_wikilink Object
(
[_page] => PhpWikiDocumentation
)
[40] => </p>
</div>
)
[_description] => 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.
)
|