Recent Changes · Search:
 

Steps required to install the Wiki Farm modification into an existing PmWiki installation. This is a work-in-progress

The Wiki Farm recipe consists of the following directories:

  • local/wikifarm-config/ is the scripts required to run the farm
  • wikilib.d/ is a set of default farm pages
  • wikifarm/ is a template based on the standard PmWiki skin
  • local/wikifarm/ includes a sample field configuration file
  • PmWiki.Wiki Farm is a page describing the farm model

  1. Download the Wiki Farm scripts: fieldlist.php, fieldname.php, fieldconf.php, fieldsetup.php, fieldcust.php and sharedgroups.php. Copy wikifarm-config/ into local/.
  2. Add include statements to load them from local/config.php, in the order listed above. The wikifarm-pre.php and wikifarm-post.php scripts include the right scripts in the right order.
  3. chmod 02777 your PmWiki directory.
  4. Access the wiki once. The wikifarm/ directory will be created. After this you may reset the permissions of your PmWiki directory.
  5. Copy the wikifarm/ directory into pub/skins/
  6. Copy the wikilib.d/ directory that comes with Wiki Farm into the wikifarm/ directory. This includes a set of Main pages and the PmWiki Quick Reference? pages, which are needed by the upload and edit screens.
  7. Copy the wikifarm/ directory into local/. This is where $Field.config.php, $Field.$Group.php and $Field.$Group.$Page.php configuration files go.
  8. Copy PmWiki.Wiki Farm into the main wikilib.d/ and edit and save it — that way, it won’t get over-written next time you do a PmWiki upgrade
  9. Using the normal PmWiki web interface, create a page called Main.Wiki Farm?. In it, add a bullet list of links to fields that you want to create. Only fields linked to by this page will exist in the Wiki Farm.
  10. Optionally, add a bullet list of links to the homepages of groups that you wish to be shared among all fields. By default, a new farm shares Profiles and PmWiki. If you want to share other groups, you don’t need to include Profiles and PmWiki in the list.

This has been implemented.

All Recent Changes

Edit SideBar

Note style of sidebar (eg right justify) overrides formatting such as bullets and small specifed here, this could be considered buggy

ShareAlike Licence

Edit · History · Print · Recent Changes · Search · Links
Page last modified on 01 November 2006, at 04:07 PM