Collect small scraps of PHP code that would be useful as part of the Wiki software and list them here.
For the editor
EXPERIMENT TO RUN: A two-pane window, textarea on top, iframe at bottom. Bottom frame contains a dropdown list of the plugins in the "edit" folder on the server (PHP files other than "index.php"). Selecting a plugin and clicking a RUN button sends the textarea contents to the plugin; the output appears in an iframe below the dropdown. Plugins include:
- "pasteboard" (which puts up a textarea of its own and has Javascript to autosave the pasteboard after you make changes)
- "preview"
- "HTML_helper" (you copy lines into the plugin's textarea and click a button to make the lines into a table, paragraphs, a blockquote, a list, etc.; might also convert simple Wiki-like markup into HTML tags)