YaWiki is "yet another wiki" for PHP. While YaWiki was originally designed for collaborative documentation efforts, it also serves nicely as site framework and content management system; sites such as Yawp and Solar use YaWiki and a custom theme.

The change notes for this release of YaWiki are:

  • Schema Change: Added a column to the "yacs" table ("yet another comment system" ;-). Run the "docs/MIGRATE_021_022" SQL code against your database, otherwise comments won't post properly.
  • Now requires Savant 2.4.0, as the default theme templates make extensive use of Savant2::_() to help automate output escaping.
  • Fixed bug in search template noted by David Coallier and reported by Davey Shafik. Thanks, guys.
  • Comment submission now redirects to the same page as the comment was posted on; previously, overzealous application of htmlspecialchars() interfered with proper redirection, sending the commenter to the HomePage for the area.
  • Comment submission now captures the commenter's IP number.
  • Comments are now deletable by the page administrator, not just the area administrator.

When Marcus Whitney interviewed me last week for Pro-PHP (hey Marcus, when's that one coming online?) he asked about some YaWiki technical highlights. I gave perhaps too quick an answer; here's a more-full one from the YaWiki site itself:

  • Uses the Yawp foundation for PHP applications.
  • Built from PEAR and PEAR-compliant objects such as...
  • Database abstracted with DB_Table; works on most anything from MySQL to Oracle, and self-installs the database tables
  • RSS feeds for page content changes (all pages in all areas, all pages in one area, or one page in one area)
  • Has a special AreaMap page that lets you define a page hierarchy for navigation elements
  • Supports separate name spaces (called "areas") in one installation
  • Supports anonymous users and user authentication
  • An access control list that lets the wiki administrator control who can edit and view individual pages in each area
  • A comment system for users who are not allowed to edit pages directly
  • Theme-aware (build your own look and feel) using the Savant template system
Are you stuck with a legacy PHP application? You should buy my book because it gives you a step-by-step guide to improving you codebase, all while keeping it running the whole time.