Detailed view of a page, which is probably more useful for debugging than anything else.
get_pagedata('PhpWikiAdministration') | |
_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 /> <p class="tightenable"> [33] => cached_wikilink Object ( [_page] => PhpWikiDocumentation ) [34] => </p> <hr /> <p class="tightenable"> [35] => cached_wikilink Object ( [_page] => A Beginning ) [36] => </p> <p class="tightenable bottom"> [37] => cached_wikilink Object ( [_page] => Templates ) [38] => [39] => cached_wikilink Object ( [_page] => ThesisProposals ) [40] => [41] => cached_wikilink Object ( [_page] => Php Wiki Information ) [42] => </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. ) |
hits | 77 |
locked | yes |
get_versiondata('PhpWikiAdministration',4) | |
%content | __Note__: Most of the actions on this pa ... |
author | tracy |
author_id | tracy |
is_minor_edit | 1 |
markup | 2 |
mtime | 1153376347 |
pagetype | wikitext |
get_versiondata('PhpWikiAdministration',3) | |
%content | __Note__: Most of the actions on this pa ... |
_supplanted | 1153376347 |
author | tracy |
author_id | tracy |
is_minor_edit | 1 |
markup | 2 |
mtime | 1153376334 |
pagetype | wikitext |
get_versiondata('PhpWikiAdministration',2) | |
%content | __Note__: Most of the actions on this pa ... |
_supplanted | 1153376334 |
author | tracy |
author_id | tracy |
markup | 2 |
mtime | 1152849774 |
pagetype | wikitext |
get_versiondata('PhpWikiAdministration',1) | |
%content | __Note__: Most of the actions on this pa ... |
_supplanted | 1152849774 |
author | The PhpWiki programming team |
author_id | The PhpWiki programming team |
markup | 2 |
mtime | 1084932776 |
lib/Template.php:112: Notice[8]: Only variables should be assigned by reference
lib/Template.php:114: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference
lib/CachedMarkup.php (In template 'browse') (In template 'body') (In template 'htmldump'):427: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'browse') (In template 'body') (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'browse') (In template 'body') (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference